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

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

Issue 2785533003: Animated scroll shouldn't consume unhandled scrolls for OOPIFs. (Closed)
Patch Set: Address nits, add comments. Created 3 years, 8 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "platform/testing/WebLayerTreeViewImplForTesting.h" 5 #include "platform/testing/WebLayerTreeViewImplForTesting.h"
6 6
7 #include "base/threading/thread_task_runner_handle.h" 7 #include "base/threading/thread_task_runner_handle.h"
8 #include "cc/animation/animation_host.h" 8 #include "cc/animation/animation_host.h"
9 #include "cc/animation/animation_timeline.h" 9 #include "cc/animation/animation_timeline.h"
10 #include "cc/blink/web_layer_impl.h" 10 #include "cc/blink/web_layer_impl.h"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 196
197 void WebLayerTreeViewImplForTesting::SetHaveScrollEventHandlers( 197 void WebLayerTreeViewImplForTesting::SetHaveScrollEventHandlers(
198 bool have_eent_handlers) { 198 bool have_eent_handlers) {
199 layer_tree_host_->SetHaveScrollEventHandlers(have_eent_handlers); 199 layer_tree_host_->SetHaveScrollEventHandlers(have_eent_handlers);
200 } 200 }
201 201
202 bool WebLayerTreeViewImplForTesting::HaveScrollEventHandlers() const { 202 bool WebLayerTreeViewImplForTesting::HaveScrollEventHandlers() const {
203 return layer_tree_host_->have_scroll_event_handlers(); 203 return layer_tree_host_->have_scroll_event_handlers();
204 } 204 }
205 205
206 bool WebLayerTreeViewImplForTesting::IsForSubframe() {
207 return false;
208 }
209
206 } // namespace blink 210 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698