OLD | NEW |
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 #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/fast_resize_view.h" | 8 #import "chrome/browser/ui/cocoa/fast_resize_view.h" |
9 #import "chrome/browser/ui/cocoa/framed_browser_window.h" | 9 #import "chrome/browser/ui/cocoa/framed_browser_window.h" |
10 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" | 10 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 // window's size, as our overlay window doesn't know how to resize properly. | 180 // window's size, as our overlay window doesn't know how to resize properly. |
181 return overlayWindow_ == nil; | 181 return overlayWindow_ == nil; |
182 } | 182 } |
183 | 183 |
184 - (BOOL)canReceiveFrom:(TabWindowController*)source { | 184 - (BOOL)canReceiveFrom:(TabWindowController*)source { |
185 // subclass must implement | 185 // subclass must implement |
186 NOTIMPLEMENTED(); | 186 NOTIMPLEMENTED(); |
187 return NO; | 187 return NO; |
188 } | 188 } |
189 | 189 |
190 - (void)moveTabView:(NSView*)view | 190 - (void)moveTabViews:(NSArray*)views |
191 fromController:(TabWindowController*)dragController { | 191 fromController:(TabWindowController*)dragController { |
192 NOTIMPLEMENTED(); | 192 NOTIMPLEMENTED(); |
193 } | 193 } |
194 | 194 |
| 195 - (NSArray*)tabViews { |
| 196 NOTIMPLEMENTED(); |
| 197 return nil; |
| 198 } |
| 199 |
195 - (NSView*)activeTabView { | 200 - (NSView*)activeTabView { |
196 NOTIMPLEMENTED(); | 201 NOTIMPLEMENTED(); |
197 return nil; | 202 return nil; |
198 } | 203 } |
199 | 204 |
200 - (void)layoutTabs { | 205 - (void)layoutTabs { |
201 // subclass must implement | 206 // subclass must implement |
202 NOTIMPLEMENTED(); | 207 NOTIMPLEMENTED(); |
203 } | 208 } |
204 | 209 |
205 - (TabWindowController*)detachTabToNewWindow:(TabView*)tabView { | 210 - (TabWindowController*)detachTabsToNewWindow:(NSArray*)tabViews |
| 211 draggedTab:(NSView*)draggedTab { |
206 // subclass must implement | 212 // subclass must implement |
207 NOTIMPLEMENTED(); | 213 NOTIMPLEMENTED(); |
208 return NULL; | 214 return NULL; |
209 } | 215 } |
210 | 216 |
211 - (void)insertPlaceholderForTab:(TabView*)tab frame:(NSRect)frame { | 217 - (void)insertPlaceholderForTab:(TabView*)tab frame:(NSRect)frame { |
212 [self showNewTabButton:NO]; | 218 [self showNewTabButton:NO]; |
213 } | 219 } |
214 | 220 |
215 - (void)removePlaceholder { | 221 - (void)removePlaceholder { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 closeDeferred_ = YES; | 291 closeDeferred_ = YES; |
286 } | 292 } |
287 | 293 |
288 // Called when the size of the window content area has changed. Override to | 294 // Called when the size of the window content area has changed. Override to |
289 // position specific views. Base class implementation does nothing. | 295 // position specific views. Base class implementation does nothing. |
290 - (void)layoutSubviews { | 296 - (void)layoutSubviews { |
291 NOTIMPLEMENTED(); | 297 NOTIMPLEMENTED(); |
292 } | 298 } |
293 | 299 |
294 @end | 300 @end |
OLD | NEW |