summaryrefslogtreecommitdiffstats
path: root/chrome/views/controller.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-20 23:03:14 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-20 23:03:14 +0000
commit1fc025209fbaeb2eb91cfeac8dbced8bc493f3b2 (patch)
tree13faf73a68138e0cd30e7b628a677ebb0422aa8c /chrome/views/controller.h
parent91f57782b0dd7a847b8d31020003f00099366545 (diff)
downloadchromium_src-1fc025209fbaeb2eb91cfeac8dbced8bc493f3b2.zip
chromium_src-1fc025209fbaeb2eb91cfeac8dbced8bc493f3b2.tar.gz
chromium_src-1fc025209fbaeb2eb91cfeac8dbced8bc493f3b2.tar.bz2
Rework the command updater to not be dependent on views::Button (needed for porting).
TEST=make sure back/forward buttons still enable/disable correctly depending on the length of the back/forward navigation list. Review URL: http://codereview.chromium.org/18343 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/controller.h')
-rw-r--r--chrome/views/controller.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/chrome/views/controller.h b/chrome/views/controller.h
index 17edadf..edd9a1c 100644
--- a/chrome/views/controller.h
+++ b/chrome/views/controller.h
@@ -7,15 +7,8 @@
#include <string>
-///////////////////////////////////////////////////////////////////////////////
-//
-// Controller class
-//
-// This is the Controller portion of a MVC pattern. It handles dispatching
-// commands, maintaining enabled state, and updating the UI as that state
-// changes.
-//
-///////////////////////////////////////////////////////////////////////////////
+// TODO(beng): remove this interface and fold it into MenuDelegate.
+
class Controller {
public:
virtual ~Controller() { }