summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornasko <nasko@chromium.org>2015-03-30 17:48:45 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-31 00:50:55 +0000
commitff322ea41b3c9ed652c56151025091875f2feb18 (patch)
tree753fa952f7debab79315f5cd90a89b27572fcf0b
parent8b92532b0c322307bb67df9e71fa9d5c257932b1 (diff)
downloadchromium_src-ff322ea41b3c9ed652c56151025091875f2feb18.zip
chromium_src-ff322ea41b3c9ed652c56151025091875f2feb18.tar.gz
chromium_src-ff322ea41b3c9ed652c56151025091875f2feb18.tar.bz2
Add deprecation notice to RV(H)
BUG=99379 Review URL: https://codereview.chromium.org/999253006 Cr-Commit-Position: refs/heads/master@{#322932}
-rw-r--r--content/browser/renderer_host/render_view_host_impl.h7
-rw-r--r--content/public/browser/render_view_host.h7
-rw-r--r--content/public/renderer/render_view.h5
-rw-r--r--content/renderer/render_view_impl.h5
4 files changed, 24 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index b15019b..e655cc5 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -83,6 +83,13 @@ struct FileChooserParams;
// you will not be able to traverse pages back and forward. We need to determine
// if we want to bring that and other functionality down into this object so it
// can be shared by others.
+//
+// DEPRECATED: RenderViewHostImpl is being removed as part of the SiteIsolation
+// project. New code should not be added here, but to either RenderFrameHostImpl
+// (if frame specific) or WebContentsImpl (if page specific).
+//
+// For context, please see https://crbug.com/467770 and
+// http://www.chromium.org/developers/design-documents/site-isolation.
class CONTENT_EXPORT RenderViewHostImpl
: public RenderViewHost,
public RenderWidgetHostImpl {
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index 018884c..d838eb9 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -51,6 +51,13 @@ struct WebPreferences;
// The intent of this interface is to provide a view-agnostic communication
// conduit with a renderer. This is so we can build HTML views not only as
// WebContents (see WebContents for an example) but also as views, etc.
+//
+// DEPRECATED: RenderViewHost is being removed as part of the SiteIsolation
+// project. New code should not be added here, but to either RenderFrameHost
+// (if frame specific) or WebContents (if page specific).
+//
+// For context, please see https://crbug.com/467770 and
+// http://www.chromium.org/developers/design-documents/site-isolation.
class CONTENT_EXPORT RenderViewHost : virtual public RenderWidgetHost {
public:
// Returns the RenderViewHost given its ID and the ID of its render process.
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h
index 843be86..34782e3 100644
--- a/content/public/renderer/render_view.h
+++ b/content/public/renderer/render_view.h
@@ -38,6 +38,11 @@ class RenderViewVisitor;
struct SSLStatus;
struct WebPreferences;
+// DEPRECATED: RenderView is being removed as part of the SiteIsolation project.
+// New code should be added to RenderFrame instead.
+//
+// For context, please see https://crbug.com/467770 and
+// http://www.chromium.org/developers/design-documents/site-isolation.
class CONTENT_EXPORT RenderView : public IPC::Sender {
public:
// Returns the RenderView containing the given WebView.
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 3377f2f..8deee7f 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -145,6 +145,11 @@ class WebMediaPlayerProxyAndroid;
// RenderView is an object that manages a WebView object, and provides a
// communication interface with an embedding application process.
//
+// DEPRECATED: RenderViewImpl is being removed as part of the SiteIsolation
+// project. New code should be added to RenderFrameImpl instead.
+//
+// For context, please see https://crbug.com/467770 and
+// http://www.chromium.org/developers/design-documents/site-isolation.
class CONTENT_EXPORT RenderViewImpl
: public RenderWidget,
NON_EXPORTED_BASE(public blink::WebViewClient),