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

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

Issue 2717213004: Move SharedBitmapManager implementation out of content/ (Closed)
Patch Set: rebase Created 3 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
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_graphics_2d_host.h" 5 #include "content/renderer/pepper/pepper_graphics_2d_host.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "base/threading/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "base/trace_event/trace_event.h" 15 #include "base/trace_event/trace_event.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "cc/resources/shared_bitmap.h" 17 #include "cc/resources/shared_bitmap.h"
18 #include "cc/resources/texture_mailbox.h" 18 #include "cc/resources/texture_mailbox.h"
19 #include "content/child/child_shared_bitmap_manager.h" 19 #include "components/display_compositor/child/child_shared_bitmap_manager.h"
20 #include "content/public/renderer/render_thread.h" 20 #include "content/public/renderer/render_thread.h"
21 #include "content/public/renderer/renderer_ppapi_host.h" 21 #include "content/public/renderer/renderer_ppapi_host.h"
22 #include "content/renderer/pepper/gfx_conversion.h" 22 #include "content/renderer/pepper/gfx_conversion.h"
23 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" 23 #include "content/renderer/pepper/pepper_plugin_instance_impl.h"
24 #include "content/renderer/pepper/plugin_instance_throttler_impl.h" 24 #include "content/renderer/pepper/plugin_instance_throttler_impl.h"
25 #include "content/renderer/pepper/ppb_image_data_impl.h" 25 #include "content/renderer/pepper/ppb_image_data_impl.h"
26 #include "content/renderer/render_thread_impl.h" 26 #include "content/renderer/render_thread_impl.h"
27 #include "ppapi/c/pp_bool.h" 27 #include "ppapi/c/pp_bool.h"
28 #include "ppapi/c/pp_errors.h" 28 #include "ppapi/c/pp_errors.h"
29 #include "ppapi/c/pp_rect.h" 29 #include "ppapi/c/pp_rect.h"
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 gfx::Point inverse_scaled_point = 829 gfx::Point inverse_scaled_point =
830 gfx::ScaleToFlooredPoint(*delta, inverse_scale); 830 gfx::ScaleToFlooredPoint(*delta, inverse_scale);
831 if (original_delta != inverse_scaled_point) 831 if (original_delta != inverse_scaled_point)
832 return false; 832 return false;
833 } 833 }
834 834
835 return true; 835 return true;
836 } 836 }
837 837
838 } // namespace content 838 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698