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

Unified Diff: views/controls/button/menu_button.cc

Issue 333010: Implement keyboard access between bookmarks and toolbar. (Closed)
Patch Set: Add more null checks Created 11 years 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 | « views/controls/button/menu_button.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/menu_button.cc
diff --git a/views/controls/button/menu_button.cc b/views/controls/button/menu_button.cc
index 7fb81cb727c1c1d213d8ec7a40ae068c41a79fc2..eb9d952590c90b5e4e0cbbb3f5b2ba73ca963299 100644
--- a/views/controls/button/menu_button.cc
+++ b/views/controls/button/menu_button.cc
@@ -35,6 +35,9 @@ static const SkBitmap* kMenuMarker = NULL;
static const int kMenuMarkerPaddingLeft = 3;
static const int kMenuMarkerPaddingRight = -1;
+// static
+const char MenuButton::kViewClassName[] = "views/MenuButton";
+
////////////////////////////////////////////////////////////////////////////////
//
// MenuButton - constructors, destructors, initialization
@@ -252,4 +255,8 @@ bool MenuButton::GetAccessibleState(AccessibilityTypes::State* state) {
return true;
}
+std::string MenuButton::GetClassName() const {
+ return kViewClassName;
+}
+
} // namespace views
« no previous file with comments | « views/controls/button/menu_button.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698