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

Unified Diff: chrome/browser/ui/views/about_chrome_view.cc

Issue 10384068: views: Have a more accurate name for View parent_owned accessors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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/ui/views/about_chrome_view.cc
diff --git a/chrome/browser/ui/views/about_chrome_view.cc b/chrome/browser/ui/views/about_chrome_view.cc
index c8bd1486a54e6f690ae5f4bfdda1a30557a7ae85..eff875181693cf69c7bc2746f63c973aeacf25f1 100644
--- a/chrome/browser/ui/views/about_chrome_view.cc
+++ b/chrome/browser/ui/views/about_chrome_view.cc
@@ -143,23 +143,23 @@ void AboutChromeView::Init() {
// Views we will add to the *parent* of this dialog, since it will display
// next to the buttons which we don't draw ourselves.
throbber_.reset(new views::Throbber(50, true));
- throbber_->set_parent_owned(false);
+ throbber_->set_owned_by_client();
throbber_->SetVisible(false);
SkBitmap* success_image = rb.GetBitmapNamed(IDR_UPDATE_UPTODATE);
success_indicator_.SetImage(*success_image);
- success_indicator_.set_parent_owned(false);
+ success_indicator_.set_owned_by_client();
SkBitmap* update_available_image = rb.GetBitmapNamed(IDR_UPDATE_AVAILABLE);
update_available_indicator_.SetImage(*update_available_image);
- update_available_indicator_.set_parent_owned(false);
+ update_available_indicator_.set_owned_by_client();
SkBitmap* timeout_image = rb.GetBitmapNamed(IDR_UPDATE_FAIL);
timeout_indicator_.SetImage(*timeout_image);
- timeout_indicator_.set_parent_owned(false);
+ timeout_indicator_.set_owned_by_client();
update_label_.SetVisible(false);
- update_label_.set_parent_owned(false);
+ update_label_.set_owned_by_client();
// Regular view controls we draw by ourself. First, we add the background
// image for the dialog. We have two different background bitmaps, one for
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698