Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Side by Side Diff: chrome/browser/resource_message_filter.h

Issue 14504: Get render_process_host to build on Linux by butchering a bunch of files. (Closed)
Patch Set: re-upload Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698