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

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

Issue 1946993004: [Mac][Material Design] Fix TabStripController test that fails under MD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix variable name. Created 4 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // Returns YES if the user is allowed to drag tabs on the strip at this moment. 257 // Returns YES if the user is allowed to drag tabs on the strip at this moment.
258 // For example, this returns NO if there are any pending tab close animtations. 258 // For example, this returns NO if there are any pending tab close animtations.
259 - (BOOL)tabDraggingAllowed; 259 - (BOOL)tabDraggingAllowed;
260 260
261 // Default height for tabs. 261 // Default height for tabs.
262 + (CGFloat)defaultTabHeight; 262 + (CGFloat)defaultTabHeight;
263 263
264 // Default indentation for tabs (see |leftIndentForControls_|). 264 // Default indentation for tabs (see |leftIndentForControls_|).
265 + (CGFloat)defaultLeftIndentForControls; 265 + (CGFloat)defaultLeftIndentForControls;
266 266
267 // Returns the amount by which tabs overlap.
268 + (CGFloat)tabOverlap;
269
267 // Returns the currently active TabContentsController. 270 // Returns the currently active TabContentsController.
268 - (TabContentsController*)activeTabContentsController; 271 - (TabContentsController*)activeTabContentsController;
269 272
270 // Adds custom traffic light buttons to the tab strip. Idempotent. 273 // Adds custom traffic light buttons to the tab strip. Idempotent.
271 - (void)addCustomWindowControls; 274 - (void)addCustomWindowControls;
272 275
273 // Removes custom traffic light buttons from the tab strip. Idempotent. 276 // Removes custom traffic light buttons from the tab strip. Idempotent.
274 - (void)removeCustomWindowControls; 277 - (void)removeCustomWindowControls;
275 278
276 // Gets the tab and the alert state to check whether the window 279 // Gets the tab and the alert state to check whether the window
(...skipping 11 matching lines...) Expand all
288 - (TabAlertState)alertStateForContents:(content::WebContents*)contents; 291 - (TabAlertState)alertStateForContents:(content::WebContents*)contents;
289 292
290 @end 293 @end
291 294
292 @interface TabStripController(TestingAPI) 295 @interface TabStripController(TestingAPI)
293 - (void)setTabTitle:(TabController*)tab 296 - (void)setTabTitle:(TabController*)tab
294 withContents:(content::WebContents*)contents; 297 withContents:(content::WebContents*)contents;
295 @end 298 @end
296 299
297 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ 300 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698