OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 const GURL& alternate_nav_url) OVERRIDE; | 115 const GURL& alternate_nav_url) OVERRIDE; |
116 virtual void OnChanged() OVERRIDE; | 116 virtual void OnChanged() OVERRIDE; |
117 virtual void OnSelectionBoundsChanged() OVERRIDE; | 117 virtual void OnSelectionBoundsChanged() OVERRIDE; |
118 virtual void OnKillFocus() OVERRIDE; | 118 virtual void OnKillFocus() OVERRIDE; |
119 virtual void OnSetFocus() OVERRIDE; | 119 virtual void OnSetFocus() OVERRIDE; |
120 virtual void OnInputInProgress(bool in_progress) OVERRIDE; | 120 virtual void OnInputInProgress(bool in_progress) OVERRIDE; |
121 virtual gfx::Image GetFavicon() const OVERRIDE; | 121 virtual gfx::Image GetFavicon() const OVERRIDE; |
122 virtual string16 GetTitle() const OVERRIDE; | 122 virtual string16 GetTitle() const OVERRIDE; |
123 virtual InstantController* GetInstant() OVERRIDE; | 123 virtual InstantController* GetInstant() OVERRIDE; |
124 virtual content::WebContents* GetWebContents() const OVERRIDE; | 124 virtual content::WebContents* GetWebContents() const OVERRIDE; |
125 virtual gfx::Rect GetOmniboxBounds() const OVERRIDE; | |
126 | 125 |
127 // LocationBar: | 126 // LocationBar: |
128 virtual void ShowFirstRunBubble() OVERRIDE; | 127 virtual void ShowFirstRunBubble() OVERRIDE; |
129 virtual string16 GetInputString() const OVERRIDE; | 128 virtual string16 GetInputString() const OVERRIDE; |
130 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; | 129 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; |
131 virtual content::PageTransition GetPageTransition() const OVERRIDE; | 130 virtual content::PageTransition GetPageTransition() const OVERRIDE; |
132 virtual void AcceptInput() OVERRIDE; | 131 virtual void AcceptInput() OVERRIDE; |
133 virtual void FocusLocation(bool select_all) OVERRIDE; | 132 virtual void FocusLocation(bool select_all) OVERRIDE; |
134 virtual void FocusSearch() OVERRIDE; | 133 virtual void FocusSearch() OVERRIDE; |
135 virtual void UpdateContentSettingsIcons() OVERRIDE; | 134 virtual void UpdateContentSettingsIcons() OVERRIDE; |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 BooleanPrefMember edit_bookmarks_enabled_; | 528 BooleanPrefMember edit_bookmarks_enabled_; |
530 | 529 |
531 // Used to remember the URL and title text when drag&drop has begun. | 530 // Used to remember the URL and title text when drag&drop has begun. |
532 GURL drag_url_; | 531 GURL drag_url_; |
533 string16 drag_title_; | 532 string16 drag_title_; |
534 | 533 |
535 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); | 534 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); |
536 }; | 535 }; |
537 | 536 |
538 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 537 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
OLD | NEW |