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, |
53 kDisabled, | 54 kDisabled, |
54 kNotFound, | 55 kNotFound, |
55 kNPAPINotSupported, | 56 kNPAPINotSupported, |
56 kOutdatedBlocked, | 57 kOutdatedBlocked, |
57 kOutdatedDisallowed, | 58 kOutdatedDisallowed, |
58 kPlayImportantContent, | 59 kPlayImportantContent, |
59 kUnauthorized, | 60 kUnauthorized, |
60 }; | 61 }; |
61 | 62 |
62 ChromeViewHostMsg_GetPluginInfo_Status() : value(kAllowed) {} | 63 ChromeViewHostMsg_GetPluginInfo_Status() : value(kAllowed) {} |
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 // process so that they can be assigned to an Instant renderer. | 666 // process so that they can be assigned to an Instant renderer. |
666 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, | 667 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, |
667 std::vector<GURL> /* search_urls */, | 668 std::vector<GURL> /* search_urls */, |
668 GURL /* new_tab_page_url */) | 669 GURL /* new_tab_page_url */) |
669 | 670 |
670 #if defined(ENABLE_PLUGINS) | 671 #if defined(ENABLE_PLUGINS) |
671 // Sent by the renderer to check if crash reporting is enabled. | 672 // Sent by the renderer to check if crash reporting is enabled. |
672 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, | 673 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
673 bool /* enabled */) | 674 bool /* enabled */) |
674 #endif | 675 #endif |
OLD | NEW |