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

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: Finish Plumbing Created 3 years, 12 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 std::unique_ptr<WebScrollbarLayer> 117 std::unique_ptr<WebScrollbarLayer>
118 TestingCompositorSupport::createScrollbarLayer( 118 TestingCompositorSupport::createScrollbarLayer(
119 std::unique_ptr<WebScrollbar>, 119 std::unique_ptr<WebScrollbar>,
120 WebScrollbarThemePainter, 120 WebScrollbarThemePainter,
121 std::unique_ptr<WebScrollbarThemeGeometry>) { 121 std::unique_ptr<WebScrollbarThemeGeometry>) {
122 return nullptr; 122 return nullptr;
123 } 123 }
124 124
125 std::unique_ptr<WebScrollbarLayer> 125 std::unique_ptr<WebScrollbarLayer>
126 TestingCompositorSupport::createOverlayScrollbarLayer(
127 std::unique_ptr<WebScrollbar>,
128 WebScrollbarThemePainter,
129 std::unique_ptr<WebScrollbarThemeGeometry>) {
130 return nullptr;
131 }
132
133 std::unique_ptr<WebScrollbarLayer>
126 TestingCompositorSupport::createSolidColorScrollbarLayer( 134 TestingCompositorSupport::createSolidColorScrollbarLayer(
127 WebScrollbar::Orientation, 135 WebScrollbar::Orientation,
128 int thumbThickness, 136 int thumbThickness,
129 int trackStart, 137 int trackStart,
130 bool isLeftSideVerticalScrollbar) { 138 bool isLeftSideVerticalScrollbar) {
131 return nullptr; 139 return nullptr;
132 } 140 }
133 141
134 TestingPlatformMockScheduler::TestingPlatformMockScheduler() {} 142 TestingPlatformMockScheduler::TestingPlatformMockScheduler() {}
135 TestingPlatformMockScheduler::~TestingPlatformMockScheduler() {} 143 TestingPlatformMockScheduler::~TestingPlatformMockScheduler() {}
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 ProcessHeap::init(); 346 ProcessHeap::init();
339 ThreadState::attachMainThread(); 347 ThreadState::attachMainThread();
340 ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr, nullptr, 348 ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr, nullptr,
341 nullptr); 349 nullptr);
342 HTTPNames::init(); 350 HTTPNames::init();
343 } 351 }
344 352
345 ScopedUnittestsEnvironmentSetup::~ScopedUnittestsEnvironmentSetup() {} 353 ScopedUnittestsEnvironmentSetup::~ScopedUnittestsEnvironmentSetup() {}
346 354
347 } // namespace blink 355 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698