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

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

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
11 #include "base/memory/scoped_nsobject.h" 11 #include "base/memory/scoped_nsobject.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #import "chrome/browser/ui/cocoa/view_resizer.h" 13 #import "chrome/browser/ui/cocoa/view_resizer.h"
14 #include "content/public/browser/notification_registrar.h" 14 #include "content/public/browser/notification_registrar.h"
15 15
16 @class BrowserWindowController; 16 @class BrowserWindowController;
17 @class InfoBarController; 17 @class InfoBarController;
18 class InfoBar; 18 class InfoBar;
19 class InfoBarDelegate; 19 class InfoBarDelegate;
20 class InfoBarNotificationObserver; 20 class InfoBarNotificationObserver;
21 class TabContentsWrapper; 21 class TabContents;
22 typedef TabContents TabContentsWrapper;
22 class TabStripModel; 23 class TabStripModel;
23 24
24 // Protocol for basic container methods, as needed by an InfoBarController. 25 // Protocol for basic container methods, as needed by an InfoBarController.
25 // This protocol exists to make mocking easier in unittests. 26 // This protocol exists to make mocking easier in unittests.
26 @protocol InfoBarContainer 27 @protocol InfoBarContainer
27 - (void)willRemoveController:(InfoBarController*)controller; 28 - (void)willRemoveController:(InfoBarController*)controller;
28 - (void)removeController:(InfoBarController*)controller; 29 - (void)removeController:(InfoBarController*)controller;
29 - (BrowserWindowController*)browserWindowController; 30 - (BrowserWindowController*)browserWindowController;
30 @end 31 @end
31 32
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // Removes all infobar views. Infobars which were already closing will be 128 // Removes all infobar views. Infobars which were already closing will be
128 // completely closed (i.e. InfobarDelegate::InfoBarClosed() will be called and 129 // completely closed (i.e. InfobarDelegate::InfoBarClosed() will be called and
129 // we'll get a callback to removeController). Other infobars will simply stop 130 // we'll get a callback to removeController). Other infobars will simply stop
130 // animating and disappear. Callers must call positionInfoBarsAndRedraw() 131 // animating and disappear. Callers must call positionInfoBarsAndRedraw()
131 // after calling this method. 132 // after calling this method.
132 - (void)removeAllInfoBars; 133 - (void)removeAllInfoBars;
133 134
134 @end 135 @end
135 136
136 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ 137 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h ('k') | chrome/browser/ui/cocoa/tab_contents/favicon_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698