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

Side by Side Diff: cc/blink/web_compositor_support_impl.h

Issue 2591863003: Use nine-patch resource for drawing Aura overlay scrollbar thumb. (Closed)
Patch Set: Move CheckGeometryLimitations back to where it used to be (AppendQuads) Created 3 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
« no previous file with comments | « cc/blink/scrollbar_impl.cc ('k') | cc/blink/web_compositor_support_impl.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 5 #ifndef CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_
6 #define CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 6 #define CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "cc/blink/cc_blink_export.h" 10 #include "cc/blink/cc_blink_export.h"
(...skipping 13 matching lines...) Expand all
24 std::unique_ptr<blink::WebLayer> createLayerFromCCLayer(cc::Layer*) override; 24 std::unique_ptr<blink::WebLayer> createLayerFromCCLayer(cc::Layer*) override;
25 std::unique_ptr<blink::WebContentLayer> createContentLayer( 25 std::unique_ptr<blink::WebContentLayer> createContentLayer(
26 blink::WebContentLayerClient* client) override; 26 blink::WebContentLayerClient* client) override;
27 std::unique_ptr<blink::WebExternalTextureLayer> createExternalTextureLayer( 27 std::unique_ptr<blink::WebExternalTextureLayer> createExternalTextureLayer(
28 cc::TextureLayerClient* client) override; 28 cc::TextureLayerClient* client) override;
29 std::unique_ptr<blink::WebImageLayer> createImageLayer() override; 29 std::unique_ptr<blink::WebImageLayer> createImageLayer() override;
30 std::unique_ptr<blink::WebScrollbarLayer> createScrollbarLayer( 30 std::unique_ptr<blink::WebScrollbarLayer> createScrollbarLayer(
31 std::unique_ptr<blink::WebScrollbar> scrollbar, 31 std::unique_ptr<blink::WebScrollbar> scrollbar,
32 blink::WebScrollbarThemePainter painter, 32 blink::WebScrollbarThemePainter painter,
33 std::unique_ptr<blink::WebScrollbarThemeGeometry>) override; 33 std::unique_ptr<blink::WebScrollbarThemeGeometry>) override;
34 std::unique_ptr<blink::WebScrollbarLayer> createOverlayScrollbarLayer(
35 std::unique_ptr<blink::WebScrollbar> scrollbar,
36 blink::WebScrollbarThemePainter painter,
37 std::unique_ptr<blink::WebScrollbarThemeGeometry>) override;
34 std::unique_ptr<blink::WebScrollbarLayer> createSolidColorScrollbarLayer( 38 std::unique_ptr<blink::WebScrollbarLayer> createSolidColorScrollbarLayer(
35 blink::WebScrollbar::Orientation orientation, 39 blink::WebScrollbar::Orientation orientation,
36 int thumb_thickness, 40 int thumb_thickness,
37 int track_start, 41 int track_start,
38 bool is_left_side_vertical_scrollbar) override; 42 bool is_left_side_vertical_scrollbar) override;
39 43
40 private: 44 private:
41 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); 45 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl);
42 }; 46 };
43 47
44 } // namespace cc_blink 48 } // namespace cc_blink
45 49
46 #endif // CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 50 #endif // CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « cc/blink/scrollbar_impl.cc ('k') | cc/blink/web_compositor_support_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698