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

Side by Side Diff: chrome/browser/ui/cocoa/infobars/extension_infobar_controller.h

Issue 923463003: [Extensions] Remove the Infobar API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 5 years, 10 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 (c) 2011 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_COCOA_INFOBARS_EXTENSION_INFOBAR_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_EXTENSION_INFOBAR_CONTROLLER_H_
7
8 #import "chrome/browser/ui/cocoa/infobars/infobar_controller.h"
9
10 #import <Cocoa/Cocoa.h>
11
12 #import "base/mac/scoped_nsobject.h"
13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h"
15
16 class ExtensionContextMenuModel;
17 @class MenuController;
18 class InfobarBridge;
19 @class MenuButton;
20
21 @interface ExtensionInfoBarController : InfoBarController<NSMenuDelegate> {
22 // The native extension view retrieved from the extension host. Weak.
23 NSView* extensionView_;
24
25 // The InfoBar's button with the Extension's icon that launches the context
26 // menu.
27 base::scoped_nsobject<MenuButton> dropdownButton_;
28
29 // The model for the context menu.
30 scoped_refptr<ExtensionContextMenuModel> contextMenuModel_;
31
32 // Controller for the context menu when the left button is clicked.
33 base::scoped_nsobject<MenuController> contextMenuController_;
34
35 // Helper class to bridge C++ and ObjC functionality together for the infobar.
36 scoped_ptr<InfobarBridge> bridge_;
37 }
38
39 @end
40
41 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_EXTENSION_INFOBAR_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/infobars/infobar_extension_apitest.cc ('k') | chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698