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

Side by Side Diff: cc/layers/scrollbar_layer_impl.h

Issue 18191020: UI Resource Manager (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
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 #ifndef CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_
6 #define CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_ 6 #define CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_
7 7
8 #include "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9
10 #if USE_REGULAR_SCROLLBAR
11
9 #include "cc/input/scrollbar.h" 12 #include "cc/input/scrollbar.h"
10 #include "cc/layers/layer_impl.h" 13 #include "cc/layers/layer_impl.h"
11 14
12 namespace cc { 15 namespace cc {
13 16
14 class LayerTreeImpl; 17 class LayerTreeImpl;
15 class ScrollView; 18 class ScrollView;
16 19
17 class CC_EXPORT ScrollbarLayerImpl : public LayerImpl { 20 class CC_EXPORT ScrollbarLayerImpl : public LayerImpl {
18 public: 21 public:
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 bool is_scrollable_area_active_; 107 bool is_scrollable_area_active_;
105 bool is_scroll_view_scrollbar_; 108 bool is_scroll_view_scrollbar_;
106 bool enabled_; 109 bool enabled_;
107 bool is_custom_scrollbar_; 110 bool is_custom_scrollbar_;
108 bool is_overlay_scrollbar_; 111 bool is_overlay_scrollbar_;
109 112
110 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerImpl); 113 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerImpl);
111 }; 114 };
112 115
113 } // namespace cc 116 } // namespace cc
117
118 #else
119
120 #include "cc/layers/picture_scrollbar_layer_impl.h"
121
122 #endif
123
114 #endif // CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_ 124 #endif // CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698