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

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

Issue 10895: Add Terminate() to the Process object, have RenderProcessHost use this to avo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resource_dispatcher_host.cc ('k') | chrome/browser/resource_message_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/gfx/rect.h" 9 #include "base/gfx/rect.h"
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 void OnClipboardReadHTML(std::wstring* markup, GURL* src_url); 129 void OnClipboardReadHTML(std::wstring* markup, GURL* src_url);
130 void OnGetWindowRect(HWND window, gfx::Rect *rect); 130 void OnGetWindowRect(HWND window, gfx::Rect *rect);
131 void OnGetRootWindowRect(HWND window, gfx::Rect *rect); 131 void OnGetRootWindowRect(HWND window, gfx::Rect *rect);
132 void OnGetMimeTypeFromExtension(const std::wstring& ext, 132 void OnGetMimeTypeFromExtension(const std::wstring& ext,
133 std::string* mime_type); 133 std::string* mime_type);
134 void OnGetMimeTypeFromFile(const std::wstring& file_path, 134 void OnGetMimeTypeFromFile(const std::wstring& file_path,
135 std::string* mime_type); 135 std::string* mime_type);
136 void OnGetPreferredExtensionForMimeType(const std::string& mime_type, 136 void OnGetPreferredExtensionForMimeType(const std::string& mime_type,
137 std::wstring* ext); 137 std::wstring* ext);
138 void OnGetCPBrowsingContext(uint32* context); 138 void OnGetCPBrowsingContext(uint32* context);
139 void OnDuplicateSection(SharedMemoryHandle renderer_handle, 139 void OnDuplicateSection(base::SharedMemoryHandle renderer_handle,
140 SharedMemoryHandle* browser_handle); 140 base::SharedMemoryHandle* browser_handle);
141 void OnResourceTypeStats(const CacheManager::ResourceTypeStats& stats); 141 void OnResourceTypeStats(const CacheManager::ResourceTypeStats& stats);
142 142
143 // A javascript code requested to print the current page. This is done in two 143 // A javascript code requested to print the current page. This is done in two
144 // steps and this is the first step. Get the print setting right here 144 // steps and this is the first step. Get the print setting right here
145 // synchronously. It will hang the I/O completely. 145 // synchronously. It will hang the I/O completely.
146 void OnGetDefaultPrintSettings(IPC::Message* reply_msg); 146 void OnGetDefaultPrintSettings(IPC::Message* reply_msg);
147 void OnGetDefaultPrintSettingsReply( 147 void OnGetDefaultPrintSettingsReply(
148 scoped_refptr<printing::PrinterQuery> printer_query, 148 scoped_refptr<printing::PrinterQuery> printer_query,
149 IPC::Message* reply_msg); 149 IPC::Message* reply_msg);
150 // A javascript code requested to print the current page. The renderer host 150 // A javascript code requested to print the current page. The renderer host
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // Contextual information to be used for requests created here. 188 // Contextual information to be used for requests created here.
189 scoped_refptr<URLRequestContext> request_context_; 189 scoped_refptr<URLRequestContext> request_context_;
190 190
191 // Save the profile pointer so that notification observer can be added. 191 // Save the profile pointer so that notification observer can be added.
192 Profile* profile_; 192 Profile* profile_;
193 193
194 scoped_refptr<RenderWidgetHelper> render_widget_helper_; 194 scoped_refptr<RenderWidgetHelper> render_widget_helper_;
195 }; 195 };
196 196
197 #endif // CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ 197 #endif // CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__
OLDNEW
« no previous file with comments | « chrome/browser/resource_dispatcher_host.cc ('k') | chrome/browser/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698