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

Unified Diff: chrome/browser/ui/views/location_bar/chrome_to_mobile_view.h

Issue 10677009: Move command handling and updating off Browser and onto a helper object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
Index: chrome/browser/ui/views/location_bar/chrome_to_mobile_view.h
===================================================================
--- chrome/browser/ui/views/location_bar/chrome_to_mobile_view.h (revision 144460)
+++ chrome/browser/ui/views/location_bar/chrome_to_mobile_view.h (working copy)
@@ -6,10 +6,11 @@
#define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CHROME_TO_MOBILE_VIEW_H_
#pragma once
-#include "chrome/browser/command_updater.h"
+#include "chrome/browser/command_observer.h"
#include "chrome/browser/ui/views/location_bar/touchable_location_bar_view.h"
#include "ui/views/controls/image_view.h"
+class CommandUpdater;
class LocationBarView;
namespace views {
@@ -19,14 +20,14 @@
// A Page Action image view for the Chrome To Mobile bubble.
class ChromeToMobileView : public views::ImageView,
- public CommandUpdater::CommandObserver,
+ public CommandObserver,
public TouchableLocationBarView {
public:
ChromeToMobileView(LocationBarView* location_bar_view,
CommandUpdater* command_updater);
virtual ~ChromeToMobileView();
- // CommandUpdater::CommandObserver overrides:
+ // CommandObserver overrides:
virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE;
// TouchableLocationBarView.

Powered by Google App Engine
This is Rietveld 408576698