| OLD | NEW |
| 1 // Copyright (c) 2011 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 <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #import "chrome/browser/ui/browser_window.h" | 9 #import "chrome/browser/ui/browser_window.h" |
| 10 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" | 10 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 } | 53 } |
| 54 virtual void ContinueDraggingDetachedTab(TabContentsWrapper* contents, | 54 virtual void ContinueDraggingDetachedTab(TabContentsWrapper* contents, |
| 55 const gfx::Rect& window_bounds, | 55 const gfx::Rect& window_bounds, |
| 56 const gfx::Rect& tab_bounds) { | 56 const gfx::Rect& tab_bounds) { |
| 57 } | 57 } |
| 58 virtual int GetDragActions() const { | 58 virtual int GetDragActions() const { |
| 59 return 0; | 59 return 0; |
| 60 } | 60 } |
| 61 virtual TabContentsWrapper* CreateTabContentsForURL( | 61 virtual TabContentsWrapper* CreateTabContentsForURL( |
| 62 const GURL& url, | 62 const GURL& url, |
| 63 const GURL& referrer, | 63 const content::Referrer& referrer, |
| 64 Profile* profile, | 64 Profile* profile, |
| 65 content::PageTransition transition, | 65 content::PageTransition transition, |
| 66 bool defer_load, | 66 bool defer_load, |
| 67 SiteInstance* instance) const { | 67 SiteInstance* instance) const { |
| 68 return NULL; | 68 return NULL; |
| 69 } | 69 } |
| 70 virtual bool CanDuplicateContentsAt(int index) { return true; } | 70 virtual bool CanDuplicateContentsAt(int index) { return true; } |
| 71 virtual void DuplicateContentsAt(int index) { } | 71 virtual void DuplicateContentsAt(int index) { } |
| 72 virtual void CloseFrameAfterDragSession() { } | 72 virtual void CloseFrameAfterDragSession() { } |
| 73 virtual void CreateHistoricalTab(TabContentsWrapper* contents) { } | 73 virtual void CreateHistoricalTab(TabContentsWrapper* contents) { } |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 // TODO(pinkerton): Implement http://crbug.com/10899 | 165 // TODO(pinkerton): Implement http://crbug.com/10899 |
| 166 } | 166 } |
| 167 | 167 |
| 168 // Test that changing the number of tabs broadcasts a | 168 // Test that changing the number of tabs broadcasts a |
| 169 // kTabStripNumberOfTabsChanged notifiction. | 169 // kTabStripNumberOfTabsChanged notifiction. |
| 170 TEST_F(TabStripControllerTest, Notifications) { | 170 TEST_F(TabStripControllerTest, Notifications) { |
| 171 // TODO(pinkerton): Implement http://crbug.com/10899 | 171 // TODO(pinkerton): Implement http://crbug.com/10899 |
| 172 } | 172 } |
| 173 | 173 |
| 174 } // namespace | 174 } // namespace |
| OLD | NEW |