summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bar_instructions_view.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 01:39:13 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 01:39:13 +0000
commit8b9a8f156c4f0038012718378dab89416731f2f5 (patch)
tree22e90a98d3d1f3773c6cb952d35cea7000342378 /chrome/browser/views/bookmark_bar_instructions_view.h
parentdd29fbe689b366ac754837d5b2f2956650cf6e45 (diff)
downloadchromium_src-8b9a8f156c4f0038012718378dab89416731f2f5.zip
chromium_src-8b9a8f156c4f0038012718378dab89416731f2f5.tar.gz
chromium_src-8b9a8f156c4f0038012718378dab89416731f2f5.tar.bz2
Make theme change notifications auto-propagate through the view hierarchy, instead of forcing subclasses to manually call their superclass implementation. This fixes some problems where not all views would get notified of a theme change.
Make naming for theme and locale changes consistent and clear. BUG=50107 TEST=none Review URL: http://codereview.chromium.org/2878055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53736 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_bar_instructions_view.h')
-rw-r--r--chrome/browser/views/bookmark_bar_instructions_view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/bookmark_bar_instructions_view.h b/chrome/browser/views/bookmark_bar_instructions_view.h
index aa60c66..c16b536 100644
--- a/chrome/browser/views/bookmark_bar_instructions_view.h
+++ b/chrome/browser/views/bookmark_bar_instructions_view.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -37,7 +37,7 @@ class BookmarkBarInstructionsView : public views::View,
// View overrides.
virtual gfx::Size GetPreferredSize();
virtual void Layout();
- virtual void ThemeChanged();
+ virtual void OnThemeChanged();
virtual void ViewHierarchyChanged(bool is_add,
views::View* parent,
views::View* child);