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

Unified Diff: chrome/browser/gtk/browser_toolbar_gtk.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 | « no previous file | chrome/browser/gtk/browser_toolbar_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/browser_toolbar_gtk.h
diff --git a/chrome/browser/gtk/browser_toolbar_gtk.h b/chrome/browser/gtk/browser_toolbar_gtk.h
index 12230616095fcb5e59d54a6e76b9f9c2b79d655b..3f391a7b8e8fdbd1378daa9b475a59e47dbb3422 100644
--- a/chrome/browser/gtk/browser_toolbar_gtk.h
+++ b/chrome/browser/gtk/browser_toolbar_gtk.h
@@ -18,6 +18,7 @@ class BackForwardMenuModelGtk;
class Browser;
class CustomContainerButton;
class CustomDrawButton;
+class GoButtonGtk;
class LocationBar;
class LocationBarViewGtk;
class NineBox;
@@ -47,6 +48,8 @@ class BrowserToolbarGtk : public CommandUpdater::CommandObserver,
virtual LocationBar* GetLocationBar() const;
+ GoButtonGtk* GetGoButton() { return go_.get(); }
+
// Overridden from CommandUpdater::CommandObserver:
virtual void EnabledStateChangedForCommand(int id, bool enabled);
@@ -130,7 +133,7 @@ class BrowserToolbarGtk : public CommandUpdater::CommandObserver,
scoped_ptr<CustomDrawButton> reload_;
scoped_ptr<CustomDrawButton> home_; // May be NULL.
scoped_ptr<ToolbarStarToggleGtk> star_;
- scoped_ptr<CustomDrawButton> go_;
+ scoped_ptr<GoButtonGtk> go_;
scoped_ptr<CustomContainerButton> page_menu_button_, app_menu_button_;
// The model that contains the security level, text, icon to display...
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_toolbar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698