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

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

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 | « chrome/chrome_browser.gypi ('k') | views/controls/button/menu_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/menu_button.h
diff --git a/views/controls/button/menu_button.h b/views/controls/button/menu_button.h
index 1f5f8e8dd90c5a19c22d82bb3752f3d544c40ae4..44a93c61eed72b535c710169b32b00e1b5ee598d 100644
--- a/views/controls/button/menu_button.h
+++ b/views/controls/button/menu_button.h
@@ -5,6 +5,8 @@
#ifndef VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_
#define VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_
+#include <string>
+
#include "app/gfx/font.h"
#include "base/time.h"
#include "views/background.h"
@@ -25,6 +27,9 @@ class ViewMenuDelegate;
////////////////////////////////////////////////////////////////////////////////
class MenuButton : public TextButton {
public:
+ // The menu button's class name.
+ static const char kViewClassName[];
+
//
// Create a Button
MenuButton(ButtonListener* listener,
@@ -56,6 +61,9 @@ class MenuButton : public TextButton {
virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
virtual bool GetAccessibleState(AccessibilityTypes::State* state);
+ // Returns views/MenuButton.
+ virtual std::string GetClassName() const;
+
protected:
// True if the menu is currently visible.
bool menu_visible_;
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | views/controls/button/menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698