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

Side by Side Diff: cc/trees/layer_tree_host.h

Issue 504373002: Don't destroy RenderWidgetCompositor during DoDeferredClose (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <list> 9 #include <list>
10 #include <set> 10 #include <set>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 static scoped_ptr<LayerTreeHost> CreateSingleThreaded( 92 static scoped_ptr<LayerTreeHost> CreateSingleThreaded(
93 LayerTreeHostClient* client, 93 LayerTreeHostClient* client,
94 LayerTreeHostSingleThreadClient* single_thread_client, 94 LayerTreeHostSingleThreadClient* single_thread_client,
95 SharedBitmapManager* manager, 95 SharedBitmapManager* manager,
96 const LayerTreeSettings& settings, 96 const LayerTreeSettings& settings,
97 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner); 97 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner);
98 virtual ~LayerTreeHost(); 98 virtual ~LayerTreeHost();
99 99
100 void SetLayerTreeHostClientReady(); 100 void SetLayerTreeHostClientReady();
101 void SetLayerTreeHostClientFinished();
101 102
102 // LayerTreeHost interface to Proxy. 103 // LayerTreeHost interface to Proxy.
103 void WillBeginMainFrame() { 104 void WillBeginMainFrame() {
104 client_->WillBeginMainFrame(source_frame_number_); 105 client_->WillBeginMainFrame(source_frame_number_);
105 } 106 }
106 void DidBeginMainFrame(); 107 void DidBeginMainFrame();
107 void BeginMainFrame(const BeginFrameArgs& args); 108 void BeginMainFrame(const BeginFrameArgs& args);
108 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time); 109 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time);
109 void DidStopFlinging(); 110 void DidStopFlinging();
110 void Layout(); 111 void Layout();
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 454
454 ScopedPtrVector<SwapPromise> swap_promise_list_; 455 ScopedPtrVector<SwapPromise> swap_promise_list_;
455 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 456 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
456 457
457 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 458 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
458 }; 459 };
459 460
460 } // namespace cc 461 } // namespace cc
461 462
462 #endif // CC_TREES_LAYER_TREE_HOST_H_ 463 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/fake_proxy.h ('k') | cc/trees/layer_tree_host.cc » ('j') | cc/trees/layer_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698