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

Unified Diff: content/public/browser/render_view_host_observer.h

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/render_view_host_observer.h
diff --git a/content/public/browser/render_view_host_observer.h b/content/public/browser/render_view_host_observer.h
index bd68fae0dbb88f75dbed774e11fab520b8e9ff5f..1c87dcee172484985b9e2a19b840249baa09a280 100644
--- a/content/public/browser/render_view_host_observer.h
+++ b/content/public/browser/render_view_host_observer.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -11,6 +11,7 @@
class GURL;
class RenderViewHost;
+class RenderViewHostImpl;
namespace content {
@@ -44,17 +45,17 @@ class CONTENT_EXPORT RenderViewHostObserver : public IPC::Channel::Listener,
// IPC::Message::Sender implementation.
virtual bool Send(IPC::Message* message) OVERRIDE;
- RenderViewHost* render_view_host() const { return render_view_host_; }
+ RenderViewHost* render_view_host() const;
int routing_id() { return routing_id_; }
private:
- friend class ::RenderViewHost;
+ friend class ::RenderViewHostImpl;
// Invoked from RenderViewHost. Invokes RenderViewHostDestroyed and NULL out
// |render_view_host_|.
void RenderViewHostDestruction();
- RenderViewHost* render_view_host_;
+ RenderViewHostImpl* render_view_host_;
// The routing ID of the associated RenderViewHost.
int routing_id_;
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | content/public/browser/render_view_host_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698