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

Side by Side Diff: chrome/browser/cocoa/location_bar/location_bar_view_mac.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/cocoa/browser_window_cocoa.h ('k') | chrome/browser/cocoa/tab_controller.mm » ('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_COCOA_LOCATION_BAR_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_COCOA_LOCATION_BAR_VIEW_MAC_H_
6 #define CHROME_BROWSER_COCOA_LOCATION_BAR_VIEW_MAC_H_ 6 #define CHROME_BROWSER_COCOA_LOCATION_BAR_VIEW_MAC_H_
7 7
8 #include <string> 8 #include <string>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual void UpdatePageActions(); 65 virtual void UpdatePageActions();
66 virtual void InvalidatePageActions(); 66 virtual void InvalidatePageActions();
67 virtual void SaveStateToContents(TabContents* contents); 67 virtual void SaveStateToContents(TabContents* contents);
68 virtual void Revert(); 68 virtual void Revert();
69 virtual const AutocompleteEditView* location_entry() const { 69 virtual const AutocompleteEditView* location_entry() const {
70 return edit_view_.get(); 70 return edit_view_.get();
71 } 71 }
72 virtual AutocompleteEditView* location_entry() { 72 virtual AutocompleteEditView* location_entry() {
73 return edit_view_.get(); 73 return edit_view_.get();
74 } 74 }
75 virtual void PushForceHidden() {}
76 virtual void PopForceHidden() {}
77 virtual LocationBarTesting* GetLocationBarForTesting() { return this; } 75 virtual LocationBarTesting* GetLocationBarForTesting() { return this; }
78 76
79 // Overridden from LocationBarTesting: 77 // Overridden from LocationBarTesting:
80 virtual int PageActionCount(); 78 virtual int PageActionCount();
81 virtual int PageActionVisibleCount(); 79 virtual int PageActionVisibleCount();
82 virtual ExtensionAction* GetPageAction(size_t index); 80 virtual ExtensionAction* GetPageAction(size_t index);
83 virtual ExtensionAction* GetVisiblePageAction(size_t index); 81 virtual ExtensionAction* GetVisiblePageAction(size_t index);
84 virtual void TestPageActionPressed(size_t index); 82 virtual void TestPageActionPressed(size_t index);
85 83
86 // Set/Get the editable state of the field. 84 // Set/Get the editable state of the field.
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // Used to register for notifications received by NotificationObserver. 203 // Used to register for notifications received by NotificationObserver.
206 NotificationRegistrar registrar_; 204 NotificationRegistrar registrar_;
207 205
208 // Used to schedule a task for the first run info bubble. 206 // Used to schedule a task for the first run info bubble.
209 ScopedRunnableMethodFactory<LocationBarViewMac> first_run_bubble_; 207 ScopedRunnableMethodFactory<LocationBarViewMac> first_run_bubble_;
210 208
211 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); 209 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac);
212 }; 210 };
213 211
214 #endif // CHROME_BROWSER_COCOA_LOCATION_BAR_VIEW_MAC_H_ 212 #endif // CHROME_BROWSER_COCOA_LOCATION_BAR_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/browser_window_cocoa.h ('k') | chrome/browser/cocoa/tab_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698