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

Unified Diff: chrome/browser/shell_integration_win.cc

Issue 10560015: Implement base::win::IsMetroProcess. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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/shell_integration_win.cc
diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc
index 93f1f2f082444dbec59cb155c432f618a0947800..97ee657998ad2aa7a531196af00719271736eee4 100644
--- a/chrome/browser/shell_integration_win.cc
+++ b/chrome/browser/shell_integration_win.cc
@@ -391,7 +391,7 @@ bool ActivateApplication(const string16& app_id) {
// Not supported when running in metro mode.
// TODO(grt) This should perhaps check that this Chrome isn't in metro mode
// or, if it is, that |app_id| doesn't identify this Chrome.
- if (base::win::GetMetroModule())
+ if (base::win::IsMetroProcess())
return false;
// Delegate to metro_driver, which has the brains to invoke the activation
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/tab_contents/render_view_context_menu_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698