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

Side by Side Diff: cc/layers/scrollbar_layer.cc

Issue 15462003: Update references to Blink's Platform API headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « cc/layers/scrollbar_layer.h ('k') | cc/layers/scrollbar_layer_impl.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "cc/layers/scrollbar_layer.h" 5 #include "cc/layers/scrollbar_layer.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "cc/layers/scrollbar_layer_impl.h" 10 #include "cc/layers/scrollbar_layer_impl.h"
11 #include "cc/resources/caching_bitmap_content_layer_updater.h" 11 #include "cc/resources/caching_bitmap_content_layer_updater.h"
12 #include "cc/resources/layer_painter.h" 12 #include "cc/resources/layer_painter.h"
13 #include "cc/resources/prioritized_resource.h" 13 #include "cc/resources/prioritized_resource.h"
14 #include "cc/resources/resource_update_queue.h" 14 #include "cc/resources/resource_update_queue.h"
15 #include "cc/trees/layer_tree_host.h" 15 #include "cc/trees/layer_tree_host.h"
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" 16 #include "third_party/WebKit/public/platform/WebRect.h"
17 #include "ui/gfx/rect_conversions.h" 17 #include "ui/gfx/rect_conversions.h"
18 18
19 namespace cc { 19 namespace cc {
20 20
21 scoped_ptr<LayerImpl> ScrollbarLayer::CreateLayerImpl( 21 scoped_ptr<LayerImpl> ScrollbarLayer::CreateLayerImpl(
22 LayerTreeImpl* tree_impl) { 22 LayerTreeImpl* tree_impl) {
23 return ScrollbarLayerImpl::Create( 23 return ScrollbarLayerImpl::Create(
24 tree_impl, 24 tree_impl,
25 id(), 25 id(),
26 ScrollbarGeometryFixedThumb::Create(make_scoped_ptr(geometry_->clone()))) 26 ScrollbarGeometryFixedThumb::Create(make_scoped_ptr(geometry_->clone())))
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 thumb_.get(), 438 thumb_.get(),
439 origin_thumb_rect, 439 origin_thumb_rect,
440 queue, 440 queue,
441 stats); 441 stats);
442 } 442 }
443 443
444 dirty_rect_ = gfx::RectF(); 444 dirty_rect_ = gfx::RectF();
445 } 445 }
446 446
447 } // namespace cc 447 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/scrollbar_layer.h ('k') | cc/layers/scrollbar_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698