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

Unified Diff: content/renderer/render_frame_proxy.h

Issue 2714943004: Move unique name generation and tracking into //content. (Closed)
Patch Set: . Created 3 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/renderer/render_frame_proxy.h
diff --git a/content/renderer/render_frame_proxy.h b/content/renderer/render_frame_proxy.h
index aee4d65c40629f7132b4060c0f9f3032366e117f..1dff36b6a0538629f0a60af72c12a61188e72dae 100644
--- a/content/renderer/render_frame_proxy.h
+++ b/content/renderer/render_frame_proxy.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "content/common/content_export.h"
+#include "content/renderer/unique_name_helper.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
#include "third_party/WebKit/public/platform/WebFocusType.h"
@@ -117,6 +118,7 @@ class CONTENT_EXPORT RenderFrameProxy
int routing_id() { return routing_id_; }
RenderViewImpl* render_view() { return render_view_; }
blink::WebRemoteFrame* web_frame() { return web_frame_; }
+ const std::string& unique_name() const { return unique_name_; }
void set_provisional_frame_routing_id(int routing_id) {
provisional_frame_routing_id_ = routing_id;
@@ -189,6 +191,7 @@ class CONTENT_EXPORT RenderFrameProxy
// Stores the WebRemoteFrame we are associated with.
blink::WebRemoteFrame* web_frame_;
+ std::string unique_name_;
scoped_refptr<ChildFrameCompositingHelper> compositing_helper_;
RenderViewImpl* render_view_;

Powered by Google App Engine
This is Rietveld 408576698