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

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h

Issue 6814029: Revert 80519 - Move favicon from TabContents to TabContentsWrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_COCOA_LOCATION_BAR_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_VIEW_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_VIEW_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 PageTransition::Type transition, 131 PageTransition::Type transition,
132 const GURL& alternate_nav_url); 132 const GURL& alternate_nav_url);
133 virtual void OnChanged(); 133 virtual void OnChanged();
134 virtual void OnSelectionBoundsChanged(); 134 virtual void OnSelectionBoundsChanged();
135 virtual void OnInputInProgress(bool in_progress); 135 virtual void OnInputInProgress(bool in_progress);
136 virtual void OnKillFocus(); 136 virtual void OnKillFocus();
137 virtual void OnSetFocus(); 137 virtual void OnSetFocus();
138 virtual SkBitmap GetFavicon() const; 138 virtual SkBitmap GetFavicon() const;
139 virtual string16 GetTitle() const; 139 virtual string16 GetTitle() const;
140 virtual InstantController* GetInstant(); 140 virtual InstantController* GetInstant();
141 virtual TabContentsWrapper* GetTabContentsWrapper() const; 141 virtual TabContentsWrapper* GetTabContentsWrapper();
142 142
143 NSImage* GetKeywordImage(const string16& keyword); 143 NSImage* GetKeywordImage(const string16& keyword);
144 144
145 AutocompleteTextField* GetAutocompleteTextField() { return field_; } 145 AutocompleteTextField* GetAutocompleteTextField() { return field_; }
146 146
147 147
148 // Overridden from NotificationObserver. 148 // Overridden from NotificationObserver.
149 virtual void Observe(NotificationType type, 149 virtual void Observe(NotificationType type,
150 const NotificationSource& source, 150 const NotificationSource& source,
151 const NotificationDetails& details); 151 const NotificationDetails& details);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 // Used to register for notifications received by NotificationObserver. 218 // Used to register for notifications received by NotificationObserver.
219 NotificationRegistrar registrar_; 219 NotificationRegistrar registrar_;
220 220
221 // Used to schedule a task for the first run info bubble. 221 // Used to schedule a task for the first run info bubble.
222 ScopedRunnableMethodFactory<LocationBarViewMac> first_run_bubble_; 222 ScopedRunnableMethodFactory<LocationBarViewMac> first_run_bubble_;
223 223
224 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); 224 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac);
225 }; 225 };
226 226
227 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_VIEW_MAC_H_ 227 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/hung_renderer_controller.mm ('k') | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698