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

Side by Side Diff: chrome/renderer/pepper_scrollbar_widget.cc

Issue 5961004: Revert 69755 - Move the NPAPI files from webkit/glue/plugins to webkit/plugin... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 | « chrome/renderer/pepper_plugin_delegate_impl.cc ('k') | chrome/renderer/pepper_widget.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/renderer/pepper_scrollbar_widget.h" 5 #include "chrome/renderer/pepper_scrollbar_widget.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/renderer/pepper_devices.h" 10 #include "chrome/renderer/pepper_devices.h"
11 #include "skia/ext/platform_canvas.h" 11 #include "skia/ext/platform_canvas.h"
12 #include "skia/ext/platform_device.h" 12 #include "skia/ext/platform_device.h"
13 #include "third_party/WebKit/WebKit/chromium/public/WebScrollbar.h" 13 #include "third_party/WebKit/WebKit/chromium/public/WebScrollbar.h"
14 #include "webkit/plugins/npapi/plugin_instance.h" 14 #include "webkit/glue/plugins/plugin_instance.h"
15 #include "webkit/glue/webkit_glue.h" 15 #include "webkit/glue/webkit_glue.h"
16 16
17 using WebKit::WebInputEvent; 17 using WebKit::WebInputEvent;
18 using WebKit::WebKeyboardEvent; 18 using WebKit::WebKeyboardEvent;
19 using WebKit::WebMouseEvent; 19 using WebKit::WebMouseEvent;
20 using WebKit::WebMouseWheelEvent; 20 using WebKit::WebMouseWheelEvent;
21 using WebKit::WebRect; 21 using WebKit::WebRect;
22 using WebKit::WebScrollbar; 22 using WebKit::WebScrollbar;
23 using WebKit::WebVector; 23 using WebKit::WebVector;
24 24
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 tickmarks->assign(rects, 0); 289 tickmarks->assign(rects, 0);
290 } else { 290 } else {
291 tickmarks->assign(&tickmarks_[0], tickmarks_.size()); 291 tickmarks->assign(&tickmarks_[0], tickmarks_.size());
292 } 292 }
293 } 293 }
294 294
295 void PepperScrollbarWidget::NotifyInvalidate() { 295 void PepperScrollbarWidget::NotifyInvalidate() {
296 if (!dirty_rect_.IsEmpty()) 296 if (!dirty_rect_.IsEmpty())
297 WidgetPropertyChanged(NPWidgetPropertyDirtyRect); 297 WidgetPropertyChanged(NPWidgetPropertyDirtyRect);
298 } 298 }
OLDNEW
« no previous file with comments | « chrome/renderer/pepper_plugin_delegate_impl.cc ('k') | chrome/renderer/pepper_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698