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

Unified Diff: chrome/browser/ui/browser_command_controller.h

Issue 264303006: Support full-screen and single-profile avatar bubbles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Never enable the command on ChromeOS. Created 6 years, 7 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/ui/browser.cc ('k') | chrome/browser/ui/browser_command_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_command_controller.h
diff --git a/chrome/browser/ui/browser_command_controller.h b/chrome/browser/ui/browser_command_controller.h
index da9e995736d43b310fa29ec520c3ff71051d0ebc..bfba09e1daa495da9aff52ce2a8d7f1f2bcfd499 100644
--- a/chrome/browser/ui/browser_command_controller.h
+++ b/chrome/browser/ui/browser_command_controller.h
@@ -11,7 +11,6 @@
#include "base/prefs/pref_member.h"
#include "chrome/browser/command_updater.h"
#include "chrome/browser/command_updater_delegate.h"
-#include "chrome/browser/profiles/profile_info_cache_observer.h"
#include "chrome/browser/sessions/tab_restore_service_observer.h"
#include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
#include "ui/base/window_open_disposition.h"
@@ -19,7 +18,6 @@
class Browser;
class BrowserWindow;
class Profile;
-class ProfileManager;
namespace content {
struct NativeWebKeyboardEvent;
@@ -28,11 +26,10 @@ struct NativeWebKeyboardEvent;
namespace chrome {
class BrowserCommandController : public CommandUpdaterDelegate,
- public ProfileInfoCacheObserver,
public TabStripModelObserver,
public TabRestoreServiceObserver {
public:
- BrowserCommandController(Browser* browser, ProfileManager* profile_manager);
+ explicit BrowserCommandController(Browser* browser);
virtual ~BrowserCommandController();
CommandUpdater* command_updater() { return &command_updater_; }
@@ -84,11 +81,6 @@ class BrowserCommandController : public CommandUpdaterDelegate,
int id,
WindowOpenDisposition disposition) OVERRIDE;
- // Overridden from ProfileInfoCacheObserver:
- virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE;
- virtual void OnProfileWasRemoved(const base::FilePath& profile_path,
- const base::string16& profile_name) OVERRIDE;
-
// Overridden from TabStripModelObserver:
virtual void TabInsertedAt(content::WebContents* contents,
int index,
@@ -141,10 +133,6 @@ class BrowserCommandController : public CommandUpdaterDelegate,
// window is in.
void UpdateCommandsForFullscreenMode();
- // Update commands whose state depends on whether multiple profiles are
- // allowed.
- void UpdateCommandsForMultipleProfiles();
-
// Updates the printing command state.
void UpdatePrintingState();
@@ -175,8 +163,6 @@ class BrowserCommandController : public CommandUpdaterDelegate,
Browser* browser_;
- ProfileManager* profile_manager_;
-
// The CommandUpdater that manages the browser window commands.
CommandUpdater command_updater_;
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_command_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698