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

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

Issue 3056003: Attemp 2 at: (Closed)
Patch Set: Fix chromeos breakage Created 10 years, 5 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
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.h ('k') | chrome/browser/gtk/tabs/tab_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GTK_LOCATION_BAR_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_
6 #define CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ 6 #define CHROME_BROWSER_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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 virtual void UpdatePageActions(); 107 virtual void UpdatePageActions();
108 virtual void InvalidatePageActions(); 108 virtual void InvalidatePageActions();
109 virtual void SaveStateToContents(TabContents* contents); 109 virtual void SaveStateToContents(TabContents* contents);
110 virtual void Revert(); 110 virtual void Revert();
111 virtual const AutocompleteEditView* location_entry() const { 111 virtual const AutocompleteEditView* location_entry() const {
112 return location_entry_.get(); 112 return location_entry_.get();
113 } 113 }
114 virtual AutocompleteEditView* location_entry() { 114 virtual AutocompleteEditView* location_entry() {
115 return location_entry_.get(); 115 return location_entry_.get();
116 } 116 }
117 virtual void PushForceHidden() {}
118 virtual void PopForceHidden() {}
119 virtual LocationBarTesting* GetLocationBarForTesting() { return this; } 117 virtual LocationBarTesting* GetLocationBarForTesting() { return this; }
120 118
121 // Implement the LocationBarTesting interface. 119 // Implement the LocationBarTesting interface.
122 virtual int PageActionCount() { return page_action_views_.size(); } 120 virtual int PageActionCount() { return page_action_views_.size(); }
123 virtual int PageActionVisibleCount(); 121 virtual int PageActionVisibleCount();
124 virtual ExtensionAction* GetPageAction(size_t index); 122 virtual ExtensionAction* GetPageAction(size_t index);
125 virtual ExtensionAction* GetVisiblePageAction(size_t index); 123 virtual ExtensionAction* GetVisiblePageAction(size_t index);
126 virtual void TestPageActionPressed(size_t index); 124 virtual void TestPageActionPressed(size_t index);
127 125
128 // Implement the NotificationObserver interface. 126 // Implement the NotificationObserver interface.
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 // Indicate if |tab_to_search_hint_| should be shown. 416 // Indicate if |tab_to_search_hint_| should be shown.
419 bool show_keyword_hint_; 417 bool show_keyword_hint_;
420 418
421 // The last search keyword that was shown via the |tab_to_search_box_|. 419 // The last search keyword that was shown via the |tab_to_search_box_|.
422 std::wstring last_keyword_; 420 std::wstring last_keyword_;
423 421
424 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); 422 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk);
425 }; 423 };
426 424
427 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ 425 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.h ('k') | chrome/browser/gtk/tabs/tab_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698