Chromium Code Reviews| 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..03ff3489c01e781bc20add5bb9cd3a75723ecb8c |
| --- /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_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_VIEWS_H_ |
| +#define CHROME_BROWSER_UI_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 implementation. |
|
Devlin
2015/07/14 17:23:02
nitty nit: in most of the new ui code, we simply h
apacible
2015/07/14 21:15:23
Good to know! Done.
|
| + void CloseOverflowMenu() override; |
| + |
| + private: |
| + // The corresponding browser. |
| + Browser* browser_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(MediaRouterActionPlatformDelegateViews); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_VIEWS_H_ |