Summary: | [GTK] Add a statusbar to MiniBrowser | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca | ||||
Priority: | P2 | Keywords: | Gtk | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Carlos Garcia Campos
2011-06-14 07:41:25 PDT
Created attachment 97118 [details]
Patch
Comment on attachment 97118 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=97118&action=review Looks good, but please make the following changes before landing. > Tools/MiniBrowser/gtk/BrowserWindow.c:47 > GtkWidget* mainBox; > GtkWidget* uriEntry; > + GtkWidget *statusBar; > WKViewRef webView; > > + guint statusBarContextId; > + > gchar* title; > gdouble loadProgress; Do you mind cleaning up the rest of this section as well since you're touching it? > Tools/MiniBrowser/gtk/WebBundle/WebBundleMain.c:35 > +static void mouseDidMoveOverElement(WKBundlePageRef page, WKBundleHitTestResultRef hitTestResult, WKEventModifiers modifiers, WKTypeRef* userData, const void *clientInfo) The asterisk on WKTypeRef should be on userData. > Tools/MiniBrowser/gtk/main.c:32 > +WKContextRef processContext; This could be local and passed as an argument to addInjectedBundleToContext. > Tools/MiniBrowser/gtk/main.c:35 > +static void initContext() I'd prefer this to be called something like addInjectedBundleToContext. Committed r88912: <http://trac.webkit.org/changeset/88912> |