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

Side by Side Diff: webkit/renderer/compositor_bindings/scrollbar_impl.cc

Issue 15937016: Update refernces to Blink's Platform API (webkit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "webkit/renderer/compositor_bindings/scrollbar_impl.h" 5 #include "webkit/renderer/compositor_bindings/scrollbar_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbar.h" 8 #include "third_party/WebKit/public/platform/WebScrollbar.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemeGe ometry.h" 9 #include "third_party/WebKit/public/platform/WebScrollbarThemeGeometry.h"
10 10
11 using WebKit::WebScrollbar; 11 using WebKit::WebScrollbar;
12 12
13 namespace webkit { 13 namespace webkit {
14 14
15 ScrollbarImpl::ScrollbarImpl( 15 ScrollbarImpl::ScrollbarImpl(
16 scoped_ptr<WebScrollbar> scrollbar, 16 scoped_ptr<WebScrollbar> scrollbar,
17 WebKit::WebScrollbarThemePainter painter, 17 WebKit::WebScrollbarThemePainter painter,
18 scoped_ptr<WebKit::WebScrollbarThemeGeometry> geometry) 18 scoped_ptr<WebKit::WebScrollbarThemeGeometry> geometry)
19 : scrollbar_(scrollbar.Pass()), 19 : scrollbar_(scrollbar.Pass()),
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 bool thumb_present = geometry_->hasThumb(scrollbar_.get()); 93 bool thumb_present = geometry_->hasThumb(scrollbar_.get());
94 if (thumb_present) { 94 if (thumb_present) {
95 painter_.paintForwardTrackPart(canvas, track_paint_rect); 95 painter_.paintForwardTrackPart(canvas, track_paint_rect);
96 painter_.paintBackTrackPart(canvas, track_paint_rect); 96 painter_.paintBackTrackPart(canvas, track_paint_rect);
97 } 97 }
98 98
99 painter_.paintTickmarks(canvas, track_paint_rect); 99 painter_.paintTickmarks(canvas, track_paint_rect);
100 } 100 }
101 101
102 } // namespace webkit 102 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/renderer/compositor_bindings/scrollbar_impl.h ('k') | webkit/renderer/compositor_bindings/web_animation_curve_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698