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

Unified Diff: chrome/common/render_messages.h

Issue 134233002: Disable the Run option in context menu for blocked plugins if they were blocked by policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix 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/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 99c534ceb4d9c7b41f346768cd29710c865263bf..75aadd0686eb6fae6f3ae93cb3a23bbd09f156e2 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -64,6 +64,7 @@ struct ChromeViewHostMsg_GetPluginInfo_Status {
enum Value {
kAllowed,
kBlocked,
+ kBlockedByPolicy,
kClickToPlay,
kDisabled,
kNotFound,
@@ -120,7 +121,8 @@ struct ParamTraits<ContentSettingsPattern> {
#define IPC_MESSAGE_START ChromeMsgStart
-IPC_ENUM_TRAITS(ChromeViewHostMsg_GetPluginInfo_Status::Value)
+IPC_ENUM_TRAITS_MAX_VALUE(ChromeViewHostMsg_GetPluginInfo_Status::Value,
+ ChromeViewHostMsg_GetPluginInfo_Status::kUnauthorized)
IPC_ENUM_TRAITS(OmniboxFocusChangeReason)
IPC_ENUM_TRAITS(OmniboxFocusState)
IPC_ENUM_TRAITS(search_provider::OSDDType)
« no previous file with comments | « chrome/browser/plugins/plugin_info_message_filter.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698