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

Unified Diff: chrome/browser/plugins/plugin_observer.cc

Issue 136643006: Clean up some ifdefs around Win Aura. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 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/plugins/plugin_observer.cc
===================================================================
--- chrome/browser/plugins/plugin_observer.cc (revision 248569)
+++ chrome/browser/plugins/plugin_observer.cc (working copy)
@@ -185,7 +185,7 @@
void PluginObserver::RenderFrameCreated(
content::RenderFrameHost* render_frame_host) {
-#if defined(USE_AURA) && defined(OS_WIN)
+#if defined(OS_WIN)
// If the window belongs to the Ash desktop, before we navigate we need
// to tell the renderview that NPAPI plugins are not supported so it does
// not try to instantiate them. The final decision is actually done in
« no previous file with comments | « chrome/browser/lifetime/application_lifetime.cc ('k') | chrome/browser/profiles/avatar_menu_actions_desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698