OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/ui/cocoa/tabs/tab_window_controller.h" | 5 #import "chrome/browser/ui/cocoa/tabs/tab_window_controller.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #import "chrome/browser/ui/cocoa/focus_tracker.h" | 8 #import "chrome/browser/ui/cocoa/focus_tracker.h" |
9 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" | 9 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" |
10 #import "chrome/browser/ui/cocoa/themed_window.h" | 10 #import "chrome/browser/ui/cocoa/themed_window.h" |
11 #include "ui/base/theme_provider.h" | 11 #include "ui/base/theme_provider.h" |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 // subclass must implement | 234 // subclass must implement |
235 NOTIMPLEMENTED(); | 235 NOTIMPLEMENTED(); |
236 return NO; | 236 return NO; |
237 } | 237 } |
238 | 238 |
239 - (void)moveTabView:(NSView*)view | 239 - (void)moveTabView:(NSView*)view |
240 fromController:(TabWindowController*)dragController { | 240 fromController:(TabWindowController*)dragController { |
241 NOTIMPLEMENTED(); | 241 NOTIMPLEMENTED(); |
242 } | 242 } |
243 | 243 |
244 - (NSView*)selectedTabView { | 244 - (NSView*)activeTabView { |
245 NOTIMPLEMENTED(); | 245 NOTIMPLEMENTED(); |
246 return nil; | 246 return nil; |
247 } | 247 } |
248 | 248 |
249 - (void)layoutTabs { | 249 - (void)layoutTabs { |
250 // subclass must implement | 250 // subclass must implement |
251 NOTIMPLEMENTED(); | 251 NOTIMPLEMENTED(); |
252 } | 252 } |
253 | 253 |
254 - (TabWindowController*)detachTabToNewWindow:(TabView*)tabView { | 254 - (TabWindowController*)detachTabToNewWindow:(TabView*)tabView { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 NOTIMPLEMENTED(); | 304 NOTIMPLEMENTED(); |
305 return 0; | 305 return 0; |
306 } | 306 } |
307 | 307 |
308 - (BOOL)hasLiveTabs { | 308 - (BOOL)hasLiveTabs { |
309 // subclass must implement | 309 // subclass must implement |
310 NOTIMPLEMENTED(); | 310 NOTIMPLEMENTED(); |
311 return NO; | 311 return NO; |
312 } | 312 } |
313 | 313 |
314 - (NSString*)selectedTabTitle { | 314 - (NSString*)activeTabTitle { |
315 // subclass must implement | 315 // subclass must implement |
316 NOTIMPLEMENTED(); | 316 NOTIMPLEMENTED(); |
317 return @""; | 317 return @""; |
318 } | 318 } |
319 | 319 |
320 - (BOOL)hasTabStrip { | 320 - (BOOL)hasTabStrip { |
321 // Subclasses should implement this. | 321 // Subclasses should implement this. |
322 NOTIMPLEMENTED(); | 322 NOTIMPLEMENTED(); |
323 return YES; | 323 return YES; |
324 } | 324 } |
(...skipping 22 matching lines...) Expand all Loading... |
347 closeDeferred_ = YES; | 347 closeDeferred_ = YES; |
348 } | 348 } |
349 | 349 |
350 // Called when the size of the window content area has changed. Override to | 350 // Called when the size of the window content area has changed. Override to |
351 // position specific views. Base class implementation does nothing. | 351 // position specific views. Base class implementation does nothing. |
352 - (void)layoutSubviews { | 352 - (void)layoutSubviews { |
353 NOTIMPLEMENTED(); | 353 NOTIMPLEMENTED(); |
354 } | 354 } |
355 | 355 |
356 @end | 356 @end |
OLD | NEW |