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

Side by Side Diff: content/browser/renderer_host/render_message_filter.h

Issue 6480106: Add IPCs to check web copy/cut/paste for extensions with the appropriate permission bit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Move RenderView methods to match WebViewClient header. Created 9 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <windows.h> 10 #include <windows.h>
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 base::SharedMemoryHandle* handle); 176 base::SharedMemoryHandle* handle);
177 void OnDidZoomURL(const IPC::Message& message, 177 void OnDidZoomURL(const IPC::Message& message,
178 double zoom_level, 178 double zoom_level,
179 bool remember, 179 bool remember,
180 const GURL& url); 180 const GURL& url);
181 void UpdateHostZoomLevelsOnUIThread(double zoom_level, 181 void UpdateHostZoomLevelsOnUIThread(double zoom_level,
182 bool remember, 182 bool remember,
183 const GURL& url, 183 const GURL& url,
184 int render_process_id, 184 int render_process_id,
185 int render_view_id); 185 int render_view_id);
186 186
jam 2011/04/27 00:54:12 nit: no need for blank line (I realize there was o
187 void OnCanTriggerClipboardRead(const GURL& url, bool* allowed);
188 void OnCanTriggerClipboardWrite(const GURL& url, bool* allowed);
189
187 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg); 190 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg);
188 191
189 // Browser side transport DIB allocation 192 // Browser side transport DIB allocation
190 void OnAllocTransportDIB(size_t size, 193 void OnAllocTransportDIB(size_t size,
191 bool cache_in_browser, 194 bool cache_in_browser,
192 TransportDIB::Handle* result); 195 TransportDIB::Handle* result);
193 void OnFreeTransportDIB(TransportDIB::Id dib_id); 196 void OnFreeTransportDIB(TransportDIB::Id dib_id);
194 void OnCloseCurrentConnections(); 197 void OnCloseCurrentConnections();
195 void OnSetCacheMode(bool enabled); 198 void OnSetCacheMode(bool enabled);
196 void OnClearCache(bool preserve_ssl_host_info, IPC::Message* reply_msg); 199 void OnClearCache(bool preserve_ssl_host_info, IPC::Message* reply_msg);
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 IPC::Message* reply_msg_; 324 IPC::Message* reply_msg_;
322 scoped_refptr<RenderMessageFilter> filter_; 325 scoped_refptr<RenderMessageFilter> filter_;
323 scoped_refptr<ChromeURLRequestContext> context_; 326 scoped_refptr<ChromeURLRequestContext> context_;
324 int render_process_id_; 327 int render_process_id_;
325 int render_view_id_; 328 int render_view_id_;
326 bool raw_cookies_; 329 bool raw_cookies_;
327 scoped_refptr<net::CookieStore> cookie_store_; 330 scoped_refptr<net::CookieStore> cookie_store_;
328 }; 331 };
329 332
330 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 333 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698