diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-16 23:51:38 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-16 23:51:38 +0000 |
commit | c2dacc9ec41232903ba700c6aef5ef98bfcb8af8 (patch) | |
tree | 4aa4d7100862c64bdd92d70e6323001beb19edb7 /chrome/browser/ssl_manager.cc | |
parent | d66e710ec668e34271def44d7f0416260657171c (diff) | |
download | chromium_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/ssl_manager.cc')
-rw-r--r-- | chrome/browser/ssl_manager.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/ssl_manager.cc b/chrome/browser/ssl_manager.cc index d30dfc3..08ab798 100644 --- a/chrome/browser/ssl_manager.cc +++ b/chrome/browser/ssl_manager.cc @@ -46,16 +46,16 @@ SSLManager::SSLInfoBar::SSLInfoBar(SSLManager* manager, task_(task) { ResourceBundle& rb = ResourceBundle::GetSharedInstance(); if (!message.empty()) { - label_ = new ChromeViews::Label(message); + label_ = new views::Label(message); label_->SetFont(rb.GetFont(ResourceBundle::MediumFont)); - label_->SetHorizontalAlignment(ChromeViews::Label::ALIGN_LEFT); + label_->SetHorizontalAlignment(views::Label::ALIGN_LEFT); AddChildViewLeading(label_); } if (!link_text.empty()) { DCHECK(task) << L"Link and no task"; // What do you want to do when users // click the link?? - link_ = new ChromeViews::Link(link_text); + link_ = new views::Link(link_text); link_->SetFont(rb.GetFont(ResourceBundle::MediumFont)); link_->SetController(this); AddChildViewTrailing(link_); @@ -77,7 +77,7 @@ const std::wstring SSLManager::SSLInfoBar::GetMessageText() const { return label_->GetText(); } -void SSLManager::SSLInfoBar::LinkActivated(ChromeViews::Link* source, +void SSLManager::SSLInfoBar::LinkActivated(views::Link* source, int event_flags) { if (task_.get()) { task_->Run(); |