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

Side by Side Diff: ui/compositor/compositor.h

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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef UI_COMPOSITOR_COMPOSITOR_H_ 5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_
6 #define UI_COMPOSITOR_COMPOSITOR_H_ 6 #define UI_COMPOSITOR_COMPOSITOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 bool has_scrolled_by_touch) override {} 336 bool has_scrolled_by_touch) override {}
337 void RequestNewCompositorFrameSink() override; 337 void RequestNewCompositorFrameSink() override;
338 void DidInitializeCompositorFrameSink() override {} 338 void DidInitializeCompositorFrameSink() override {}
339 void DidFailToInitializeCompositorFrameSink() override; 339 void DidFailToInitializeCompositorFrameSink() override;
340 void WillCommit() override {} 340 void WillCommit() override {}
341 void DidCommit() override; 341 void DidCommit() override;
342 void DidCommitAndDrawFrame() override {} 342 void DidCommitAndDrawFrame() override {}
343 void DidReceiveCompositorFrameAck() override; 343 void DidReceiveCompositorFrameAck() override;
344 void DidCompletePageScaleAnimation() override {} 344 void DidCompletePageScaleAnimation() override {}
345 345
346 bool IsForSubframe() override;
347
346 // cc::LayerTreeHostSingleThreadClient implementation. 348 // cc::LayerTreeHostSingleThreadClient implementation.
347 void DidSubmitCompositorFrame() override; 349 void DidSubmitCompositorFrame() override;
348 void DidLoseCompositorFrameSink() override {} 350 void DidLoseCompositorFrameSink() override {}
349 351
350 bool IsLocked() { return !active_locks_.empty(); } 352 bool IsLocked() { return !active_locks_.empty(); }
351 353
352 void SetOutputIsSecure(bool output_is_secure); 354 void SetOutputIsSecure(bool output_is_secure);
353 355
354 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const; 356 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const;
355 void SetLayerTreeDebugState(const cc::LayerTreeDebugState& debug_state); 357 void SetLayerTreeDebugState(const cc::LayerTreeDebugState& debug_state);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 420
419 base::WeakPtrFactory<Compositor> weak_ptr_factory_; 421 base::WeakPtrFactory<Compositor> weak_ptr_factory_;
420 base::WeakPtrFactory<Compositor> lock_timeout_weak_ptr_factory_; 422 base::WeakPtrFactory<Compositor> lock_timeout_weak_ptr_factory_;
421 423
422 DISALLOW_COPY_AND_ASSIGN(Compositor); 424 DISALLOW_COPY_AND_ASSIGN(Compositor);
423 }; 425 };
424 426
425 } // namespace ui 427 } // namespace ui
426 428
427 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 429 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698