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

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

Issue 2086273003: [Mac] Reveal Fullscreen Toolbar for Tab Strip Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test Created 4 years, 5 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
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 <memory> 10 #include <memory>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Stripped down version of TabStripModelObserverBridge:selectTabWithContents. 42 // Stripped down version of TabStripModelObserverBridge:selectTabWithContents.
43 - (void)onActivateTabWithContents:(content::WebContents*)contents; 43 - (void)onActivateTabWithContents:(content::WebContents*)contents;
44 44
45 // Stripped down version of TabStripModelObserverBridge:tabChangedWithContents. 45 // Stripped down version of TabStripModelObserverBridge:tabChangedWithContents.
46 - (void)onTabChanged:(TabStripModelObserver::TabChangeType)change 46 - (void)onTabChanged:(TabStripModelObserver::TabChangeType)change
47 withContents:(content::WebContents*)contents; 47 withContents:(content::WebContents*)contents;
48 48
49 // Stripped down version of TabStripModelObserverBridge:tabDetachedWithContents. 49 // Stripped down version of TabStripModelObserverBridge:tabDetachedWithContents.
50 - (void)onTabDetachedWithContents:(content::WebContents*)contents; 50 - (void)onTabDetachedWithContents:(content::WebContents*)contents;
51 51
52 // Stripped down version of
53 // TabStripModelObserverBridge:onTabInsertedInForeground.
54 - (void)onTabInsertedInForeground:(BOOL)inForeground;
55
52 @end 56 @end
53 57
54 // A class that handles managing the tab strip in a browser window. It uses 58 // A class that handles managing the tab strip in a browser window. It uses
55 // a supporting C++ bridge object to register for notifications from the 59 // a supporting C++ bridge object to register for notifications from the
56 // TabStripModel. The Obj-C part of this class handles drag and drop and all 60 // TabStripModel. The Obj-C part of this class handles drag and drop and all
57 // the other Cocoa-y aspects. 61 // the other Cocoa-y aspects.
58 // 62 //
59 // For a full description of the design, see 63 // For a full description of the design, see
60 // http://www.chromium.org/developers/design-documents/tab-strip-mac 64 // http://www.chromium.org/developers/design-documents/tab-strip-mac
61 @interface TabStripController : NSObject<TabControllerTarget, 65 @interface TabStripController : NSObject<TabControllerTarget,
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 - (TabAlertState)alertStateForContents:(content::WebContents*)contents; 295 - (TabAlertState)alertStateForContents:(content::WebContents*)contents;
292 296
293 @end 297 @end
294 298
295 @interface TabStripController(TestingAPI) 299 @interface TabStripController(TestingAPI)
296 - (void)setTabTitle:(TabController*)tab 300 - (void)setTabTitle:(TabController*)tab
297 withContents:(content::WebContents*)contents; 301 withContents:(content::WebContents*)contents;
298 @end 302 @end
299 303
300 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ 304 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698