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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 virtual string16 GetInputString() const OVERRIDE; | 128 virtual string16 GetInputString() const OVERRIDE; |
129 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; | 129 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; |
130 virtual content::PageTransition GetPageTransition() const OVERRIDE; | 130 virtual content::PageTransition GetPageTransition() const OVERRIDE; |
131 virtual void AcceptInput() OVERRIDE; | 131 virtual void AcceptInput() OVERRIDE; |
132 virtual void FocusLocation(bool select_all) OVERRIDE; | 132 virtual void FocusLocation(bool select_all) OVERRIDE; |
133 virtual void FocusSearch() OVERRIDE; | 133 virtual void FocusSearch() OVERRIDE; |
134 virtual void UpdateContentSettingsIcons() OVERRIDE; | 134 virtual void UpdateContentSettingsIcons() OVERRIDE; |
135 virtual void UpdatePageActions() OVERRIDE; | 135 virtual void UpdatePageActions() OVERRIDE; |
136 virtual void InvalidatePageActions() OVERRIDE; | 136 virtual void InvalidatePageActions() OVERRIDE; |
137 virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE; | 137 virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE; |
138 virtual void UpdateAutofillCreditCardView() OVERRIDE; | 138 virtual void UpdateGeneratedCreditCardView() OVERRIDE; |
139 virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; | 139 virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; |
140 virtual void Revert() OVERRIDE; | 140 virtual void Revert() OVERRIDE; |
141 virtual const OmniboxView* GetLocationEntry() const OVERRIDE; | 141 virtual const OmniboxView* GetLocationEntry() const OVERRIDE; |
142 virtual OmniboxView* GetLocationEntry() OVERRIDE; | 142 virtual OmniboxView* GetLocationEntry() OVERRIDE; |
143 virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE; | 143 virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE; |
144 | 144 |
145 // LocationBarTesting: | 145 // LocationBarTesting: |
146 virtual int PageActionCount() OVERRIDE; | 146 virtual int PageActionCount() OVERRIDE; |
147 virtual int PageActionVisibleCount() OVERRIDE; | 147 virtual int PageActionVisibleCount() OVERRIDE; |
148 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; | 148 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 BooleanPrefMember edit_bookmarks_enabled_; | 528 BooleanPrefMember edit_bookmarks_enabled_; |
529 | 529 |
530 // 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. |
531 GURL drag_url_; | 531 GURL drag_url_; |
532 string16 drag_title_; | 532 string16 drag_title_; |
533 | 533 |
534 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); | 534 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); |
535 }; | 535 }; |
536 | 536 |
537 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 537 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
OLD | NEW |