| Index: chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm (revision 91880)
|
| +++ chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm (working copy)
|
| @@ -58,7 +58,7 @@
|
| ImageLoadingTracker::DONT_CACHE);
|
| }
|
|
|
| - registrar_.Add(this, NotificationType::EXTENSION_HOST_VIEW_SHOULD_CLOSE,
|
| + registrar_.Add(this, chrome::EXTENSION_HOST_VIEW_SHOULD_CLOSE,
|
| Source<Profile>(profile_));
|
|
|
| // We set the owner last of all so that we can determine whether we are in
|
| @@ -185,7 +185,7 @@
|
| if (IsVisible() != visible) {
|
| SetVisible(visible);
|
| NotificationService::current()->Notify(
|
| - NotificationType::EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED,
|
| + chrome::EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED,
|
| Source<ExtensionAction>(page_action_),
|
| Details<TabContents>(contents));
|
| }
|
| @@ -239,11 +239,11 @@
|
| }
|
|
|
| void PageActionDecoration::Observe(
|
| - NotificationType type,
|
| + int type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| - switch (type.value) {
|
| - case NotificationType::EXTENSION_HOST_VIEW_SHOULD_CLOSE: {
|
| + switch (type) {
|
| + case chrome::EXTENSION_HOST_VIEW_SHOULD_CLOSE: {
|
| ExtensionPopupController* popup = [ExtensionPopupController popup];
|
| if (popup && ![popup isClosing])
|
| [popup close];
|
|
|