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

Side by Side Diff: cc/layer_tree_host_impl.h

Issue 12147005: Hardcode scrollbar rendering for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hardcoded scrollbar not using layer structure. similar to M18 approach Created 7 years, 10 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_
6 #define CC_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "cc/animation_events.h" 11 #include "cc/animation_events.h"
12 #include "cc/animation_registrar.h" 12 #include "cc/animation_registrar.h"
13 #include "cc/cc_export.h" 13 #include "cc/cc_export.h"
14 #include "cc/hardcoded_scrollbar.h"
14 #include "cc/input_handler.h" 15 #include "cc/input_handler.h"
15 #include "cc/output_surface_client.h" 16 #include "cc/output_surface_client.h"
16 #include "cc/render_pass.h" 17 #include "cc/render_pass.h"
17 #include "cc/render_pass_sink.h" 18 #include "cc/render_pass_sink.h"
18 #include "cc/renderer.h" 19 #include "cc/renderer.h"
19 #include "cc/tile_manager.h" 20 #include "cc/tile_manager.h"
20 #include "cc/top_controls_manager_client.h" 21 #include "cc/top_controls_manager_client.h"
21 #include "skia/ext/refptr.h" 22 #include "skia/ext/refptr.h"
22 #include "third_party/skia/include/core/SkColor.h" 23 #include "third_party/skia/include/core/SkColor.h"
23 #include "third_party/skia/include/core/SkPicture.h" 24 #include "third_party/skia/include/core/SkPicture.h"
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 int64 m_cumulativeNumMissingTiles; 357 int64 m_cumulativeNumMissingTiles;
357 358
358 size_t m_lastSentMemoryVisibleBytes; 359 size_t m_lastSentMemoryVisibleBytes;
359 size_t m_lastSentMemoryVisibleAndNearbyBytes; 360 size_t m_lastSentMemoryVisibleAndNearbyBytes;
360 size_t m_lastSentMemoryUseBytes; 361 size_t m_lastSentMemoryUseBytes;
361 362
362 base::TimeTicks m_currentFrameTime; 363 base::TimeTicks m_currentFrameTime;
363 364
364 scoped_ptr<AnimationRegistrar> m_animationRegistrar; 365 scoped_ptr<AnimationRegistrar> m_animationRegistrar;
365 366
367 HardcodedScrollbar m_hardcodedScrollbar;
368
366 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 369 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
367 }; 370 };
368 371
369 } // namespace cc 372 } // namespace cc
370 373
371 #endif // CC_LAYER_TREE_HOST_IMPL_H_ 374 #endif // CC_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698