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

Side by Side Diff: chrome/browser/cocoa/browser_window_controller.mm

Issue 195043: Start a drag if the tab is dragged off the sides of the window.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/cocoa/tab_strip_controller.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include <Carbon/Carbon.h> 5 #include <Carbon/Carbon.h>
6 6
7 #include "base/mac_util.h" 7 #include "base/mac_util.h"
8 #include "base/scoped_nsdisable_screen_updates.h" 8 #include "base/scoped_nsdisable_screen_updates.h"
9 #import "base/scoped_nsobject.h" 9 #import "base/scoped_nsobject.h"
10 #include "base/sys_string_conversions.h" 10 #include "base/sys_string_conversions.h"
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 yStretchiness:yStretchiness]; 810 yStretchiness:yStretchiness];
811 } 811 }
812 812
813 - (void)removePlaceholder { 813 - (void)removePlaceholder {
814 [super removePlaceholder]; 814 [super removePlaceholder];
815 [tabStripController_ insertPlaceholderForTab:nil 815 [tabStripController_ insertPlaceholderForTab:nil
816 frame:NSZeroRect 816 frame:NSZeroRect
817 yStretchiness:0]; 817 yStretchiness:0];
818 } 818 }
819 819
820 - (BOOL)isTabFullyVisible:(TabView*)tab {
821 return [tabStripController_ isTabFullyVisible:tab];
822 }
823
820 - (void)showNewTabButton:(BOOL)show { 824 - (void)showNewTabButton:(BOOL)show {
821 [tabStripController_ showNewTabButton:show]; 825 [tabStripController_ showNewTabButton:show];
822 } 826 }
823 827
824 - (BOOL)isBookmarkBarVisible { 828 - (BOOL)isBookmarkBarVisible {
825 return [[toolbarController_ bookmarkBarController] isBookmarkBarVisible]; 829 return [[toolbarController_ bookmarkBarController] isBookmarkBarVisible];
826 830
827 } 831 }
828 832
829 - (void)toggleBookmarkBar { 833 - (void)toggleBookmarkBar {
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 provider->GetNSColor(BrowserThemeProvider::COLOR_TOOLBAR); 1379 provider->GetNSColor(BrowserThemeProvider::COLOR_TOOLBAR);
1376 [theme setValue:toolbarBackgroundColor 1380 [theme setValue:toolbarBackgroundColor
1377 forAttribute:@"backgroundColor" 1381 forAttribute:@"backgroundColor"
1378 style:GTMThemeStyleToolBar 1382 style:GTMThemeStyleToolBar
1379 state:GTMThemeStateActiveWindow]; 1383 state:GTMThemeStateActiveWindow];
1380 1384
1381 return theme; 1385 return theme;
1382 } 1386 }
1383 @end 1387 @end
1384 1388
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/tab_strip_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698