summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/location_bar_view_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/location_bar_view_gtk.h')
-rw-r--r--chrome/browser/gtk/location_bar_view_gtk.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/gtk/location_bar_view_gtk.h b/chrome/browser/gtk/location_bar_view_gtk.h
index aa4866e..c60d463 100644
--- a/chrome/browser/gtk/location_bar_view_gtk.h
+++ b/chrome/browser/gtk/location_bar_view_gtk.h
@@ -46,10 +46,6 @@ class LocationBarViewGtk : public AutocompleteEditController,
// restore saved state that the tab holds.
void Update(const TabContents* tab_for_state_restoring);
- AutocompleteEditView* location_entry() {
- return location_entry_.get();
- }
-
// Implement the AutocompleteEditController interface.
virtual void OnAutocompleteAccept(const GURL& url,
WindowOpenDisposition disposition,
@@ -72,6 +68,9 @@ class LocationBarViewGtk : public AutocompleteEditController,
virtual void UpdatePageActions();
virtual void SaveStateToContents(TabContents* contents);
virtual void Revert();
+ virtual AutocompleteEditView* location_entry() {
+ return location_entry_.get();
+ }
// Translation between a security level and the background color. Both the
// location bar and edit have to manage and match the background color.