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, |
| 58 kPlayImportantContent, |
59 kUnauthorized, | 59 kUnauthorized, |
60 }; | 60 }; |
61 | 61 |
62 ChromeViewHostMsg_GetPluginInfo_Status() : value(kAllowed) {} | 62 ChromeViewHostMsg_GetPluginInfo_Status() : value(kAllowed) {} |
63 | 63 |
64 Value value; | 64 Value value; |
65 }; | 65 }; |
66 | 66 |
67 namespace IPC { | 67 namespace IPC { |
68 | 68 |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
663 // process so that they can be assigned to an Instant renderer. | 663 // process so that they can be assigned to an Instant renderer. |
664 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, | 664 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, |
665 std::vector<GURL> /* search_urls */, | 665 std::vector<GURL> /* search_urls */, |
666 GURL /* new_tab_page_url */) | 666 GURL /* new_tab_page_url */) |
667 | 667 |
668 #if defined(ENABLE_PLUGINS) | 668 #if defined(ENABLE_PLUGINS) |
669 // Sent by the renderer to check if crash reporting is enabled. | 669 // Sent by the renderer to check if crash reporting is enabled. |
670 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, | 670 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
671 bool /* enabled */) | 671 bool /* enabled */) |
672 #endif | 672 #endif |
OLD | NEW |