summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h')
-rw-r--r--chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h b/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h
index 3928488..3c578a7 100644
--- a/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h
+++ b/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h
@@ -30,7 +30,6 @@ class AutocompleteEditController;
class AutocompleteEditModel;
class AutocompletePopupView;
class Profile;
-class TabContents;
namespace gfx {
class Font;
@@ -91,44 +90,33 @@ class OmniboxViewGtk : public OmniboxView,
// OmniboxView:
virtual AutocompleteEditModel* model() OVERRIDE;
virtual const AutocompleteEditModel* model() const OVERRIDE;
-
- virtual void SaveStateToTab(TabContents* tab) OVERRIDE;
-
- virtual void Update(const TabContents* tab_for_state_restoring) OVERRIDE;
-
+ virtual void SaveStateToTab(content::WebContents* tab) OVERRIDE;
+ virtual void Update(
+ const content::WebContents* tab_for_state_restoring) OVERRIDE;
virtual void OpenMatch(const AutocompleteMatch& match,
WindowOpenDisposition disposition,
const GURL& alternate_nav_url,
size_t index,
const string16& keyword) OVERRIDE;
-
virtual string16 GetText() const OVERRIDE;
-
virtual bool IsEditingOrEmpty() const OVERRIDE;
virtual int GetIcon() const OVERRIDE;
-
virtual void SetUserText(const string16& text) OVERRIDE;
virtual void SetUserText(const string16& text,
const string16& display_text,
bool update_popup) OVERRIDE;
-
virtual void SetWindowTextAndCaretPos(const string16& text,
size_t caret_pos) OVERRIDE;
-
virtual void SetForcedQuery() OVERRIDE;
-
virtual bool IsSelectAll() OVERRIDE;
virtual bool DeleteAtEndPressed() OVERRIDE;
virtual void GetSelectionBounds(string16::size_type* start,
string16::size_type* end) const OVERRIDE;
virtual void SelectAll(bool reversed) OVERRIDE;
virtual void RevertAll() OVERRIDE;
-
virtual void UpdatePopup() OVERRIDE;
virtual void ClosePopup() OVERRIDE;
-
virtual void SetFocus() OVERRIDE;
-
virtual void OnTemporaryTextMaybeChanged(
const string16& display_text,
bool save_original_selection) OVERRIDE;