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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents.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/ui/tab_contents/tab_contents.cc
diff --git a/chrome/browser/ui/tab_contents/tab_contents.cc b/chrome/browser/ui/tab_contents/tab_contents.cc
index 47b894d849450a6c76cb5ebbfa4d0ac3fa0a79c7..ead2ad46594b860c44eb381fdecc5504f6ac1e35 100644
--- a/chrome/browser/ui/tab_contents/tab_contents.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc
@@ -142,7 +142,7 @@ TabContents::TabContents(WebContents* contents)
#if defined(OS_WIN)
// Metro mode Chrome on Windows does not support plugins. Avoid registering
// the PluginObserver so we don't popup plugin-related infobars.
- if (!base::win::GetMetroModule())
+ if (!base::win::IsMetroProcess())
plugin_observer_.reset(new PluginObserver(this));
#else
plugin_observer_.reset(new PluginObserver(this));
« no previous file with comments | « chrome/browser/ui/browser_win.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_views_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698