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

Side by Side Diff: cc/scrollbar_layer_impl.cc

Issue 12822004: Part 3 of cc/ directory shuffles: animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 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/scrollbar_layer_impl.h" 5 #include "cc/scrollbar_layer_impl.h"
6 6
7 #include "cc/animation/scrollbar_animation_controller.h"
7 #include "cc/layer.h" 8 #include "cc/layer.h"
8 #include "cc/layer_tree_impl.h" 9 #include "cc/layer_tree_impl.h"
9 #include "cc/layer_tree_settings.h" 10 #include "cc/layer_tree_settings.h"
10 #include "cc/quad_sink.h" 11 #include "cc/quad_sink.h"
11 #include "cc/scrollbar_animation_controller.h"
12 #include "cc/solid_color_draw_quad.h" 12 #include "cc/solid_color_draw_quad.h"
13 #include "cc/texture_draw_quad.h" 13 #include "cc/texture_draw_quad.h"
14 #include "ui/gfx/rect_conversions.h" 14 #include "ui/gfx/rect_conversions.h"
15 15
16 using WebKit::WebRect; 16 using WebKit::WebRect;
17 using WebKit::WebScrollbar; 17 using WebKit::WebScrollbar;
18 18
19 namespace cc { 19 namespace cc {
20 20
21 scoped_ptr<ScrollbarLayerImpl> ScrollbarLayerImpl::Create( 21 scoped_ptr<ScrollbarLayerImpl> ScrollbarLayerImpl::Create(
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 333
334 bool ScrollbarLayerImpl::Scrollbar::isCustomScrollbar() const { 334 bool ScrollbarLayerImpl::Scrollbar::isCustomScrollbar() const {
335 return owner_->is_custom_scrollbar_; 335 return owner_->is_custom_scrollbar_;
336 } 336 }
337 337
338 const char* ScrollbarLayerImpl::LayerTypeAsString() const { 338 const char* ScrollbarLayerImpl::LayerTypeAsString() const {
339 return "ScrollbarLayer"; 339 return "ScrollbarLayer";
340 } 340 }
341 341
342 } // namespace cc 342 } // namespace cc
OLDNEW
« no previous file with comments | « cc/scrollbar_animation_controller_linear_fade_unittest.cc ('k') | cc/scrollbar_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698