| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 InstantCompleteBehavior behavior) OVERRIDE; | 138 InstantCompleteBehavior behavior) OVERRIDE; |
| 139 virtual string16 GetInputString() const OVERRIDE; | 139 virtual string16 GetInputString() const OVERRIDE; |
| 140 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; | 140 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; |
| 141 virtual content::PageTransition GetPageTransition() const OVERRIDE; | 141 virtual content::PageTransition GetPageTransition() const OVERRIDE; |
| 142 virtual void AcceptInput() OVERRIDE; | 142 virtual void AcceptInput() OVERRIDE; |
| 143 virtual void FocusLocation(bool select_all) OVERRIDE; | 143 virtual void FocusLocation(bool select_all) OVERRIDE; |
| 144 virtual void FocusSearch() OVERRIDE; | 144 virtual void FocusSearch() OVERRIDE; |
| 145 virtual void UpdateContentSettingsIcons() OVERRIDE; | 145 virtual void UpdateContentSettingsIcons() OVERRIDE; |
| 146 virtual void UpdatePageActions() OVERRIDE; | 146 virtual void UpdatePageActions() OVERRIDE; |
| 147 virtual void InvalidatePageActions() OVERRIDE; | 147 virtual void InvalidatePageActions() OVERRIDE; |
| 148 virtual void UpdateWebIntentsButton() OVERRIDE; |
| 148 virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; | 149 virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; |
| 149 virtual void Revert() OVERRIDE; | 150 virtual void Revert() OVERRIDE; |
| 150 virtual const OmniboxView* GetLocationEntry() const OVERRIDE; | 151 virtual const OmniboxView* GetLocationEntry() const OVERRIDE; |
| 151 virtual OmniboxView* GetLocationEntry() OVERRIDE; | 152 virtual OmniboxView* GetLocationEntry() OVERRIDE; |
| 152 virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE; | 153 virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE; |
| 153 | 154 |
| 154 // LocationBarTesting: | 155 // LocationBarTesting: |
| 155 virtual int PageActionCount() OVERRIDE; | 156 virtual int PageActionCount() OVERRIDE; |
| 156 virtual int PageActionVisibleCount() OVERRIDE; | 157 virtual int PageActionVisibleCount() OVERRIDE; |
| 157 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; | 158 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 ui::OwnedWidgetGtk content_setting_hbox_; | 456 ui::OwnedWidgetGtk content_setting_hbox_; |
| 456 ScopedVector<PageToolViewGtk> content_setting_views_; | 457 ScopedVector<PageToolViewGtk> content_setting_views_; |
| 457 | 458 |
| 458 // Extension page actions. | 459 // Extension page actions. |
| 459 std::vector<ExtensionAction*> page_actions_; | 460 std::vector<ExtensionAction*> page_actions_; |
| 460 | 461 |
| 461 // Extension page action icons. | 462 // Extension page action icons. |
| 462 ui::OwnedWidgetGtk page_action_hbox_; | 463 ui::OwnedWidgetGtk page_action_hbox_; |
| 463 ScopedVector<PageActionViewGtk> page_action_views_; | 464 ScopedVector<PageActionViewGtk> page_action_views_; |
| 464 | 465 |
| 466 // Control for web intents window disposition picker control. |
| 467 ui::OwnedWidgetGtk web_intents_hbox_; |
| 468 scoped_ptr<PageToolViewGtk> web_intents_button_view_; |
| 469 |
| 465 // The widget that contains our tab hints and the location bar. | 470 // The widget that contains our tab hints and the location bar. |
| 466 GtkWidget* entry_box_; | 471 GtkWidget* entry_box_; |
| 467 | 472 |
| 468 // Area on the left shown when in tab to search mode. | 473 // Area on the left shown when in tab to search mode. |
| 469 GtkWidget* tab_to_search_alignment_; | 474 GtkWidget* tab_to_search_alignment_; |
| 470 GtkWidget* tab_to_search_box_; | 475 GtkWidget* tab_to_search_box_; |
| 471 GtkWidget* tab_to_search_magnifier_; | 476 GtkWidget* tab_to_search_magnifier_; |
| 472 GtkWidget* tab_to_search_full_label_; | 477 GtkWidget* tab_to_search_full_label_; |
| 473 GtkWidget* tab_to_search_partial_label_; | 478 GtkWidget* tab_to_search_partial_label_; |
| 474 | 479 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 BooleanPrefMember edit_bookmarks_enabled_; | 537 BooleanPrefMember edit_bookmarks_enabled_; |
| 533 | 538 |
| 534 // Used to remember the URL and title text when drag&drop has begun. | 539 // Used to remember the URL and title text when drag&drop has begun. |
| 535 GURL drag_url_; | 540 GURL drag_url_; |
| 536 string16 drag_title_; | 541 string16 drag_title_; |
| 537 | 542 |
| 538 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); | 543 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); |
| 539 }; | 544 }; |
| 540 | 545 |
| 541 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 546 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| OLD | NEW |