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

Side by Side Diff: content/renderer/pepper/pepper_plugin_instance_impl.cc

Issue 22723004: Get rid of webkit/plugins/plugin_constants.* and move them to content/public/common/content_constan… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 4 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
« no previous file with comments | « content/renderer/npapi/webplugin_impl.cc ('k') | webkit/glue/webkit_glue.gypi » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/pepper/pepper_plugin_instance_impl.h" 5 #include "content/renderer/pepper/pepper_plugin_instance_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/linked_ptr.h" 11 #include "base/memory/linked_ptr.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/stl_util.h" 13 #include "base/stl_util.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "base/strings/utf_offset_string_conversions.h" 15 #include "base/strings/utf_offset_string_conversions.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "cc/layers/texture_layer.h" 18 #include "cc/layers/texture_layer.h"
19 #include "content/common/content_constants_internal.h"
19 #include "content/public/common/page_zoom.h" 20 #include "content/public/common/page_zoom.h"
20 #include "content/public/renderer/content_renderer_client.h" 21 #include "content/public/renderer/content_renderer_client.h"
21 #include "content/renderer/pepper/common.h" 22 #include "content/renderer/pepper/common.h"
22 #include "content/renderer/pepper/content_decryptor_delegate.h" 23 #include "content/renderer/pepper/content_decryptor_delegate.h"
23 #include "content/renderer/pepper/event_conversion.h" 24 #include "content/renderer/pepper/event_conversion.h"
24 #include "content/renderer/pepper/fullscreen_container.h" 25 #include "content/renderer/pepper/fullscreen_container.h"
25 #include "content/renderer/pepper/gfx_conversion.h" 26 #include "content/renderer/pepper/gfx_conversion.h"
26 #include "content/renderer/pepper/host_dispatcher_wrapper.h" 27 #include "content/renderer/pepper/host_dispatcher_wrapper.h"
27 #include "content/renderer/pepper/host_globals.h" 28 #include "content/renderer/pepper/host_globals.h"
28 #include "content/renderer/pepper/message_channel.h" 29 #include "content/renderer/pepper/message_channel.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" 105 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h"
105 #include "third_party/WebKit/public/web/WebView.h" 106 #include "third_party/WebKit/public/web/WebView.h"
106 #include "third_party/skia/include/core/SkCanvas.h" 107 #include "third_party/skia/include/core/SkCanvas.h"
107 #include "third_party/skia/include/core/SkRect.h" 108 #include "third_party/skia/include/core/SkRect.h"
108 #include "ui/base/range/range.h" 109 #include "ui/base/range/range.h"
109 #include "ui/gfx/image/image_skia.h" 110 #include "ui/gfx/image/image_skia.h"
110 #include "ui/gfx/image/image_skia_rep.h" 111 #include "ui/gfx/image/image_skia_rep.h"
111 #include "ui/gfx/rect_conversions.h" 112 #include "ui/gfx/rect_conversions.h"
112 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h" 113 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
113 #include "v8/include/v8.h" 114 #include "v8/include/v8.h"
114 #include "webkit/plugins/plugin_constants.h"
115 #include "webkit/renderer/compositor_bindings/web_layer_impl.h" 115 #include "webkit/renderer/compositor_bindings/web_layer_impl.h"
116 116
117 #if defined(OS_MACOSX) 117 #if defined(OS_MACOSX)
118 #include "printing/metafile_impl.h" 118 #include "printing/metafile_impl.h"
119 #endif // defined(OS_MACOSX) 119 #endif // defined(OS_MACOSX)
120 120
121 #if defined(OS_WIN) 121 #if defined(OS_WIN)
122 #include "base/metrics/histogram.h" 122 #include "base/metrics/histogram.h"
123 #include "base/win/windows_version.h" 123 #include "base/win/windows_version.h"
124 #include "skia/ext/platform_canvas.h" 124 #include "skia/ext/platform_canvas.h"
(...skipping 2778 matching lines...) Expand 10 before | Expand all | Expand 10 after
2903 // Running out-of-process. Initiate an IPC call to notify the plugin 2903 // Running out-of-process. Initiate an IPC call to notify the plugin
2904 // process. 2904 // process.
2905 ppapi::proxy::HostDispatcher* dispatcher = 2905 ppapi::proxy::HostDispatcher* dispatcher =
2906 ppapi::proxy::HostDispatcher::GetForInstance(pp_instance()); 2906 ppapi::proxy::HostDispatcher::GetForInstance(pp_instance());
2907 dispatcher->Send(new PpapiMsg_PPPInstance_HandleDocumentLoad( 2907 dispatcher->Send(new PpapiMsg_PPPInstance_HandleDocumentLoad(
2908 ppapi::API_ID_PPP_INSTANCE, pp_instance(), pending_host_id, data)); 2908 ppapi::API_ID_PPP_INSTANCE, pp_instance(), pending_host_id, data));
2909 } 2909 }
2910 } 2910 }
2911 2911
2912 } // namespace content 2912 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/npapi/webplugin_impl.cc ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698