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

Side by Side Diff: android_webview/browser/render_thread_manager_client.h

Issue 1858853002: Rename SharedRendererState to RenderThreadManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ANDROID_WEBVIEW_BROWSER_SHARED_RENDERER_STATE_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_RENDER_THREAD_MANAGER_CLIENT_H_
6 #define ANDROID_WEBVIEW_BROWSER_SHARED_RENDERER_STATE_CLIENT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_RENDER_THREAD_MANAGER_CLIENT_H_
7 7
8 namespace android_webview { 8 namespace android_webview {
9 9
10 class SharedRendererStateClient { 10 class RenderThreadManagerClient {
11 public: 11 public:
12 virtual void OnParentDrawConstraintsUpdated() = 0; 12 virtual void OnParentDrawConstraintsUpdated() = 0;
13 13
14 // Request DrawGL to be in called AwDrawGLInfo::kModeProcess type. 14 // Request DrawGL to be in called AwDrawGLInfo::kModeProcess type.
15 // |wait_for_completion| will cause the call to block until DrawGL has 15 // |wait_for_completion| will cause the call to block until DrawGL has
16 // happened. The callback may never be made, and the mode may be promoted to 16 // happened. The callback may never be made, and the mode may be promoted to
17 // kModeDraw. 17 // kModeDraw.
18 virtual bool RequestDrawGL(bool wait_for_completion) = 0; 18 virtual bool RequestDrawGL(bool wait_for_completion) = 0;
19 19
20 // Call postInvalidateOnAnimation for invalidations. This is only used to 20 // Call postInvalidateOnAnimation for invalidations. This is only used to
21 // synchronize draw functor destruction. 21 // synchronize draw functor destruction.
22 virtual void DetachFunctorFromView() = 0; 22 virtual void DetachFunctorFromView() = 0;
23 23
24 protected: 24 protected:
25 virtual ~SharedRendererStateClient() {} 25 virtual ~RenderThreadManagerClient() {}
26 }; 26 };
27 27
28 } // namespace android_webview 28 } // namespace android_webview
29 29
30 #endif // ANDROID_WEBVIEW_BROWSER_SHARED_RENDERER_STATE_CLIENT_H_ 30 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_THREAD_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/browser/render_thread_manager.cc ('k') | android_webview/browser/shared_renderer_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698