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

Side by Side Diff: content/renderer/pepper/ppb_scrollbar_impl.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/ppb_scrollbar_impl.h" 5 #include "content/renderer/pepper/ppb_scrollbar_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "content/renderer/pepper/common.h"
11 #include "content/renderer/pepper/event_conversion.h" 10 #include "content/renderer/pepper/event_conversion.h"
12 #include "content/renderer/pepper/host_globals.h" 11 #include "content/renderer/pepper/host_globals.h"
13 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" 12 #include "content/renderer/pepper/pepper_plugin_instance_impl.h"
14 #include "content/renderer/pepper/plugin_module.h" 13 #include "content/renderer/pepper/plugin_module.h"
15 #include "content/renderer/pepper/ppb_image_data_impl.h" 14 #include "content/renderer/pepper/ppb_image_data_impl.h"
16 #include "ppapi/c/dev/ppp_scrollbar_dev.h" 15 #include "ppapi/c/dev/ppp_scrollbar_dev.h"
16 #include "ppapi/c/pp_bool.h"
17 #include "ppapi/thunk/thunk.h" 17 #include "ppapi/thunk/thunk.h"
18 #include "skia/ext/platform_canvas.h" 18 #include "skia/ext/platform_canvas.h"
19 #include "third_party/WebKit/public/platform/WebCanvas.h" 19 #include "third_party/WebKit/public/platform/WebCanvas.h"
20 #include "third_party/WebKit/public/platform/WebRect.h" 20 #include "third_party/WebKit/public/platform/WebRect.h"
21 #include "third_party/WebKit/public/platform/WebVector.h" 21 #include "third_party/WebKit/public/platform/WebVector.h"
22 #include "third_party/WebKit/public/web/WebInputEvent.h" 22 #include "third_party/WebKit/public/web/WebInputEvent.h"
23 #include "third_party/WebKit/public/web/WebPluginScrollbar.h" 23 #include "third_party/WebKit/public/web/WebPluginScrollbar.h"
24 24
25 #if defined(OS_WIN) 25 #if defined(OS_WIN)
26 #include "base/win/windows_version.h" 26 #include "base/win/windows_version.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 PP_Rect pp_rect; 227 PP_Rect pp_rect;
228 pp_rect.point.x = dirty_.x(); 228 pp_rect.point.x = dirty_.x();
229 pp_rect.point.y = dirty_.y(); 229 pp_rect.point.y = dirty_.y();
230 pp_rect.size.width = dirty_.width(); 230 pp_rect.size.width = dirty_.width();
231 pp_rect.size.height = dirty_.height(); 231 pp_rect.size.height = dirty_.height();
232 dirty_ = gfx::Rect(); 232 dirty_ = gfx::Rect();
233 Invalidate(&pp_rect); 233 Invalidate(&pp_rect);
234 } 234 }
235 235
236 } // namespace content 236 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_image_data_impl.cc ('k') | content/renderer/pepper/ppb_var_deprecated_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698