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

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

Issue 7111033: Ties up OOBE controllers and WebUI handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 9 years, 6 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/chromeos/login/login_html_dialog.h" 9 #include "chrome/browser/chromeos/login/login_html_dialog.h"
10 #include "chrome/browser/chromeos/status/status_area_host.h" 10 #include "chrome/browser/chromeos/status/status_area_host.h"
11 #include "views/view.h" 11 #include "views/view.h"
12 12
13 class DOMView; 13 class DOMView;
14 class GURL; 14 class GURL;
15 class Profile; 15 class Profile;
16 class WebUI;
16 17
17 namespace views { 18 namespace views {
18 class Widget; 19 class Widget;
19 class WindowDelegate; 20 class WindowDelegate;
20 } 21 }
21 22
22 namespace chromeos { 23 namespace chromeos {
23 24
24 class StatusAreaView; 25 class StatusAreaView;
25 26
(...skipping 13 matching lines...) Expand all
39 // Overriden from views::Views: 40 // Overriden from views::Views:
40 virtual std::string GetClassName() const OVERRIDE; 41 virtual std::string GetClassName() const OVERRIDE;
41 42
42 // Overridden from StatusAreaHost: 43 // Overridden from StatusAreaHost:
43 virtual gfx::NativeWindow GetNativeWindow() const; 44 virtual gfx::NativeWindow GetNativeWindow() const;
44 45
45 // Invokes SetWindowType for the window. This is invoked during startup and 46 // Invokes SetWindowType for the window. This is invoked during startup and
46 // after we've painted. 47 // after we've painted.
47 void UpdateWindowType(); 48 void UpdateWindowType();
48 49
50 // Returns current WebUI.
51 WebUI* GetWebUI();
52
49 protected: 53 protected:
50 // Overridden from views::View: 54 // Overridden from views::View:
51 virtual void Layout() OVERRIDE; 55 virtual void Layout() OVERRIDE;
52 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; 56 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE;
53 57
54 // Overridden from StatusAreaHost: 58 // Overridden from StatusAreaHost:
55 virtual Profile* GetProfile() const OVERRIDE; 59 virtual Profile* GetProfile() const OVERRIDE;
56 virtual void ExecuteBrowserCommand(int id) const OVERRIDE; 60 virtual void ExecuteBrowserCommand(int id) const OVERRIDE;
57 virtual bool ShouldOpenButtonOptions( 61 virtual bool ShouldOpenButtonOptions(
58 const views::View* button_view) const OVERRIDE; 62 const views::View* button_view) const OVERRIDE;
(...skipping 16 matching lines...) Expand all
75 // Proxy settings dialog that can be invoked from network menu. 79 // Proxy settings dialog that can be invoked from network menu.
76 scoped_ptr<LoginHtmlDialog> proxy_settings_dialog_; 80 scoped_ptr<LoginHtmlDialog> proxy_settings_dialog_;
77 81
78 private: 82 private:
79 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); 83 DISALLOW_COPY_AND_ASSIGN(WebUILoginView);
80 }; 84 };
81 85
82 } // namespace chromeos 86 } // namespace chromeos
83 87
84 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ 88 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698