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

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

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/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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 private: 81 private:
82 // ViewScreen implementation: 82 // ViewScreen implementation:
83 virtual void CreateView(); 83 virtual void CreateView();
84 virtual void Refresh(); 84 virtual void Refresh();
85 virtual RegistrationView* AllocateView(); 85 virtual RegistrationView* AllocateView();
86 86
87 // TabContentsDelegate implementation: 87 // TabContentsDelegate implementation:
88 // Deprecated. Please use two-argument variant. 88 // Deprecated. Please use two-argument variant.
89 // TODO(adriansc): Remove this method once refactoring changed all call sites. 89 // TODO(adriansc): Remove this method once refactoring changed all call sites.
90 virtual TabContents* OpenURLFromTab(TabContents* source, 90 virtual TabContents* OpenURLFromTab(
91 const GURL& url, 91 TabContents* source,
92 const GURL& referrer, 92 const GURL& url,
93 WindowOpenDisposition disposition, 93 const GURL& referrer,
94 PageTransition::Type transition) OVERRIDE; 94 WindowOpenDisposition disposition,
95 content::PageTransition transition) OVERRIDE;
95 virtual TabContents* OpenURLFromTab(TabContents* source, 96 virtual TabContents* OpenURLFromTab(TabContents* source,
96 const OpenURLParams& params) OVERRIDE; 97 const OpenURLParams& params) OVERRIDE;
97 98
98 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 99 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
99 100
100 // WebPageScreen implementation: 101 // WebPageScreen implementation:
101 virtual void CloseScreen(ScreenObserver::ExitCodes code); 102 virtual void CloseScreen(ScreenObserver::ExitCodes code);
102 103
103 // Url of account creation page. Overriden by tests. 104 // Url of account creation page. Overriden by tests.
104 static scoped_ptr<GURL> host_page_url_; 105 static scoped_ptr<GURL> host_page_url_;
105 106
106 DISALLOW_COPY_AND_ASSIGN(RegistrationScreen); 107 DISALLOW_COPY_AND_ASSIGN(RegistrationScreen);
107 }; 108 };
108 109
109 } // namespace chromeos 110 } // namespace chromeos
110 111
111 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ 112 #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