| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ | 43 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ |
| 44 #define CHROME_COMMON_RENDER_MESSAGES_H_ | 44 #define CHROME_COMMON_RENDER_MESSAGES_H_ |
| 45 | 45 |
| 46 // This enum is inside a struct so that we can forward-declare the struct in | 46 // This enum is inside a struct so that we can forward-declare the struct in |
| 47 // others headers without having to include this one. | 47 // others headers without having to include this one. |
| 48 struct ChromeViewHostMsg_GetPluginInfo_Status { | 48 struct ChromeViewHostMsg_GetPluginInfo_Status { |
| 49 enum Value { | 49 enum Value { |
| 50 kAllowed, | 50 kAllowed, |
| 51 kBlocked, | 51 kBlocked, |
| 52 kBlockedByPolicy, | 52 kBlockedByPolicy, |
| 53 kClickToPlay, | |
| 54 kDisabled, | 53 kDisabled, |
| 55 kNotFound, | 54 kNotFound, |
| 56 kNPAPINotSupported, | 55 kNPAPINotSupported, |
| 57 kOutdatedBlocked, | 56 kOutdatedBlocked, |
| 58 kOutdatedDisallowed, | 57 kOutdatedDisallowed, |
| 59 kPlayImportantContent, | 58 kPlayImportantContent, |
| 60 kUnauthorized, | 59 kUnauthorized, |
| 61 }; | 60 }; |
| 62 | 61 |
| 63 ChromeViewHostMsg_GetPluginInfo_Status() : value(kAllowed) {} | 62 ChromeViewHostMsg_GetPluginInfo_Status() : value(kAllowed) {} |
| (...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 | 665 |
| 667 #if defined(ENABLE_PLUGINS) | 666 #if defined(ENABLE_PLUGINS) |
| 668 // Sent by the renderer to check if crash reporting is enabled. | 667 // Sent by the renderer to check if crash reporting is enabled. |
| 669 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, | 668 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
| 670 bool /* enabled */) | 669 bool /* enabled */) |
| 671 #endif | 670 #endif |
| 672 | 671 |
| 673 // Sent by the renderer to indicate that a fields trial has been activated. | 672 // Sent by the renderer to indicate that a fields trial has been activated. |
| 674 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated, | 673 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated, |
| 675 std::string /* name */) | 674 std::string /* name */) |
| OLD | NEW |