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

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

Issue 82113004: Fix key navigation to cut/copy/paste zoom button on wrench menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: ui/views/controls/button/custom_button.h
diff --git a/ui/views/controls/button/custom_button.h b/ui/views/controls/button/custom_button.h
index ecb49f60a3f540b30acc84711b59ea65b4f40565..c769d1b7b57b9aea1b3d5c123256612eba16187e 100644
--- a/ui/views/controls/button/custom_button.h
+++ b/ui/views/controls/button/custom_button.h
@@ -29,6 +29,9 @@ class VIEWS_EXPORT CustomButton : public Button,
// The menu button's class name.
static const char kViewClassName[];
+ static const CustomButton* AsCustomButton(const views::View* view);
+ static CustomButton* AsCustomButton(views::View* view);
+
virtual ~CustomButton();
// Get/sets the current display state of the button.

Powered by Google App Engine
This is Rietveld 408576698