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

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

Issue 10171006: Convert more users away from DOMView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 13 matching lines...) Expand all
24 class URLRequestJob; 24 class URLRequestJob;
25 } // namespace net 25 } // namespace net
26 26
27 namespace chromeos { 27 namespace chromeos {
28 28
29 class ViewScreenDelegate; 29 class ViewScreenDelegate;
30 30
31 // Class that displays screen contents: page and throbber while waiting. 31 // Class that displays screen contents: page and throbber while waiting.
32 class RegistrationView : public WebPageView { 32 class RegistrationView : public WebPageView {
33 public: 33 public:
34 RegistrationView() : dom_view_(new WebPageDomView()) {} 34 explicit RegistrationView(content::BrowserContext* browser_context);
35 35
36 protected: 36 protected:
37 virtual WebPageDomView* dom_view() OVERRIDE; 37 virtual WebPageDomView* dom_view() OVERRIDE;
38 38
39 private: 39 private:
40 // View that renders page. 40 // View that renders page.
41 WebPageDomView* dom_view_; 41 WebPageDomView* dom_view_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(RegistrationView); 43 DISALLOW_COPY_AND_ASSIGN(RegistrationView);
44 }; 44 };
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual void CloseScreen(ScreenObserver::ExitCodes code) OVERRIDE; 76 virtual void CloseScreen(ScreenObserver::ExitCodes code) OVERRIDE;
77 77
78 UnhandledKeyboardEventHandler unhandled_keyboard_handler_; 78 UnhandledKeyboardEventHandler unhandled_keyboard_handler_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(RegistrationScreen); 80 DISALLOW_COPY_AND_ASSIGN(RegistrationScreen);
81 }; 81 };
82 82
83 } // namespace chromeos 83 } // namespace chromeos
84 84
85 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ 85 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_html_dialog.cc ('k') | chrome/browser/chromeos/login/registration_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698