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

Side by Side Diff: chrome/browser/tabs/default_tab_handler.cc

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
« no previous file with comments | « chrome/browser/tabs/default_tab_handler.h ('k') | chrome/browser/tabs/pinned_tab_codec.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/tabs/default_tab_handler.h" 5 #include "chrome/browser/tabs/default_tab_handler.h"
6 #include "chrome/browser/tabs/tab_strip_model.h" 6 #include "chrome/browser/tabs/tab_strip_model.h"
7 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
8 8
9 //////////////////////////////////////////////////////////////////////////////// 9 ////////////////////////////////////////////////////////////////////////////////
10 // DefaultTabHandler, public: 10 // DefaultTabHandler, public:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 54
55 int DefaultTabHandler::GetDragActions() const { 55 int DefaultTabHandler::GetDragActions() const {
56 return delegate_->AsBrowser()->GetDragActions(); 56 return delegate_->AsBrowser()->GetDragActions();
57 } 57 }
58 58
59 TabContentsWrapper* DefaultTabHandler::CreateTabContentsForURL( 59 TabContentsWrapper* DefaultTabHandler::CreateTabContentsForURL(
60 const GURL& url, 60 const GURL& url,
61 const GURL& referrer, 61 const GURL& referrer,
62 Profile* profile, 62 Profile* profile,
63 PageTransition::Type transition, 63 content::PageTransition transition,
64 bool defer_load, 64 bool defer_load,
65 SiteInstance* instance) const { 65 SiteInstance* instance) const {
66 return delegate_->AsBrowser()->CreateTabContentsForURL(url, 66 return delegate_->AsBrowser()->CreateTabContentsForURL(url,
67 referrer, 67 referrer,
68 profile, 68 profile,
69 transition, 69 transition,
70 defer_load, 70 defer_load,
71 instance); 71 instance);
72 } 72 }
73 73
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 delegate_->AsBrowser()->TabStripEmpty(); 176 delegate_->AsBrowser()->TabStripEmpty();
177 } 177 }
178 178
179 //////////////////////////////////////////////////////////////////////////////// 179 ////////////////////////////////////////////////////////////////////////////////
180 // TabHandler, public: 180 // TabHandler, public:
181 181
182 // static 182 // static
183 TabHandler* TabHandler::CreateTabHandler(TabHandlerDelegate* delegate) { 183 TabHandler* TabHandler::CreateTabHandler(TabHandlerDelegate* delegate) {
184 return new DefaultTabHandler(delegate); 184 return new DefaultTabHandler(delegate);
185 } 185 }
OLDNEW
« no previous file with comments | « chrome/browser/tabs/default_tab_handler.h ('k') | chrome/browser/tabs/pinned_tab_codec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698