Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(421)

Side by Side Diff: chrome/browser/ui/gtk/location_bar_view_gtk.h

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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)
144 virtual void UpdateWebIntentsButton() OVERRIDE;
145 #endif
146 virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE; 143 virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE;
147 virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; 144 virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE;
148 virtual void Revert() OVERRIDE; 145 virtual void Revert() OVERRIDE;
149 virtual const OmniboxView* GetLocationEntry() const OVERRIDE; 146 virtual const OmniboxView* GetLocationEntry() const OVERRIDE;
150 virtual OmniboxView* GetLocationEntry() OVERRIDE; 147 virtual OmniboxView* GetLocationEntry() OVERRIDE;
151 virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE; 148 virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE;
152 149
153 // LocationBarTesting: 150 // LocationBarTesting:
154 virtual int PageActionCount() OVERRIDE; 151 virtual int PageActionCount() OVERRIDE;
155 virtual int PageActionVisibleCount() OVERRIDE; 152 virtual int PageActionVisibleCount() OVERRIDE;
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 ui::OwnedWidgetGtk content_setting_hbox_; 459 ui::OwnedWidgetGtk content_setting_hbox_;
463 ScopedVector<PageToolViewGtk> content_setting_views_; 460 ScopedVector<PageToolViewGtk> content_setting_views_;
464 461
465 // Extension page actions. 462 // Extension page actions.
466 std::vector<ExtensionAction*> page_actions_; 463 std::vector<ExtensionAction*> page_actions_;
467 464
468 // Extension page action icons. 465 // Extension page action icons.
469 ui::OwnedWidgetGtk page_action_hbox_; 466 ui::OwnedWidgetGtk page_action_hbox_;
470 ScopedVector<PageActionViewGtk> page_action_views_; 467 ScopedVector<PageActionViewGtk> page_action_views_;
471 468
472 #if defined(ENABLE_WEB_INTENTS)
473 // Control for web intents window disposition picker control.
474 ui::OwnedWidgetGtk web_intents_hbox_;
475 scoped_ptr<PageToolViewGtk> web_intents_button_view_;
476 #endif
477
478 // The widget that contains our tab hints and the location bar. 469 // The widget that contains our tab hints and the location bar.
479 GtkWidget* entry_box_; 470 GtkWidget* entry_box_;
480 471
481 // Area on the left shown when in tab to search mode. 472 // Area on the left shown when in tab to search mode.
482 GtkWidget* tab_to_search_alignment_; 473 GtkWidget* tab_to_search_alignment_;
483 GtkWidget* tab_to_search_box_; 474 GtkWidget* tab_to_search_box_;
484 GtkWidget* tab_to_search_magnifier_; 475 GtkWidget* tab_to_search_magnifier_;
485 GtkWidget* tab_to_search_full_label_; 476 GtkWidget* tab_to_search_full_label_;
486 GtkWidget* tab_to_search_partial_label_; 477 GtkWidget* tab_to_search_partial_label_;
487 478
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 BooleanPrefMember edit_bookmarks_enabled_; 536 BooleanPrefMember edit_bookmarks_enabled_;
546 537
547 // Used to remember the URL and title text when drag&drop has begun. 538 // Used to remember the URL and title text when drag&drop has begun.
548 GURL drag_url_; 539 GURL drag_url_;
549 string16 drag_title_; 540 string16 drag_title_;
550 541
551 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); 542 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk);
552 }; 543 };
553 544
554 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ 545 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/extensions/shell_window.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698