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

Side by Side Diff: android_webview/renderer/view_renderer.h

Issue 12041009: [Android WebView] Migrate the rendering code to a separate set of classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: upload error, re-uploading. Created 7 years, 10 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_RENDERER_VIEW_RENDERER_H_
6 #define ANDROID_WEBVIEW_RENDERER_VIEW_RENDERER_H_
7
8 #include "content/public/renderer/render_view_observer.h"
9
10 namespace android_webview {
11
12 // Render-process side of ViewRendererHost.
13 // Implements required interaction with content::RenderView.
14 class ViewRenderer : public content::RenderViewObserver {
15 public:
16 static void RenderViewCreated(content::RenderView* render_view);
17
18 // Required to be public by IPC_MESSAGE_HANDLER.
19 using content::RenderViewObserver::Send;
20
21 private:
22 ViewRenderer(content::RenderView* render_view);
23 virtual ~ViewRenderer();
24
25 // content::RenderViewObserver implementation.
26 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
27 virtual void DidCommitCompositorFrame() OVERRIDE;
28
29 void OnEnableCapturePictureCallback(bool enable);
30 void OnCapturePictureSync();
31
32 bool capture_picture_enabled_;
33
34 DISALLOW_COPY_AND_ASSIGN(ViewRenderer);
35 };
36
37 } // namespace android_webview
38
39 #endif // ANDROID_WEBVIEW_RENDERER_VIEW_RENDERER_H_
OLDNEW
« no previous file with comments | « android_webview/renderer/aw_render_view_ext.cc ('k') | android_webview/renderer/view_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698