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

Side by Side Diff: chrome/browser/ui/extensions/extension_action_platform_delegate.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ACTION_PLATFORM_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ACTION_PLATFORM_DELEGATE_H_
6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ACTION_PLATFORM_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ACTION_PLATFORM_DELEGATE_H_
7 7
8 #include "chrome/browser/ui/extensions/extension_action_view_controller.h" 8 #include "chrome/browser/ui/extensions/extension_action_view_controller.h"
9 9
10 class GURL;
11
12 namespace extensions { 10 namespace extensions {
13 class ExtensionViewHost; 11 class ExtensionViewHost;
14 } 12 }
15 13
16 class ExtensionActionPlatformDelegate { 14 class ExtensionActionPlatformDelegate {
17 public: 15 public:
18 virtual ~ExtensionActionPlatformDelegate() {} 16 virtual ~ExtensionActionPlatformDelegate() {}
19 17
20 // Returns a created ExtensionActionPlatformDelegate. This is defined in the 18 // Returns a created ExtensionActionPlatformDelegate. This is defined in the
21 // platform-specific implementation for the class. 19 // platform-specific implementation for the class.
(...skipping 16 matching lines...) Expand all
38 ExtensionActionViewController::PopupShowAction show_action) = 0; 36 ExtensionActionViewController::PopupShowAction show_action) = 0;
39 37
40 // Closes the overflow menu, if it was open. 38 // Closes the overflow menu, if it was open.
41 virtual void CloseOverflowMenu() = 0; 39 virtual void CloseOverflowMenu() = 0;
42 40
43 // Shows the context menu for the extension. 41 // Shows the context menu for the extension.
44 virtual void ShowContextMenu() = 0; 42 virtual void ShowContextMenu() = 0;
45 }; 43 };
46 44
47 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ACTION_PLATFORM_DELEGATE_H_ 45 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ACTION_PLATFORM_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698