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

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

Issue 1418953002: cc: Send shared variables between main and impl side using the channel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PROXY_IMPL_H_ 5 #ifndef CC_TREES_PROXY_IMPL_H_
6 #define CC_TREES_PROXY_IMPL_H_ 6 #define CC_TREES_PROXY_IMPL_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/base/completion_event.h" 10 #include "cc/base/completion_event.h"
(...skipping 25 matching lines...) Expand all
36 virtual void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) = 0; 36 virtual void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) = 0;
37 virtual void SetNeedsCommitOnImpl() = 0; 37 virtual void SetNeedsCommitOnImpl() = 0;
38 virtual void BeginMainFrameAbortedOnImpl(CommitEarlyOutReason reason) = 0; 38 virtual void BeginMainFrameAbortedOnImpl(CommitEarlyOutReason reason) = 0;
39 virtual void FinishAllRenderingOnImpl(CompletionEvent* completion) = 0; 39 virtual void FinishAllRenderingOnImpl(CompletionEvent* completion) = 0;
40 virtual void SetVisibleOnImpl(CompletionEvent* completion, bool visible) = 0; 40 virtual void SetVisibleOnImpl(CompletionEvent* completion, bool visible) = 0;
41 virtual void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) = 0; 41 virtual void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) = 0;
42 virtual void FinishGLOnImpl(CompletionEvent* completion) = 0; 42 virtual void FinishGLOnImpl(CompletionEvent* completion) = 0;
43 virtual void MainFrameWillHappenOnImplForTesting( 43 virtual void MainFrameWillHappenOnImplForTesting(
44 CompletionEvent* completion, 44 CompletionEvent* completion,
45 bool* main_frame_will_happen) = 0; 45 bool* main_frame_will_happen) = 0;
46 virtual void StartCommitOnImpl(CompletionEvent* completion) = 0; 46 virtual void StartCommitOnImpl(CompletionEvent* completion,
47 LayerTreeHost* layer_tree_host,
48 bool hold_commit_for_activation) = 0;
49 virtual void InitializeImplOnImpl(CompletionEvent* completion,
50 LayerTreeHost* layer_tree_host) = 0;
51 virtual void LayerTreeHostClosedOnImpl(CompletionEvent* completion) = 0;
brianderson 2015/10/29 22:38:28 Should bug summary mention anything about this cha
Khushal 2015/10/29 22:52:19 Done.
47 52
48 // TODO(khushalsagar): Rename as GetWeakPtr() once ThreadProxy is split. 53 // TODO(khushalsagar): Rename as GetWeakPtr() once ThreadProxy is split.
49 virtual base::WeakPtr<ProxyImpl> GetImplWeakPtr() = 0; 54 virtual base::WeakPtr<ProxyImpl> GetImplWeakPtr() = 0;
50 55
51 protected: 56 protected:
52 virtual ~ProxyImpl() {} 57 virtual ~ProxyImpl() {}
53 }; 58 };
54 59
55 } // namespace cc 60 } // namespace cc
56 61
57 #endif // CC_TREES_PROXY_IMPL_H_ 62 #endif // CC_TREES_PROXY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698