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

Unified Diff: chrome/browser/ui/cocoa/extensions/browser_actions_controller.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/extensions/browser_actions_controller.h
diff --git a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.h b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.h
index 02a26d949d2ea879e55ad6583c6841c81d07e7d4..59001cd1bded8ff0dc1fad49b3b68a08be58def5 100644
--- a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.h
+++ b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.h
@@ -14,7 +14,6 @@
class Browser;
@class BrowserActionButton;
@class BrowserActionsContainerView;
-class Extension;
@class ExtensionPopupController;
class ExtensionToolbarModel;
class ExtensionServiceObserverBridge;
@@ -22,6 +21,10 @@ class ExtensionServiceObserverBridge;
class PrefService;
class Profile;
+namespace extensions {
+class Extension;
+}
+
// Sent when the visibility of the Browser Actions changes.
extern NSString* const kBrowserActionVisibilityChangedNotification;
@@ -88,7 +91,8 @@ extern NSString* const kBrowserActionVisibilityChangedNotification;
- (void)resizeContainerAndAnimate:(BOOL)animate;
// Returns the NSView for the action button associated with an extension.
-- (NSView*)browserActionViewForExtension:(const Extension*)extension;
+- (NSView*)browserActionViewForExtension:(
+ const extensions::Extension*)extension;
// Returns the saved width determined by the number of shown Browser Actions
// preference property. If no preference is found, then the width for the
@@ -98,7 +102,7 @@ extern NSString* const kBrowserActionVisibilityChangedNotification;
// Returns where the popup arrow should point to for a given Browser Action. If
// it is passed an extension that is not a Browser Action, then it will return
// NSZeroPoint.
-- (NSPoint)popupPointForBrowserAction:(const Extension*)extension;
+- (NSPoint)popupPointForBrowserAction:(const extensions::Extension*)extension;
// Returns whether the chevron button is currently hidden or in the process of
// being hidden (fading out). Will return NO if it is not hidden or is in the

Powered by Google App Engine
This is Rietveld 408576698