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

Unified Diff: chrome/browser/ui/fullscreen_exit_bubble.cc

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/fullscreen_exit_bubble.cc
===================================================================
--- chrome/browser/ui/fullscreen_exit_bubble.cc (revision 144460)
+++ chrome/browser/ui/fullscreen_exit_bubble.cc (working copy)
@@ -8,6 +8,7 @@
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_commands.h"
#include "grit/generated_resources.h"
#include "grit/ui_strings.h"
#include "ui/base/l10n/l10n_util.h"
@@ -108,7 +109,7 @@
}
void FullscreenExitBubble::ToggleFullscreen() {
- browser_->ExecuteCommand(IDC_FULLSCREEN);
+ chrome::ExecuteCommand(browser_, IDC_FULLSCREEN);
}
void FullscreenExitBubble::Accept() {
« no previous file with comments | « chrome/browser/ui/cocoa/toolbar/toolbar_controller_unittest.mm ('k') | chrome/browser/ui/gtk/avatar_menu_button_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698