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

Side by Side Diff: android_webview/browser/in_process_renderer/in_process_renderer_client.h

Issue 15851006: Move synchronous compositor into content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ANDROID_WEBVIEW_COMMON_IN_PROCESS_RENDERER_CLIENT_
6 #define ANDROID_WEBVIEW_COMMON_IN_PROCESS_RENDERER_CLIENT_
7
8 #include "android_webview/renderer/aw_content_renderer_client.h"
9
10 namespace android_webview {
11
12 // Specialization of the Renderer client used in single process mode, to
13 // route various factory-like methods to browser/ side code (in general,
14 // this is only needed / allowed in order to meet synchronous rendering
15 // requirements).
16 class InProcessRendererClient : public AwContentRendererClient {
17 public:
18 virtual base::MessageLoop* OverrideCompositorMessageLoop() const OVERRIDE;
19 virtual void DidCreateSynchronousCompositor(
20 int render_view_id,
21 content::SynchronousCompositor* compositor) OVERRIDE;
22 virtual bool ShouldCreateCompositorInputHandler() const OVERRIDE;
23 };
24
25 } // android_webview
26
27 #endif // ANDROID_WEBVIEW_COMMON_IN_PROCESS_RENDERER_CLIENT_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698