OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ |
7 | 7 |
8 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
9 #include <windows.h> | 9 #include <windows.h> |
10 #endif | 10 #endif |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "content/common/mac/font_loader.h" | 21 #include "content/common/mac/font_loader.h" |
22 #endif | 22 #endif |
23 | 23 |
24 #if defined(ENABLE_PLUGINS) | 24 #if defined(ENABLE_PLUGINS) |
25 #include "content/common/pepper_renderer_instance_data.h" | 25 #include "content/common/pepper_renderer_instance_data.h" |
26 #endif | 26 #endif |
27 | 27 |
28 class GURL; | 28 class GURL; |
29 | 29 |
30 namespace net { | 30 namespace net { |
31 class KeygenHandler; | |
32 class URLRequestContext; | 31 class URLRequestContext; |
33 class URLRequestContextGetter; | 32 class URLRequestContextGetter; |
34 } | 33 } |
35 | 34 |
36 namespace content { | 35 namespace content { |
37 class BrowserContext; | 36 class BrowserContext; |
38 class PluginServiceImpl; | 37 class PluginServiceImpl; |
39 class RenderWidgetHelper; | 38 class RenderWidgetHelper; |
40 class ResourceContext; | 39 class ResourceContext; |
41 struct WebPluginInfo; | 40 struct WebPluginInfo; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 const std::string& cookies); | 97 const std::string& cookies); |
99 | 98 |
100 void OnAre3DAPIsBlocked(int render_frame_id, | 99 void OnAre3DAPIsBlocked(int render_frame_id, |
101 const GURL& top_origin_url, | 100 const GURL& top_origin_url, |
102 ThreeDAPIType requester, | 101 ThreeDAPIType requester, |
103 bool* blocked); | 102 bool* blocked); |
104 void OnDidLose3DContext(const GURL& top_origin_url, | 103 void OnDidLose3DContext(const GURL& top_origin_url, |
105 ThreeDAPIType context_type, | 104 ThreeDAPIType context_type, |
106 int arb_robustness_status_code); | 105 int arb_robustness_status_code); |
107 | 106 |
108 void OnKeygen(uint32 key_size_index, | |
109 const std::string& challenge_string, | |
110 const GURL& url, | |
111 IPC::Message* reply_msg); | |
112 void PostKeygenToWorkerThread(IPC::Message* reply_msg, | |
113 scoped_ptr<net::KeygenHandler> keygen_handler); | |
114 void OnKeygenOnWorkerThread(scoped_ptr<net::KeygenHandler> keygen_handler, | |
115 IPC::Message* reply_msg); | |
116 | |
117 #if defined(OS_MACOSX) | 107 #if defined(OS_MACOSX) |
118 // Messages for OOP font loading. | 108 // Messages for OOP font loading. |
119 void OnLoadFont(const FontDescriptor& font, IPC::Message* reply_msg); | 109 void OnLoadFont(const FontDescriptor& font, IPC::Message* reply_msg); |
120 void SendLoadFontReply(IPC::Message* reply, FontLoader::Result* result); | 110 void SendLoadFontReply(IPC::Message* reply, FontLoader::Result* result); |
121 #elif defined(OS_WIN) | 111 #elif defined(OS_WIN) |
122 void OnPreCacheFontCharacters(const LOGFONT& log_font, | 112 void OnPreCacheFontCharacters(const LOGFONT& log_font, |
123 const base::string16& characters); | 113 const base::string16& characters); |
124 #endif | 114 #endif |
125 | 115 |
126 #if defined(ENABLE_PLUGINS) | 116 #if defined(ENABLE_PLUGINS) |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 | 174 |
185 // Whether this process is used for incognito contents. | 175 // Whether this process is used for incognito contents. |
186 bool incognito_; | 176 bool incognito_; |
187 | 177 |
188 const int render_process_id_; | 178 const int render_process_id_; |
189 }; | 179 }; |
190 | 180 |
191 } // namespace content | 181 } // namespace content |
192 | 182 |
193 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ | 183 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ |
OLD | NEW |