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) |
107 // Cache fonts for the renderer. See ResourceMessageFilter::OnLoadFont | 108 // Cache fonts for the renderer. See ResourceMessageFilter::OnLoadFont |
108 // implementation for more details | 109 // implementation for more details |
109 void OnLoadFont(LOGFONT font); | 110 void OnLoadFont(LOGFONT font); |
| 111 #endif |
| 112 |
110 void OnGetScreenInfo(gfx::NativeView window, | 113 void OnGetScreenInfo(gfx::NativeView window, |
111 webkit_glue::ScreenInfo* results); | 114 webkit_glue::ScreenInfo* results); |
112 void OnGetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins); | 115 void OnGetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins); |
113 void OnGetPluginPath(const GURL& url, | 116 void OnGetPluginPath(const GURL& url, |
114 const std::string& mime_type, | 117 const std::string& mime_type, |
115 const std::string& clsid, | 118 const std::string& clsid, |
116 FilePath* filename, | 119 FilePath* filename, |
117 std::string* actual_mime_type); | 120 std::string* actual_mime_type); |
118 void OnOpenChannelToPlugin(const GURL& url, | 121 void OnOpenChannelToPlugin(const GURL& url, |
119 const std::string& mime_type, | 122 const std::string& mime_type, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 // Contextual information to be used for requests created here. | 198 // Contextual information to be used for requests created here. |
196 scoped_refptr<URLRequestContext> request_context_; | 199 scoped_refptr<URLRequestContext> request_context_; |
197 | 200 |
198 // Save the profile pointer so that notification observer can be added. | 201 // Save the profile pointer so that notification observer can be added. |
199 Profile* profile_; | 202 Profile* profile_; |
200 | 203 |
201 scoped_refptr<RenderWidgetHelper> render_widget_helper_; | 204 scoped_refptr<RenderWidgetHelper> render_widget_helper_; |
202 }; | 205 }; |
203 | 206 |
204 #endif // CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ | 207 #endif // CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ |
OLD | NEW |