OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_VIEWS_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_CO
COA_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_CO
COA_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_CO
COA_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_CO
COA_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/ui/toolbar/media_router_action_platform_delegate.h" | 9 #include "chrome/browser/ui/toolbar/media_router_action_platform_delegate.h" |
10 | 10 |
11 // The Cocoa platform delegate for the Media Router component action. | 11 // The Cocoa platform delegate for the Media Router component action. |
12 class MediaRouterActionPlatformDelegateCocoa : | 12 class MediaRouterActionPlatformDelegateCocoa : |
13 public MediaRouterActionPlatformDelegate { | 13 public MediaRouterActionPlatformDelegate { |
14 public: | 14 public: |
15 explicit MediaRouterActionPlatformDelegateCocoa(Browser* browser); | 15 explicit MediaRouterActionPlatformDelegateCocoa(Browser* browser); |
16 ~MediaRouterActionPlatformDelegateCocoa() override; | 16 ~MediaRouterActionPlatformDelegateCocoa() override; |
17 | 17 |
18 // MediaRouterActionPlatformDelegate: | 18 // MediaRouterActionPlatformDelegate: |
19 bool CloseOverflowMenuIfOpen() override; | 19 bool CloseOverflowMenuIfOpen() override; |
20 | 20 |
21 private: | 21 private: |
22 // The corresponding browser. | 22 // The corresponding browser. |
23 Browser* browser_; | 23 Browser* browser_; |
24 | 24 |
25 DISALLOW_COPY_AND_ASSIGN(MediaRouterActionPlatformDelegateCocoa); | 25 DISALLOW_COPY_AND_ASSIGN(MediaRouterActionPlatformDelegateCocoa); |
26 }; | 26 }; |
27 | 27 |
28 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE
_COCOA_H_ | 28 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE
_COCOA_H_ |
OLD | NEW |