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

Side by Side Diff: chrome/browser/chromeos/login/registration_screen.h

Issue 8772041: Remove deprecated TabContentsDelegate::OpenURLFromTab variant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years 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/bug_report_util.cc ('k') | chrome/browser/chromeos/login/registration_screen.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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 static net::URLRequestJob* Factory(net::URLRequest* request, 74 static net::URLRequestJob* Factory(net::URLRequest* request,
75 const std::string& scheme); 75 const std::string& scheme);
76 76
77 private: 77 private:
78 // ViewScreen implementation: 78 // ViewScreen implementation:
79 virtual void CreateView() OVERRIDE; 79 virtual void CreateView() OVERRIDE;
80 virtual void Refresh() OVERRIDE; 80 virtual void Refresh() OVERRIDE;
81 virtual RegistrationView* AllocateView() OVERRIDE; 81 virtual RegistrationView* AllocateView() OVERRIDE;
82 82
83 // TabContentsDelegate implementation: 83 // TabContentsDelegate implementation:
84 // Deprecated. Please use two-argument variant.
85 // TODO(adriansc): Remove this method once refactoring changed all call sites.
86 virtual TabContents* OpenURLFromTab(
87 TabContents* source,
88 const GURL& url,
89 const GURL& referrer,
90 WindowOpenDisposition disposition,
91 content::PageTransition transition) OVERRIDE;
92 virtual TabContents* OpenURLFromTab(TabContents* source, 84 virtual TabContents* OpenURLFromTab(TabContents* source,
93 const OpenURLParams& params) OVERRIDE; 85 const OpenURLParams& params) OVERRIDE;
94 86
95 virtual void HandleKeyboardEvent( 87 virtual void HandleKeyboardEvent(
96 const NativeWebKeyboardEvent& event) OVERRIDE; 88 const NativeWebKeyboardEvent& event) OVERRIDE;
97 89
98 // WebPageScreen implementation: 90 // WebPageScreen implementation:
99 virtual void CloseScreen(ScreenObserver::ExitCodes code) OVERRIDE; 91 virtual void CloseScreen(ScreenObserver::ExitCodes code) OVERRIDE;
100 92
101 DISALLOW_COPY_AND_ASSIGN(RegistrationScreen); 93 DISALLOW_COPY_AND_ASSIGN(RegistrationScreen);
102 }; 94 };
103 95
104 } // namespace chromeos 96 } // namespace chromeos
105 97
106 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ 98 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_
OLDNEW
« no previous file with comments | « chrome/browser/bug_report_util.cc ('k') | chrome/browser/chromeos/login/registration_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698