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

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

Issue 251823002: Move didAccessInitialDocument to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 216 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
217 const base::string16& message, 217 const base::string16& message,
218 bool is_reload, 218 bool is_reload,
219 IPC::Message* reply_msg); 219 IPC::Message* reply_msg);
220 void OnRequestDesktopNotificationPermission(const GURL& origin, 220 void OnRequestDesktopNotificationPermission(const GURL& origin,
221 int callback_id); 221 int callback_id);
222 void OnShowDesktopNotification( 222 void OnShowDesktopNotification(
223 int notification_id, 223 int notification_id,
224 const ShowDesktopNotificationHostMsgParams& params); 224 const ShowDesktopNotificationHostMsgParams& params);
225 void OnCancelDesktopNotification(int notification_id); 225 void OnCancelDesktopNotification(int notification_id);
226 void OnDidAccessInitialDocument();
226 227
227 // Returns whether the given URL is allowed to commit in the current process. 228 // Returns whether the given URL is allowed to commit in the current process.
228 // This is a more conservative check than RenderProcessHost::FilterURL, since 229 // This is a more conservative check than RenderProcessHost::FilterURL, since
229 // it will be used to kill processes that commit unauthorized URLs. 230 // it will be used to kill processes that commit unauthorized URLs.
230 bool CanCommitURL(const GURL& url); 231 bool CanCommitURL(const GURL& url);
231 232
232 void DesktopNotificationPermissionRequestDone(int callback_context); 233 void DesktopNotificationPermissionRequestDone(int callback_context);
233 234
234 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a 235 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a
235 // refcount that calls Shutdown when it reaches zero. This allows each 236 // refcount that calls Shutdown when it reaches zero. This allows each
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 base::TimeTicks send_before_unload_start_time_; 276 base::TimeTicks send_before_unload_start_time_;
276 277
277 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 278 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
278 279
279 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 280 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
280 }; 281 };
281 282
282 } // namespace content 283 } // namespace content
283 284
284 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 285 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698