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

Side by Side Diff: android_webview/renderer/view_renderer_rv.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: Created 7 years, 11 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_RV_H_
6 #define ANDROID_WEBVIEW_RENDERER_VIEW_RENDERER_RV_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 ViewRendererRV : public content::RenderViewObserver {
joth 2013/01/21 22:54:24 The RV in the name is non-obvious. But BrowserView
Leandro GraciĆ” Gil 2013/01/22 08:18:46 Using ViewRenderer & ViewRendererHost + BrowserVie
15 public:
16 static void RenderViewCreated(content::RenderView* render_view);
17
18 // Required to be public by IPC_MESSAGE_HANDLER_DELAY_REPLY.
19 using content::RenderViewObserver::Send;
20
21 private:
22 ViewRendererRV(content::RenderView* render_view);
23 virtual ~ViewRendererRV();
24
25 // content::RenderViewObserver implementation.
26 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
27 virtual void DidCommit() OVERRIDE;
28
29 void OnEnableCapturePictureCallback(bool enable);
30 void OnCapturePictureSync(IPC::Message* reply_msg);
31
32 bool capture_picture_enabled_;
33
34 DISALLOW_COPY_AND_ASSIGN(ViewRendererRV);
35 };
36
37 } // namespace android_webview
38
39 #endif // ANDROID_WEBVIEW_RENDERER_VIEW_RENDERER_RV_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698