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

Unified Diff: chrome/browser/ui/browser_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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/tab_contents/tab_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_win.cc
diff --git a/chrome/browser/ui/browser_win.cc b/chrome/browser/ui/browser_win.cc
index 4f307a4e33bf3eaaaea6fdd25173e73b325c3ccb..9f67cb59cb1fd74a24363604d506af2e5ce6097c 100644
--- a/chrome/browser/ui/browser_win.cc
+++ b/chrome/browser/ui/browser_win.cc
@@ -39,7 +39,7 @@ void NewMetroWindow(Browser* source_browser, Profile* profile) {
} // namespace
void Browser::NewWindow() {
- if (base::win::GetMetroModule()) {
+ if (base::win::IsMetroProcess()) {
NewMetroWindow(this, profile_->GetOriginalProfile());
return;
}
@@ -47,7 +47,7 @@ void Browser::NewWindow() {
}
void Browser::NewIncognitoWindow() {
- if (base::win::GetMetroModule()) {
+ if (base::win::IsMetroProcess()) {
NewMetroWindow(this, profile_->GetOffTheRecordProfile());
return;
}
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698