| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_EXTENSIONS_EXTENSION_ACTION_PLATFORM_DELEGATE_CO
COA_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_ACTION_PLATFORM_DELEGATE_CO
COA_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_ACTION_PLATFORM_DELEGATE_CO
COA_H_ | 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_ACTION_PLATFORM_DELEGATE_CO
COA_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "chrome/browser/ui/extensions/extension_action_platform_delegate.h" | 11 #include "chrome/browser/ui/extensions/extension_action_platform_delegate.h" |
| 11 #include "content/public/browser/notification_observer.h" | 12 #include "content/public/browser/notification_observer.h" |
| 12 #include "content/public/browser/notification_registrar.h" | 13 #include "content/public/browser/notification_registrar.h" |
| 13 | 14 |
| 14 @class ExtensionPopupController; | 15 @class ExtensionPopupController; |
| 15 | 16 |
| 16 // The Cocoa-specific implementation for ExtensionActionPlatformDelegate. | 17 // The Cocoa-specific implementation for ExtensionActionPlatformDelegate. |
| 17 class ExtensionActionPlatformDelegateCocoa | 18 class ExtensionActionPlatformDelegateCocoa |
| 18 : public ExtensionActionPlatformDelegate, | 19 : public ExtensionActionPlatformDelegate, |
| 19 public content::NotificationObserver { | 20 public content::NotificationObserver { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 42 | 43 |
| 43 // The main controller for this extension action. | 44 // The main controller for this extension action. |
| 44 ExtensionActionViewController* controller_; | 45 ExtensionActionViewController* controller_; |
| 45 | 46 |
| 46 content::NotificationRegistrar registrar_; | 47 content::NotificationRegistrar registrar_; |
| 47 | 48 |
| 48 DISALLOW_COPY_AND_ASSIGN(ExtensionActionPlatformDelegateCocoa); | 49 DISALLOW_COPY_AND_ASSIGN(ExtensionActionPlatformDelegateCocoa); |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_ACTION_PLATFORM_DELEGATE
_COCOA_H_ | 52 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_ACTION_PLATFORM_DELEGATE
_COCOA_H_ |
| OLD | NEW |