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

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

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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 std::unique_ptr<WebScrollbarLayer> 119 std::unique_ptr<WebScrollbarLayer>
120 TestingCompositorSupport::createScrollbarLayer( 120 TestingCompositorSupport::createScrollbarLayer(
121 std::unique_ptr<WebScrollbar>, 121 std::unique_ptr<WebScrollbar>,
122 WebScrollbarThemePainter, 122 WebScrollbarThemePainter,
123 std::unique_ptr<WebScrollbarThemeGeometry>) { 123 std::unique_ptr<WebScrollbarThemeGeometry>) {
124 return nullptr; 124 return nullptr;
125 } 125 }
126 126
127 std::unique_ptr<WebScrollbarLayer> 127 std::unique_ptr<WebScrollbarLayer>
128 TestingCompositorSupport::createOverlayScrollbarLayer(
129 std::unique_ptr<WebScrollbar>,
130 WebScrollbarThemePainter,
131 std::unique_ptr<WebScrollbarThemeGeometry>) {
132 return nullptr;
133 }
134
135 std::unique_ptr<WebScrollbarLayer>
128 TestingCompositorSupport::createSolidColorScrollbarLayer( 136 TestingCompositorSupport::createSolidColorScrollbarLayer(
129 WebScrollbar::Orientation, 137 WebScrollbar::Orientation,
130 int thumbThickness, 138 int thumbThickness,
131 int trackStart, 139 int trackStart,
132 bool isLeftSideVerticalScrollbar) { 140 bool isLeftSideVerticalScrollbar) {
133 return nullptr; 141 return nullptr;
134 } 142 }
135 143
136 TestingPlatformSupport::TestingPlatformSupport() 144 TestingPlatformSupport::TestingPlatformSupport()
137 : TestingPlatformSupport(TestingPlatformSupport::Config()) {} 145 : TestingPlatformSupport(TestingPlatformSupport::Config()) {}
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 ThreadState::attachMainThread(); 350 ThreadState::attachMainThread();
343 ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr, nullptr, 351 ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr, nullptr,
344 nullptr); 352 nullptr);
345 HTTPNames::init(); 353 HTTPNames::init();
346 FetchInitiatorTypeNames::init(); 354 FetchInitiatorTypeNames::init();
347 } 355 }
348 356
349 ScopedUnittestsEnvironmentSetup::~ScopedUnittestsEnvironmentSetup() {} 357 ScopedUnittestsEnvironmentSetup::~ScopedUnittestsEnvironmentSetup() {}
350 358
351 } // namespace blink 359 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698