Index: chrome/browser/ui/views/toolbar/media_router_action_platform_delegate_views.h |
diff --git a/chrome/browser/ui/views/toolbar/media_router_action_platform_delegate_views.h b/chrome/browser/ui/views/toolbar/media_router_action_platform_delegate_views.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6d39c8d2364dbaa1e29624261571f57decca81b0 |
--- /dev/null |
+++ b/chrome/browser/ui/views/toolbar/media_router_action_platform_delegate_views.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_VIEWS_H_ |
+#define CHROME_BROWSER_UI_VIEWS_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_VIEWS_H_ |
+ |
+#include "chrome/browser/ui/toolbar/media_router_action_platform_delegate.h" |
+ |
+// The Views platform delegate for the Media Router component action. |
+class MediaRouterActionPlatformDelegateViews : |
+ public MediaRouterActionPlatformDelegate { |
+ public: |
+ explicit MediaRouterActionPlatformDelegateViews(Browser* browser); |
+ ~MediaRouterActionPlatformDelegateViews() override; |
+ |
+ // MediaRouterActionPlatformDelegate: |
+ void CloseOverflowMenuIfOpen() override; |
+ |
+ private: |
+ // The corresponding browser. |
+ Browser* browser_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(MediaRouterActionPlatformDelegateViews); |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_VIEWS_H_ |