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

Side by Side Diff: content/renderer/webplugin_delegate_proxy.cc

Issue 6721021: Move a bunch of renderer->browser messages to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 #include "content/renderer/webplugin_delegate_proxy.h" 5 #include "content/renderer/webplugin_delegate_proxy.h"
6 6
7 #if defined(TOOLKIT_USES_GTK) 7 #if defined(TOOLKIT_USES_GTK)
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #endif 9 #endif
10 10
11 #include <algorithm> 11 #include <algorithm>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/file_util.h" 15 #include "base/file_util.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/ref_counted.h" 17 #include "base/ref_counted.h"
18 #include "base/scoped_ptr.h" 18 #include "base/scoped_ptr.h"
19 #include "base/string_split.h" 19 #include "base/string_split.h"
20 #include "base/string_util.h" 20 #include "base/string_util.h"
21 #include "base/sys_info.h" 21 #include "base/sys_info.h"
22 #include "base/utf_string_conversions.h" 22 #include "base/utf_string_conversions.h"
23 #include "chrome/common/child_process_logging.h" 23 #include "chrome/common/child_process_logging.h"
24 #include "chrome/common/render_messages.h" 24 #include "chrome/common/render_messages.h"
25 #include "chrome/renderer/render_thread.h" 25 #include "chrome/renderer/render_thread.h"
26 #include "content/common/plugin_messages.h" 26 #include "content/common/plugin_messages.h"
27 #include "content/common/view_messages.h"
27 #include "content/plugin/npobject_proxy.h" 28 #include "content/plugin/npobject_proxy.h"
28 #include "content/plugin/npobject_stub.h" 29 #include "content/plugin/npobject_stub.h"
29 #include "content/plugin/npobject_util.h" 30 #include "content/plugin/npobject_util.h"
30 #include "content/renderer/command_buffer_proxy.h" 31 #include "content/renderer/command_buffer_proxy.h"
31 #include "content/renderer/content_renderer_client.h" 32 #include "content/renderer/content_renderer_client.h"
32 #include "content/renderer/plugin_channel_host.h" 33 #include "content/renderer/plugin_channel_host.h"
33 #include "content/renderer/render_view.h" 34 #include "content/renderer/render_view.h"
34 #include "ipc/ipc_channel_handle.h" 35 #include "ipc/ipc_channel_handle.h"
35 #include "net/base/mime_util.h" 36 #include "net/base/mime_util.h"
36 #include "skia/ext/platform_canvas.h" 37 #include "skia/ext/platform_canvas.h"
(...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 } 1388 }
1388 #endif 1389 #endif
1389 1390
1390 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, 1391 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow,
1391 int resource_id) { 1392 int resource_id) {
1392 if (!plugin_) 1393 if (!plugin_)
1393 return; 1394 return;
1394 1395
1395 plugin_->URLRedirectResponse(allow, resource_id); 1396 plugin_->URLRedirectResponse(allow, resource_id);
1396 } 1397 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698