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

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 11 matching lines...) Expand all
22 // Launches html dialog during OOBE/Login with specified URL and title. 22 // Launches html dialog during OOBE/Login with specified URL and title.
23 class LoginHtmlDialog : public HtmlDialogUIDelegate, 23 class LoginHtmlDialog : public HtmlDialogUIDelegate,
24 public content::NotificationObserver { 24 public content::NotificationObserver {
25 public: 25 public:
26 // Delegate class to get notifications from the dialog. 26 // Delegate class to get notifications from the dialog.
27 class Delegate { 27 class Delegate {
28 public: 28 public:
29 virtual ~Delegate() {} 29 virtual ~Delegate() {}
30 30
31 // Called when dialog has been closed. 31 // Called when dialog has been closed.
32 virtual void OnDialogClosed() = 0; 32 virtual void OnDialogClosed();
33 }; 33 };
34 34
35 enum Style { 35 enum Style {
36 STYLE_GENERIC, // Use generic CreateChromeWindow as a host. 36 STYLE_GENERIC, // Use generic CreateChromeWindow as a host.
37 STYLE_BUBBLE // Use chromeos::BubbleWindow as a host. 37 STYLE_BUBBLE // Use chromeos::BubbleWindow as a host.
38 }; 38 };
39 39
40 LoginHtmlDialog(Delegate* delegate, 40 LoginHtmlDialog(Delegate* delegate,
41 gfx::NativeWindow parent_window, 41 gfx::NativeWindow parent_window,
42 const std::wstring& title, 42 const std::wstring& title,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Dialog display size. 89 // Dialog display size.
90 int width_; 90 int width_;
91 int height_; 91 int height_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(LoginHtmlDialog); 93 DISALLOW_COPY_AND_ASSIGN(LoginHtmlDialog);
94 }; 94 };
95 95
96 } // namespace chromeos 96 } // namespace chromeos
97 97
98 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_ 98 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/background_view.cc ('k') | chrome/browser/chromeos/login/login_html_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698