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

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

Issue 8585031: [cros, Aura] Make screen_mode static variable in StatusAreaViewChromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 1 month 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_LOGIN_HTML_DIALOG_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 10 matching lines...) Expand all
21 // Launches html dialog during OOBE/Login with specified URL and title. 21 // Launches html dialog during OOBE/Login with specified URL and title.
22 class LoginHtmlDialog : public HtmlDialogUIDelegate, 22 class LoginHtmlDialog : public HtmlDialogUIDelegate,
23 public content::NotificationObserver { 23 public content::NotificationObserver {
24 public: 24 public:
25 // Delegate class to get notifications from the dialog. 25 // Delegate class to get notifications from the dialog.
26 class Delegate { 26 class Delegate {
27 public: 27 public:
28 virtual ~Delegate() {} 28 virtual ~Delegate() {}
29 29
30 // Called when dialog has been closed. 30 // Called when dialog has been closed.
31 virtual void OnDialogClosed() = 0; 31 virtual void OnDialogClosed();
32 }; 32 };
33 33
34 enum Style { 34 enum Style {
35 STYLE_GENERIC, // Use generic CreateChromeWindow as a host. 35 STYLE_GENERIC, // Use generic CreateChromeWindow as a host.
36 STYLE_BUBBLE // Use chromeos::BubbleWindow as a host. 36 STYLE_BUBBLE // Use chromeos::BubbleWindow as a host.
37 }; 37 };
38 38
39 LoginHtmlDialog(Delegate* delegate, 39 LoginHtmlDialog(Delegate* delegate,
40 gfx::NativeWindow parent_window, 40 gfx::NativeWindow parent_window,
41 const std::wstring& title, 41 const std::wstring& title,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Dialog display size. 88 // Dialog display size.
89 int width_; 89 int width_;
90 int height_; 90 int height_;
91 91
92 DISALLOW_COPY_AND_ASSIGN(LoginHtmlDialog); 92 DISALLOW_COPY_AND_ASSIGN(LoginHtmlDialog);
93 }; 93 };
94 94
95 } // namespace chromeos 95 } // namespace chromeos
96 96
97 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_ 97 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698