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

Side by Side Diff: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h

Issue 2591863003: Use nine-patch resource for drawing Aura overlay scrollbar thumb. (Closed)
Patch Set: Finish Plumbing Created 4 years 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 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 std::unique_ptr<WebLayer> createLayerFromCCLayer(cc::Layer*) override; 66 std::unique_ptr<WebLayer> createLayerFromCCLayer(cc::Layer*) override;
67 std::unique_ptr<WebContentLayer> createContentLayer( 67 std::unique_ptr<WebContentLayer> createContentLayer(
68 WebContentLayerClient*) override; 68 WebContentLayerClient*) override;
69 std::unique_ptr<WebExternalTextureLayer> createExternalTextureLayer( 69 std::unique_ptr<WebExternalTextureLayer> createExternalTextureLayer(
70 cc::TextureLayerClient*) override; 70 cc::TextureLayerClient*) override;
71 std::unique_ptr<WebImageLayer> createImageLayer() override; 71 std::unique_ptr<WebImageLayer> createImageLayer() override;
72 std::unique_ptr<WebScrollbarLayer> createScrollbarLayer( 72 std::unique_ptr<WebScrollbarLayer> createScrollbarLayer(
73 std::unique_ptr<WebScrollbar>, 73 std::unique_ptr<WebScrollbar>,
74 WebScrollbarThemePainter, 74 WebScrollbarThemePainter,
75 std::unique_ptr<WebScrollbarThemeGeometry>) override; 75 std::unique_ptr<WebScrollbarThemeGeometry>) override;
76 std::unique_ptr<WebScrollbarLayer> createOverlayScrollbarLayer(
77 std::unique_ptr<WebScrollbar>,
78 WebScrollbarThemePainter,
79 std::unique_ptr<WebScrollbarThemeGeometry>) override;
76 std::unique_ptr<WebScrollbarLayer> createSolidColorScrollbarLayer( 80 std::unique_ptr<WebScrollbarLayer> createSolidColorScrollbarLayer(
77 WebScrollbar::Orientation, 81 WebScrollbar::Orientation,
78 int thumbThickness, 82 int thumbThickness,
79 int trackStart, 83 int trackStart,
80 bool isLeftSideVerticalScrollbar) override; 84 bool isLeftSideVerticalScrollbar) override;
81 }; 85 };
82 86
83 class TestingPlatformMockScheduler : public WebScheduler { 87 class TestingPlatformMockScheduler : public WebScheduler {
84 WTF_MAKE_NONCOPYABLE(TestingPlatformMockScheduler); 88 WTF_MAKE_NONCOPYABLE(TestingPlatformMockScheduler);
85 89
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 m_discardableMemoryAllocator; 205 m_discardableMemoryAllocator;
202 std::unique_ptr<DummyPlatform> m_platform; 206 std::unique_ptr<DummyPlatform> m_platform;
203 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; 207 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport;
204 TestingPlatformSupport::Config m_testingPlatformConfig; 208 TestingPlatformSupport::Config m_testingPlatformConfig;
205 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; 209 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport;
206 }; 210 };
207 211
208 } // namespace blink 212 } // namespace blink
209 213
210 #endif // TestingPlatformSupport_h 214 #endif // TestingPlatformSupport_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698