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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 157713002: Switch DomAutomationController to be a RenderFrameObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add notification to interstitialpageimpl Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 int64 frame_id, 117 int64 frame_id,
118 const GURL& url, 118 const GURL& url,
119 bool is_main_frame, 119 bool is_main_frame,
120 int error_code, 120 int error_code,
121 const base::string16& error_description); 121 const base::string16& error_description);
122 void OnDidRedirectProvisionalLoad(int32 page_id, 122 void OnDidRedirectProvisionalLoad(int32 page_id,
123 const GURL& source_url, 123 const GURL& source_url,
124 const GURL& target_url); 124 const GURL& target_url);
125 void OnSwapOutACK(); 125 void OnSwapOutACK();
126 void OnContextMenu(const ContextMenuParams& params); 126 void OnContextMenu(const ContextMenuParams& params);
127 void OnDomOperationResponse(const std::string& json_string,
128 int automation_id);
127 129
128 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a 130 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a
129 // refcount that calls Shutdown when it reaches zero. This allows each 131 // refcount that calls Shutdown when it reaches zero. This allows each
130 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring 132 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring
131 // we have a RenderViewHost for each RenderFrameHost. 133 // we have a RenderViewHost for each RenderFrameHost.
132 // TODO(creis): RenderViewHost will eventually go away and be replaced with 134 // TODO(creis): RenderViewHost will eventually go away and be replaced with
133 // some form of page context. 135 // some form of page context.
134 RenderViewHostImpl* render_view_host_; 136 RenderViewHostImpl* render_view_host_;
135 137
136 RenderFrameHostDelegate* delegate_; 138 RenderFrameHostDelegate* delegate_;
(...skipping 20 matching lines...) Expand all
157 159
158 int routing_id_; 160 int routing_id_;
159 bool is_swapped_out_; 161 bool is_swapped_out_;
160 162
161 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 163 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
162 }; 164 };
163 165
164 } // namespace content 166 } // namespace content
165 167
166 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 168 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698