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

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

Issue 384793003: PPAPI: Remove content/renderer/pepper/common.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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) 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 "base/bind.h" 7 #include "base/bind.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "cc/resources/shared_bitmap.h" 11 #include "cc/resources/shared_bitmap.h"
12 #include "cc/resources/texture_mailbox.h" 12 #include "cc/resources/texture_mailbox.h"
13 #include "content/child/child_shared_bitmap_manager.h" 13 #include "content/child/child_shared_bitmap_manager.h"
14 #include "content/public/renderer/render_thread.h" 14 #include "content/public/renderer/render_thread.h"
15 #include "content/public/renderer/renderer_ppapi_host.h" 15 #include "content/public/renderer/renderer_ppapi_host.h"
16 #include "content/renderer/pepper/common.h"
17 #include "content/renderer/pepper/gfx_conversion.h" 16 #include "content/renderer/pepper/gfx_conversion.h"
18 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" 17 #include "content/renderer/pepper/pepper_plugin_instance_impl.h"
19 #include "content/renderer/pepper/ppb_image_data_impl.h" 18 #include "content/renderer/pepper/ppb_image_data_impl.h"
20 #include "content/renderer/render_thread_impl.h" 19 #include "content/renderer/render_thread_impl.h"
21 #include "ppapi/c/pp_bool.h" 20 #include "ppapi/c/pp_bool.h"
22 #include "ppapi/c/pp_errors.h" 21 #include "ppapi/c/pp_errors.h"
23 #include "ppapi/c/pp_rect.h" 22 #include "ppapi/c/pp_rect.h"
24 #include "ppapi/c/pp_resource.h" 23 #include "ppapi/c/pp_resource.h"
25 #include "ppapi/host/dispatch_host_message.h" 24 #include "ppapi/host/dispatch_host_message.h"
26 #include "ppapi/host/host_message_context.h" 25 #include "ppapi/host/host_message_context.h"
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 gfx::Point inverse_scaled_point = 790 gfx::Point inverse_scaled_point =
792 gfx::ToFlooredPoint(gfx::ScalePoint(*delta, inverse_scale)); 791 gfx::ToFlooredPoint(gfx::ScalePoint(*delta, inverse_scale));
793 if (original_delta != inverse_scaled_point) 792 if (original_delta != inverse_scaled_point)
794 return false; 793 return false;
795 } 794 }
796 795
797 return true; 796 return true;
798 } 797 }
799 798
800 } // namespace content 799 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/event_conversion.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698