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

Unified Diff: ui/views/controls/button/text_button.h

Issue 10513009: Indicate focused state on text buttons with blue outline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment. Created 8 years, 6 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
« no previous file with comments | « ui/base/native_theme/native_theme_base.cc ('k') | ui/views/controls/button/text_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/text_button.h
diff --git a/ui/views/controls/button/text_button.h b/ui/views/controls/button/text_button.h
index dcb78ca40c6a9965f61972861da69e80d4a1df75..ba78db14781e72ee4845e726a98d5097043508a7 100644
--- a/ui/views/controls/button/text_button.h
+++ b/ui/views/controls/button/text_button.h
@@ -401,6 +401,9 @@ class VIEWS_EXPORT NativeTextButton : public TextButton {
explicit NativeTextButton(ButtonListener* listener);
NativeTextButton(ButtonListener* listener, const string16& text);
+ // Overridden from View:
+ virtual void OnPaintFocusBorder(gfx::Canvas* canvas) OVERRIDE;
+
// Overridden from TextButton:
virtual gfx::Size GetMinimumSize() OVERRIDE;
virtual std::string GetClassName() const OVERRIDE;
@@ -408,9 +411,6 @@ class VIEWS_EXPORT NativeTextButton : public TextButton {
private:
void Init();
- // Overridden from View:
- virtual void OnPaintFocusBorder(gfx::Canvas* canvas) OVERRIDE;
-
// Overridden from TextButton:
virtual void GetExtraParams(
ui::NativeTheme::ExtraParams* params) const OVERRIDE;
« no previous file with comments | « ui/base/native_theme/native_theme_base.cc ('k') | ui/views/controls/button/text_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698