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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/tab_strip_controller.h

Issue 11026050: Fix crash when using Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TABS_TAB_STRIP_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/memory/scoped_nsobject.h" 10 #include "base/memory/scoped_nsobject.h"
(...skipping 28 matching lines...) Expand all
39 // Stripped down version of TabStripModelObserverBridge:tabReplacedWithContents. 39 // Stripped down version of TabStripModelObserverBridge:tabReplacedWithContents.
40 - (void)onReplaceTabWithContents:(content::WebContents*)contents; 40 - (void)onReplaceTabWithContents:(content::WebContents*)contents;
41 41
42 // Stripped down version of TabStripModelObserverBridge:tabChangedWithContents. 42 // Stripped down version of TabStripModelObserverBridge:tabChangedWithContents.
43 - (void)onTabChanged:(TabStripModelObserver::TabChangeType)change 43 - (void)onTabChanged:(TabStripModelObserver::TabChangeType)change
44 withContents:(content::WebContents*)contents; 44 withContents:(content::WebContents*)contents;
45 45
46 // Stripped down version of TabStripModelObserverBridge:tabDetachedWithContents. 46 // Stripped down version of TabStripModelObserverBridge:tabDetachedWithContents.
47 - (void)onTabDetachedWithContents:(content::WebContents*)contents; 47 - (void)onTabDetachedWithContents:(content::WebContents*)contents;
48 48
49 // Stripped down version of TabStripModelObserverBridge:insertTabWithContents.
50 - (void)onInsertTabWithContents:(content::WebContents*)contents;
51
49 @end 52 @end
50 53
51 // A class that handles managing the tab strip in a browser window. It uses 54 // A class that handles managing the tab strip in a browser window. It uses
52 // a supporting C++ bridge object to register for notifications from the 55 // a supporting C++ bridge object to register for notifications from the
53 // TabStripModel. The Obj-C part of this class handles drag and drop and all 56 // TabStripModel. The Obj-C part of this class handles drag and drop and all
54 // the other Cocoa-y aspects. 57 // the other Cocoa-y aspects.
55 // 58 //
56 // For a full description of the design, see 59 // For a full description of the design, see
57 // http://www.chromium.org/developers/design-documents/tab-strip-mac 60 // http://www.chromium.org/developers/design-documents/tab-strip-mac
58 @interface TabStripController : 61 @interface TabStripController :
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 254
252 // Returns the currently active TabContentsController. 255 // Returns the currently active TabContentsController.
253 - (TabContentsController*)activeTabContentsController; 256 - (TabContentsController*)activeTabContentsController;
254 257
255 @end 258 @end
256 259
257 // Returns the parent view to use when showing a sheet for a given tab contents. 260 // Returns the parent view to use when showing a sheet for a given tab contents.
258 NSView* GetSheetParentViewForTabContents(TabContents* tab_contents); 261 NSView* GetSheetParentViewForTabContents(TabContents* tab_contents);
259 262
260 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ 263 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698