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

Unified Diff: chrome/common/render_messages.h

Issue 11066043: Block NPAPI plug-ins in Metro mode instead of not loading them at all. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 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/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index ea5232d4505f7f4b50795e49accd69288f5b9cde..b573f429afa44c30016e708fc136362a21c077c8 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -59,6 +59,7 @@ struct ChromeViewHostMsg_GetPluginInfo_Status {
kClickToPlay,
kDisabled,
kNotFound,
+ kNpapiNotSupported,
cpu_(ooo_6.6-7.5) 2012/10/18 00:42:59 kNPAPINotSuported
Bernhard Bauer 2012/10/18 09:13:57 Done.
kOutdatedBlocked,
kOutdatedDisallowed,
kUnauthorized,
@@ -484,6 +485,11 @@ IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_OpenAboutPlugins)
IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_CouldNotLoadPlugin,
FilePath /* plugin_path */)
+#if defined(OS_WIN)
+// Tells the browser to restart in Desktop mode.
+IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_RestartInDesktopMode)
cpu_(ooo_6.6-7.5) 2012/10/18 00:42:59 Lowly renderer telling the browser to restart? I a
Bernhard Bauer 2012/10/18 09:13:57 Urgh, good point. I'm not really sure what to do h
+#endif
+
// Send a snapshot of the tab contents to the render host.
IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_Snapshot,
SkBitmap /* bitmap */)

Powered by Google App Engine
This is Rietveld 408576698