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

Unified Diff: android_webview/browser/renderer_host/view_renderer_host.h

Issue 16796002: Delete the browser-compositor webview render mode (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 side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/renderer_host/view_renderer_host.h
diff --git a/android_webview/browser/renderer_host/view_renderer_host.h b/android_webview/browser/renderer_host/view_renderer_host.h
deleted file mode 100644
index 9067fc3e7fa8a42862871a6dd090e849861bdf80..0000000000000000000000000000000000000000
--- a/android_webview/browser/renderer_host/view_renderer_host.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ANDROID_WEBVIEW_BROWSER_RENDER_HOST_VIEW_RENDERER_HOST_H_
-#define ANDROID_WEBVIEW_BROWSER_RENDER_HOST_VIEW_RENDERER_HOST_H_
-
-#include "base/threading/non_thread_safe.h"
-#include "content/public/browser/web_contents_observer.h"
-
-namespace android_webview {
-
-// Provides RenderViewHost wrapper functionality for sending WebView-specific
-// IPC messages to the renderer and from there to WebKit.
-class ViewRendererHost : public content::WebContentsObserver,
- public base::NonThreadSafe {
- public:
- class Client {
- public:
- virtual void OnPictureUpdated(int process_id, int render_view_id) = 0;
-
- protected:
- virtual ~Client() {}
- };
-
- ViewRendererHost(content::WebContents* contents, Client* client);
- virtual ~ViewRendererHost();
-
- // Captures the latest available picture pile synchronously.
- void CapturePictureSync();
-
- // Enables updating picture piles on every new frame.
- // OnPictureUpdated is called when a new picture is available,
- // stored by renderer id in RendererPictureMap.
- void EnableCapturePictureCallback(bool enabled);
-
- using content::WebContentsObserver::Observe;
-
- private:
- // content::WebContentsObserver implementation.
- virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
-
- void OnPictureUpdated();
-
- bool IsRenderViewReady() const;
-
- Client* client_;
-};
-
-} // namespace android_webview
-
-#endif // ANDROID_WEBVIEW_BROWSER_RENDER_HOST_VIEW_RENDERER_HOST_H_
« no previous file with comments | « android_webview/browser/in_process_view_renderer.cc ('k') | android_webview/browser/renderer_host/view_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698