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

Unified Diff: chrome/browser/chromeos/login/login_web_dialog.h

Issue 10254027: chromeos: Rename LoginHtmlDialog to LoginWebDialog. (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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/login_web_dialog.h
diff --git a/chrome/browser/chromeos/login/login_html_dialog.h b/chrome/browser/chromeos/login/login_web_dialog.h
similarity index 80%
rename from chrome/browser/chromeos/login/login_html_dialog.h
rename to chrome/browser/chromeos/login/login_web_dialog.h
index 3cceb342a075ebcebc6e3b228360d686faefb69a..be885283f35c32bdc4ed9ecc00c31309385204a8 100644
--- a/chrome/browser/chromeos/login/login_html_dialog.h
+++ b/chrome/browser/chromeos/login/login_web_dialog.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_
+#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_WEB_DIALOG_H_
+#define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_WEB_DIALOG_H_
#pragma once
#include <string>
@@ -20,16 +20,17 @@ namespace chromeos {
class BubbleFrameView;
// Launches web dialog during OOBE/Login with specified URL and title.
-class LoginHtmlDialog : public WebDialogDelegate,
- public content::NotificationObserver {
+class LoginWebDialog : public WebDialogDelegate,
+ public content::NotificationObserver {
public:
// Delegate class to get notifications from the dialog.
class Delegate {
- public:
- virtual ~Delegate() {}
-
+ public:
// Called when dialog has been closed.
virtual void OnDialogClosed();
+
+ protected:
+ virtual ~Delegate() {}
};
enum Style {
@@ -37,14 +38,13 @@ class LoginHtmlDialog : public WebDialogDelegate,
STYLE_BUBBLE // Use chromeos::BubbleWindow as a host.
};
- LoginHtmlDialog(Delegate* delegate,
- gfx::NativeWindow parent_window,
- const std::wstring& title,
- const GURL& url,
- Style style);
- virtual ~LoginHtmlDialog();
+ LoginWebDialog(Delegate* delegate,
+ gfx::NativeWindow parent_window,
+ const std::wstring& title,
+ const GURL& url,
+ Style style);
+ virtual ~LoginWebDialog();
- // Shows created dialog.
void Show();
// Overrides default width/height for dialog.
@@ -94,9 +94,9 @@ class LoginHtmlDialog : public WebDialogDelegate,
int width_;
int height_;
- DISALLOW_COPY_AND_ASSIGN(LoginHtmlDialog);
+ DISALLOW_COPY_AND_ASSIGN(LoginWebDialog);
};
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_
+#endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_WEB_DIALOG_H_
« no previous file with comments | « chrome/browser/chromeos/login/login_html_dialog.cc ('k') | chrome/browser/chromeos/login/login_web_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698