From d02a669af17789501d5f78376a45c8818c69e796 Mon Sep 17 00:00:00 2001 From: "mhm@chromium.org" Date: Sun, 15 Nov 2009 03:22:17 +0000 Subject: Revert 32012-32017 git cl dcommit somehow committed all my local changes in cygwin TBR=evan BUG=none Review URL: http://codereview.chromium.org/396006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32019 0039d316-1c4b-4281-b951-d872f2087c98 --- views/controls/button/menu_button.cc | 7 ------- views/controls/button/menu_button.h | 8 -------- 2 files changed, 15 deletions(-) (limited to 'views') diff --git a/views/controls/button/menu_button.cc b/views/controls/button/menu_button.cc index eb9d952..7fb81cb 100644 --- a/views/controls/button/menu_button.cc +++ b/views/controls/button/menu_button.cc @@ -35,9 +35,6 @@ 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 @@ -255,8 +252,4 @@ bool MenuButton::GetAccessibleState(AccessibilityTypes::State* state) { return true; } -std::string MenuButton::GetClassName() const { - return kViewClassName; -} - } // namespace views diff --git a/views/controls/button/menu_button.h b/views/controls/button/menu_button.h index 44a93c6..1f5f8e8 100644 --- a/views/controls/button/menu_button.h +++ b/views/controls/button/menu_button.h @@ -5,8 +5,6 @@ #ifndef VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_ #define VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_ -#include - #include "app/gfx/font.h" #include "base/time.h" #include "views/background.h" @@ -27,9 +25,6 @@ class ViewMenuDelegate; //////////////////////////////////////////////////////////////////////////////// class MenuButton : public TextButton { public: - // The menu button's class name. - static const char kViewClassName[]; - // // Create a Button MenuButton(ButtonListener* listener, @@ -61,9 +56,6 @@ 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_; -- cgit v1.1