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

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

Issue 243703003: Removes win8_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar Created 6 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/ui/browser.h ('k') | chrome/browser/ui/browser_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 27c6269fa4079f41cb2aad4ab6b55f06a3651156..9d9a8e7180e824b5b18a1f87b9849bdad5d2f68d 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -85,7 +85,6 @@
#if defined(OS_WIN)
#include "chrome/browser/ui/metro_pin_tab_helper_win.h"
-#include "win8/util/win8_util.h"
#endif
#if defined(ENABLE_PRINTING)
@@ -535,7 +534,6 @@ void Stop(Browser* browser) {
browser->tab_strip_model()->GetActiveWebContents()->Stop();
}
-#if !defined(OS_WIN)
void NewWindow(Browser* browser) {
NewEmptyWindow(browser->profile()->GetOriginalProfile(),
browser->host_desktop_type());
@@ -545,7 +543,6 @@ void NewIncognitoWindow(Browser* browser) {
NewEmptyWindow(browser->profile()->GetOffTheRecordProfile(),
browser->host_desktop_type());
}
-#endif // OS_WIN
void CloseWindow(Browser* browser) {
content::RecordAction(UserMetricsAction("CloseWindow"));
@@ -1010,12 +1007,7 @@ void ToggleDevToolsWindow(Browser* browser, DevToolsToggleAction action) {
bool CanOpenTaskManager() {
#if defined(ENABLE_TASK_MANAGER)
-#if defined(OS_WIN)
- // In metro we can't display the task manager, as it is a native window.
- return !win8::IsSingleWindowMetroMode();
-#else
return true;
-#endif
#else
return false;
#endif
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698