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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 const InstantSuggestion& suggestion) OVERRIDE; | 133 const InstantSuggestion& suggestion) OVERRIDE; |
134 virtual string16 GetInputString() const OVERRIDE; | 134 virtual string16 GetInputString() const OVERRIDE; |
135 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; | 135 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; |
136 virtual content::PageTransition GetPageTransition() const OVERRIDE; | 136 virtual content::PageTransition GetPageTransition() const OVERRIDE; |
137 virtual void AcceptInput() OVERRIDE; | 137 virtual void AcceptInput() OVERRIDE; |
138 virtual void FocusLocation(bool select_all) OVERRIDE; | 138 virtual void FocusLocation(bool select_all) OVERRIDE; |
139 virtual void FocusSearch() OVERRIDE; | 139 virtual void FocusSearch() OVERRIDE; |
140 virtual void UpdateContentSettingsIcons() OVERRIDE; | 140 virtual void UpdateContentSettingsIcons() OVERRIDE; |
141 virtual void UpdatePageActions() OVERRIDE; | 141 virtual void UpdatePageActions() OVERRIDE; |
142 virtual void InvalidatePageActions() OVERRIDE; | 142 virtual void InvalidatePageActions() OVERRIDE; |
| 143 #if defined(ENABLE_WEB_INTENTS) |
143 virtual void UpdateWebIntentsButton() OVERRIDE; | 144 virtual void UpdateWebIntentsButton() OVERRIDE; |
| 145 #endif |
144 virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE; | 146 virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE; |
145 virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; | 147 virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; |
146 virtual void Revert() OVERRIDE; | 148 virtual void Revert() OVERRIDE; |
147 virtual const OmniboxView* GetLocationEntry() const OVERRIDE; | 149 virtual const OmniboxView* GetLocationEntry() const OVERRIDE; |
148 virtual OmniboxView* GetLocationEntry() OVERRIDE; | 150 virtual OmniboxView* GetLocationEntry() OVERRIDE; |
149 virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE; | 151 virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE; |
150 | 152 |
151 // LocationBarTesting: | 153 // LocationBarTesting: |
152 virtual int PageActionCount() OVERRIDE; | 154 virtual int PageActionCount() OVERRIDE; |
153 virtual int PageActionVisibleCount() OVERRIDE; | 155 virtual int PageActionVisibleCount() OVERRIDE; |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 BooleanPrefMember edit_bookmarks_enabled_; | 543 BooleanPrefMember edit_bookmarks_enabled_; |
542 | 544 |
543 // Used to remember the URL and title text when drag&drop has begun. | 545 // Used to remember the URL and title text when drag&drop has begun. |
544 GURL drag_url_; | 546 GURL drag_url_; |
545 string16 drag_title_; | 547 string16 drag_title_; |
546 | 548 |
547 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); | 549 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); |
548 }; | 550 }; |
549 | 551 |
550 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 552 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
OLD | NEW |