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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
OLDNEW
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 GURL& referrer,
64 Profile* profile, 64 Profile* profile,
65 PageTransition::Type 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) { }
74 virtual bool RunUnloadListenerBeforeClosing(TabContentsWrapper* contents) { 74 virtual bool RunUnloadListenerBeforeClosing(TabContentsWrapper* contents) {
75 return true; 75 return true;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm ('k') | chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698