OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ | 5 #ifndef CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ |
6 #define CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ | 6 #define CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ |
7 | 7 |
8 #include "base/clipboard.h" | 8 #include "base/clipboard.h" |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/gfx/rect.h" | 10 #include "base/gfx/rect.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 const std::vector<uint8>& message); | 97 const std::vector<uint8>& message); |
98 void OnPluginSyncMessage(const FilePath& plugin_path, | 98 void OnPluginSyncMessage(const FilePath& plugin_path, |
99 const std::vector<uint8>& message, | 99 const std::vector<uint8>& message, |
100 std::vector<uint8> *retval); | 100 std::vector<uint8> *retval); |
101 void OnPluginFileDialog(const IPC::Message& msg, | 101 void OnPluginFileDialog(const IPC::Message& msg, |
102 bool multiple_files, | 102 bool multiple_files, |
103 const std::wstring& title, | 103 const std::wstring& title, |
104 const std::wstring& filter, | 104 const std::wstring& filter, |
105 uint32 user_data); | 105 uint32 user_data); |
106 | 106 |
107 #if defined(OS_WIN) | |
108 // Cache fonts for the renderer. See ResourceMessageFilter::OnLoadFont | 107 // Cache fonts for the renderer. See ResourceMessageFilter::OnLoadFont |
109 // implementation for more details | 108 // implementation for more details |
110 void OnLoadFont(LOGFONT font); | 109 void OnLoadFont(LOGFONT font); |
111 #endif | |
112 | |
113 void OnGetScreenInfo(gfx::NativeView window, | 110 void OnGetScreenInfo(gfx::NativeView window, |
114 webkit_glue::ScreenInfo* results); | 111 webkit_glue::ScreenInfo* results); |
115 void OnGetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins); | 112 void OnGetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins); |
116 void OnGetPluginPath(const GURL& url, | 113 void OnGetPluginPath(const GURL& url, |
117 const std::string& mime_type, | 114 const std::string& mime_type, |
118 const std::string& clsid, | 115 const std::string& clsid, |
119 FilePath* filename, | 116 FilePath* filename, |
120 std::string* actual_mime_type); | 117 std::string* actual_mime_type); |
121 void OnOpenChannelToPlugin(const GURL& url, | 118 void OnOpenChannelToPlugin(const GURL& url, |
122 const std::string& mime_type, | 119 const std::string& mime_type, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 // Contextual information to be used for requests created here. | 195 // Contextual information to be used for requests created here. |
199 scoped_refptr<URLRequestContext> request_context_; | 196 scoped_refptr<URLRequestContext> request_context_; |
200 | 197 |
201 // Save the profile pointer so that notification observer can be added. | 198 // Save the profile pointer so that notification observer can be added. |
202 Profile* profile_; | 199 Profile* profile_; |
203 | 200 |
204 scoped_refptr<RenderWidgetHelper> render_widget_helper_; | 201 scoped_refptr<RenderWidgetHelper> render_widget_helper_; |
205 }; | 202 }; |
206 | 203 |
207 #endif // CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ | 204 #endif // CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ |
OLD | NEW |