summaryrefslogtreecommitdiffstats
path: root/chrome/browser/jsmessage_box_handler.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 23:51:38 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 23:51:38 +0000
commitc2dacc9ec41232903ba700c6aef5ef98bfcb8af8 (patch)
tree4aa4d7100862c64bdd92d70e6323001beb19edb7 /chrome/browser/jsmessage_box_handler.cc
parentd66e710ec668e34271def44d7f0416260657171c (diff)
downloadchromium_src-c2dacc9ec41232903ba700c6aef5ef98bfcb8af8.zip
chromium_src-c2dacc9ec41232903ba700c6aef5ef98bfcb8af8.tar.gz
chromium_src-c2dacc9ec41232903ba700c6aef5ef98bfcb8af8.tar.bz2
Rename ChromeViews namespace to views
http://crbug.com/2188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/jsmessage_box_handler.cc')
-rw-r--r--chrome/browser/jsmessage_box_handler.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/chrome/browser/jsmessage_box_handler.cc b/chrome/browser/jsmessage_box_handler.cc
index bcb4e92..df740cc 100644
--- a/chrome/browser/jsmessage_box_handler.cc
+++ b/chrome/browser/jsmessage_box_handler.cc
@@ -46,7 +46,7 @@ JavascriptMessageBoxHandler::~JavascriptMessageBoxHandler() {
}
//////////////////////////////////////////////////////////////////////////////
-// JavascriptMessageBoxHandler, ChromeViews::DialogDelegate implementation:
+// JavascriptMessageBoxHandler, views::DialogDelegate implementation:
int JavascriptMessageBoxHandler::GetDialogButtons() const {
int dialog_buttons = 0;
@@ -119,7 +119,7 @@ bool JavascriptMessageBoxHandler::Accept() {
}
//////////////////////////////////////////////////////////////////////////////
-// JavascriptMessageBoxHandler, ChromeViews::AppModalDialogDelegate
+// JavascriptMessageBoxHandler, views::AppModalDialogDelegate
// implementation:
void JavascriptMessageBoxHandler::ShowModalDialog() {
@@ -133,8 +133,7 @@ void JavascriptMessageBoxHandler::ShowModalDialog() {
web_contents_->Activate();
HWND root_hwnd = GetAncestor(web_contents_->GetContainerHWND(), GA_ROOT);
- dialog_ =
- ChromeViews::Window::CreateChromeWindow(root_hwnd, gfx::Rect(), this);
+ dialog_ = views::Window::CreateChromeWindow(root_hwnd, gfx::Rect(), this);
dialog_->Show();
}
@@ -147,9 +146,9 @@ void JavascriptMessageBoxHandler::ActivateModalDialog() {
}
///////////////////////////////////////////////////////////////////////////////
-// JavascriptMessageBoxHandler, ChromeViews::WindowDelegate implementation:
+// JavascriptMessageBoxHandler, views::WindowDelegate implementation:
-ChromeViews::View* JavascriptMessageBoxHandler::GetContentsView() {
+views::View* JavascriptMessageBoxHandler::GetContentsView() {
return message_box_view_;
}