Index: chrome/browser/ui/toolbar/media_router_action_platform_delegate.h |
diff --git a/chrome/browser/ui/toolbar/media_router_action_platform_delegate.h b/chrome/browser/ui/toolbar/media_router_action_platform_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3d9014eff0424e29e7ecc64f7e6531380460b266 |
--- /dev/null |
+++ b/chrome/browser/ui/toolbar/media_router_action_platform_delegate.h |
@@ -0,0 +1,24 @@ |
+// 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_H_ |
+#define CHROME_BROWSER_UI_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_H_ |
+ |
+#include "base/memory/scoped_ptr.h" |
+ |
+class Browser; |
+ |
+class MediaRouterActionPlatformDelegate { |
+ public: |
+ virtual ~MediaRouterActionPlatformDelegate() {} |
+ |
+ // Returns a created MediaRouterActionPlatformDelegate. This is defined in the |
+ // platform-specific implementation for the class. |
+ static scoped_ptr<MediaRouterActionPlatformDelegate> Create(Browser* browser); |
+ |
+ // Closes the overflow menu, if it was open. |
+ virtual void CloseOverflowMenuIfOpen() = 0; |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_VIEWS_H_ |
Devlin
2015/07/14 21:31:07
This guard comment is wrong.
apacible
2015/07/16 16:52:11
Done.
|