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

Unified Diff: chrome/browser/views/go_button.h

Issue 62154: Implement stop/go button for Linux (Closed)
Patch Set: Add a small DCHECK => DCHECK_NE change. Created 11 years, 8 months 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/browser/gtk/go_button_gtk_unittest.cc ('k') | chrome/browser/views/go_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/go_button.h
diff --git a/chrome/browser/views/go_button.h b/chrome/browser/views/go_button.h
index a830191ef46d38bb2e4ec6aa77217a007359a45a..cdd5bead5034689a58f5eaaa1ca072bce34243d1 100644
--- a/chrome/browser/views/go_button.h
+++ b/chrome/browser/views/go_button.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_VIEWS_GO_BUTTON_H__
#define CHROME_BROWSER_VIEWS_GO_BUTTON_H__
-#include "chrome/views/controls/button/image_button.h"
+#include "base/basictypes.h"
#include "base/task.h"
+#include "chrome/views/controls/button/image_button.h"
class Browser;
class LocationBarView;
@@ -26,11 +27,11 @@ class LocationBarView;
class GoButton : public views::ToggleImageButton,
public views::ButtonListener {
public:
+ typedef enum Mode { MODE_GO = 0, MODE_STOP };
+
GoButton(LocationBarView* location_bar, Browser* Browser);
virtual ~GoButton();
- typedef enum Mode { MODE_GO = 0, MODE_STOP };
-
// Force the button state
void ChangeMode(Mode mode);
@@ -60,7 +61,7 @@ class GoButton : public views::ToggleImageButton,
// The currently-visible mode - this may different from the intended mode
Mode visible_mode_;
- DISALLOW_EVIL_CONSTRUCTORS(GoButton);
+ DISALLOW_COPY_AND_ASSIGN(GoButton);
};
#endif // CHROME_BROWSER_VIEWS_GO_BUTTON_H__
« no previous file with comments | « chrome/browser/gtk/go_button_gtk_unittest.cc ('k') | chrome/browser/views/go_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698