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

Unified Diff: printing/print_destination_win.cc

Issue 11411286: Decouple IsMetroProcess() calls, introducing IsSingleWindowMetroMode(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: keep base/win/metro.h in omnibox_view_win.cc for IsTSFAwareRequired() Created 8 years 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 | « printing/DEPS ('k') | printing/printing.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/print_destination_win.cc
diff --git a/printing/print_destination_win.cc b/printing/print_destination_win.cc
index dc99469121a6acd654d48964677f4c467b8df263..f6ffe74bb6901120ad10b1a11c4bab31e8c496ec 100644
--- a/printing/print_destination_win.cc
+++ b/printing/print_destination_win.cc
@@ -5,6 +5,7 @@
#include "printing/print_destination_interface.h"
#include "base/win/metro.h"
+#include "win8/util/win8_util.h"
namespace printing {
@@ -43,7 +44,7 @@ class PrintDestinationWin : public PrintDestinationInterface {
PrintDestinationInterface* CreatePrintDestination() {
// We currently only support the Metro print destination.
- if (base::win::IsMetroProcess())
+ if (win8::IsSingleWindowMetroMode())
return new PrintDestinationWin;
else
return NULL;
« no previous file with comments | « printing/DEPS ('k') | printing/printing.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698