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

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: 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
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 std::unique_ptr<WebLayer> createLayerFromCCLayer(cc::Layer*) override; 70 std::unique_ptr<WebLayer> createLayerFromCCLayer(cc::Layer*) override;
71 std::unique_ptr<WebContentLayer> createContentLayer( 71 std::unique_ptr<WebContentLayer> createContentLayer(
72 WebContentLayerClient*) override; 72 WebContentLayerClient*) override;
73 std::unique_ptr<WebExternalTextureLayer> createExternalTextureLayer( 73 std::unique_ptr<WebExternalTextureLayer> createExternalTextureLayer(
74 cc::TextureLayerClient*) override; 74 cc::TextureLayerClient*) override;
75 std::unique_ptr<WebImageLayer> createImageLayer() override; 75 std::unique_ptr<WebImageLayer> createImageLayer() override;
76 std::unique_ptr<WebScrollbarLayer> createScrollbarLayer( 76 std::unique_ptr<WebScrollbarLayer> createScrollbarLayer(
77 std::unique_ptr<WebScrollbar>, 77 std::unique_ptr<WebScrollbar>,
78 WebScrollbarThemePainter, 78 WebScrollbarThemePainter,
79 std::unique_ptr<WebScrollbarThemeGeometry>) override; 79 std::unique_ptr<WebScrollbarThemeGeometry>) override;
80 std::unique_ptr<WebScrollbarLayer> createOverlayScrollbarLayer(
81 std::unique_ptr<WebScrollbar>,
82 WebScrollbarThemePainter,
83 std::unique_ptr<WebScrollbarThemeGeometry>) override;
80 std::unique_ptr<WebScrollbarLayer> createSolidColorScrollbarLayer( 84 std::unique_ptr<WebScrollbarLayer> createSolidColorScrollbarLayer(
81 WebScrollbar::Orientation, 85 WebScrollbar::Orientation,
82 int thumbThickness, 86 int thumbThickness,
83 int trackStart, 87 int trackStart,
84 bool isLeftSideVerticalScrollbar) override; 88 bool isLeftSideVerticalScrollbar) override;
85 }; 89 };
86 90
87 // A base class to override Platform methods for testing. You can override the 91 // A base class to override Platform methods for testing. You can override the
88 // behavior by subclassing TestingPlatformSupport or using 92 // behavior by subclassing TestingPlatformSupport or using
89 // ScopedTestingPlatformSupport (see below). 93 // ScopedTestingPlatformSupport (see below).
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 m_discardableMemoryAllocator; 236 m_discardableMemoryAllocator;
233 std::unique_ptr<DummyPlatform> m_dummyPlatform; 237 std::unique_ptr<DummyPlatform> m_dummyPlatform;
234 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; 238 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport;
235 TestingPlatformSupport::Config m_testingPlatformConfig; 239 TestingPlatformSupport::Config m_testingPlatformConfig;
236 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; 240 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport;
237 }; 241 };
238 242
239 } // namespace blink 243 } // namespace blink
240 244
241 #endif // TestingPlatformSupport_h 245 #endif // TestingPlatformSupport_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698