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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/infobars/extension_infobar_controller.h
diff --git a/chrome/browser/ui/cocoa/infobars/extension_infobar_controller.h b/chrome/browser/ui/cocoa/infobars/extension_infobar_controller.h
deleted file mode 100644
index 0f8817edce686111db380fba2392c4ea5ec7dfc0..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/infobars/extension_infobar_controller.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2011 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_COCOA_INFOBARS_EXTENSION_INFOBAR_CONTROLLER_H_
-#define CHROME_BROWSER_UI_COCOA_INFOBARS_EXTENSION_INFOBAR_CONTROLLER_H_
-
-#import "chrome/browser/ui/cocoa/infobars/infobar_controller.h"
-
-#import <Cocoa/Cocoa.h>
-
-#import "base/mac/scoped_nsobject.h"
-#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
-
-class ExtensionContextMenuModel;
-@class MenuController;
-class InfobarBridge;
-@class MenuButton;
-
-@interface ExtensionInfoBarController : InfoBarController<NSMenuDelegate> {
- // The native extension view retrieved from the extension host. Weak.
- NSView* extensionView_;
-
- // The InfoBar's button with the Extension's icon that launches the context
- // menu.
- base::scoped_nsobject<MenuButton> dropdownButton_;
-
- // The model for the context menu.
- scoped_refptr<ExtensionContextMenuModel> contextMenuModel_;
-
- // Controller for the context menu when the left button is clicked.
- base::scoped_nsobject<MenuController> contextMenuController_;
-
- // Helper class to bridge C++ and ObjC functionality together for the infobar.
- scoped_ptr<InfobarBridge> bridge_;
-}
-
-@end
-
-#endif // CHROME_BROWSER_UI_COCOA_INFOBARS_EXTENSION_INFOBAR_CONTROLLER_H_
« 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