OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_H_ | |
6 #define CHROME_BROWSER_UI_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_H_ | |
7 | |
8 #include "base/memory/scoped_ptr.h" | |
9 #include "chrome/browser/ui/browser.h" | |
Devlin
2015/07/14 17:23:02
Forward declaration works.
apacible
2015/07/14 21:15:23
Done.
| |
10 | |
11 class MediaRouterActionPlatformDelegate { | |
12 public: | |
13 virtual ~MediaRouterActionPlatformDelegate() {} | |
14 | |
15 // Returns a created MediaRouterActionPlatformDelegate. This is defined in the | |
16 // platform-specific implementation for the class. | |
17 static scoped_ptr<MediaRouterActionPlatformDelegate> Create(Browser* browser); | |
18 | |
19 // Closes the overflow menu, if it was open. | |
Devlin
2015/07/14 17:23:02
The comment is good, but I'd rename the method to
apacible
2015/07/14 21:15:23
Done.
| |
20 virtual void CloseOverflowMenu() = 0; | |
21 }; | |
22 | |
23 #endif // CHROME_BROWSER_UI_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_VIEWS _H_ | |
OLD | NEW |