| OLD | NEW |
| (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_ | |
| OLD | NEW |