Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: chrome/browser/ui/toolbar/media_router_action_platform_delegate.h

Issue 1228223002: Close wrench menu when Media Router Action clicked in Views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
10 class Browser;
11
12 class MediaRouterActionPlatformDelegate {
13 public:
14 #if defined(OS_MACOSX)
15 explicit MediaRouterActionPlatformDelegate(Browser* browser);
16 #endif
17 MediaRouterActionPlatformDelegate();
18 virtual ~MediaRouterActionPlatformDelegate() {}
19
20 // Returns a created MediaRouterActionPlatformDelegate. This is defined in the
21 // platform-specific implementation for the class.
22 static scoped_ptr<MediaRouterActionPlatformDelegate> Create(Browser* browser);
23
24 // Closes the overflow menu, if it was open.
25 virtual void CloseOverflowMenuIfOpen() = 0;
26 };
27
28 #endif // CHROME_BROWSER_UI_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/media_router_action.cc ('k') | chrome/browser/ui/toolbar/media_router_action_platform_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698