| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #import "chrome/browser/cocoa/tab_window_controller.h" | 5 #import "chrome/browser/cocoa/tab_window_controller.h" |
| 6 | 6 |
| 7 #include "app/theme_provider.h" | 7 #include "app/theme_provider.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #import "chrome/browser/cocoa/tab_strip_view.h" | 9 #import "chrome/browser/cocoa/tab_strip_view.h" |
| 10 #import "chrome/browser/cocoa/themed_window.h" | 10 #import "chrome/browser/cocoa/themed_window.h" |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 // subclass must implement | 212 // subclass must implement |
| 213 NOTIMPLEMENTED(); | 213 NOTIMPLEMENTED(); |
| 214 } | 214 } |
| 215 | 215 |
| 216 - (NSInteger)numberOfTabs { | 216 - (NSInteger)numberOfTabs { |
| 217 // subclass must implement | 217 // subclass must implement |
| 218 NOTIMPLEMENTED(); | 218 NOTIMPLEMENTED(); |
| 219 return 0; | 219 return 0; |
| 220 } | 220 } |
| 221 | 221 |
| 222 - (BOOL)hasLiveTabs { |
| 223 // subclass must implement |
| 224 NOTIMPLEMENTED(); |
| 225 return NO; |
| 226 } |
| 227 |
| 222 - (NSString*)selectedTabTitle { | 228 - (NSString*)selectedTabTitle { |
| 223 // subclass must implement | 229 // subclass must implement |
| 224 NOTIMPLEMENTED(); | 230 NOTIMPLEMENTED(); |
| 225 return @""; | 231 return @""; |
| 226 } | 232 } |
| 227 | 233 |
| 228 - (BOOL)hasTabStrip { | 234 - (BOOL)hasTabStrip { |
| 229 // Subclasses should implement this. | 235 // Subclasses should implement this. |
| 230 NOTIMPLEMENTED(); | 236 NOTIMPLEMENTED(); |
| 231 return YES; | 237 return YES; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 243 } | 249 } |
| 244 | 250 |
| 245 // Tell the window that it needs to call performClose: as soon as the current | 251 // Tell the window that it needs to call performClose: as soon as the current |
| 246 // drag is complete. This prevents a window (and its overlay) from going away | 252 // drag is complete. This prevents a window (and its overlay) from going away |
| 247 // during a drag. | 253 // during a drag. |
| 248 - (void)deferPerformClose { | 254 - (void)deferPerformClose { |
| 249 closeDeferred_ = YES; | 255 closeDeferred_ = YES; |
| 250 } | 256 } |
| 251 | 257 |
| 252 @end | 258 @end |
| OLD | NEW |