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

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

Issue 1714573002: Remove the ability of webpages to specify strings for the onbeforeunload dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 9 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 void OnRenderProcessGone(int status, int error_code); 616 void OnRenderProcessGone(int status, int error_code);
617 void OnContextMenu(const ContextMenuParams& params); 617 void OnContextMenu(const ContextMenuParams& params);
618 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); 618 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result);
619 void OnVisualStateResponse(uint64_t id); 619 void OnVisualStateResponse(uint64_t id);
620 void OnRunJavaScriptMessage(const base::string16& message, 620 void OnRunJavaScriptMessage(const base::string16& message,
621 const base::string16& default_prompt, 621 const base::string16& default_prompt,
622 const GURL& frame_url, 622 const GURL& frame_url,
623 JavaScriptMessageType type, 623 JavaScriptMessageType type,
624 IPC::Message* reply_msg); 624 IPC::Message* reply_msg);
625 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 625 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
626 const base::string16& message,
627 bool is_reload, 626 bool is_reload,
628 IPC::Message* reply_msg); 627 IPC::Message* reply_msg);
629 void OnTextSurroundingSelectionResponse(const base::string16& content, 628 void OnTextSurroundingSelectionResponse(const base::string16& content,
630 uint32_t start_offset, 629 uint32_t start_offset,
631 uint32_t end_offset); 630 uint32_t end_offset);
632 void OnDidAccessInitialDocument(); 631 void OnDidAccessInitialDocument();
633 void OnDidChangeOpener(int32_t opener_routing_id); 632 void OnDidChangeOpener(int32_t opener_routing_id);
634 void OnDidChangeName(const std::string& name, const std::string& unique_name); 633 void OnDidChangeName(const std::string& name, const std::string& unique_name);
635 void OnEnforceStrictMixedContentChecking(); 634 void OnEnforceStrictMixedContentChecking();
636 void OnDidAssignPageId(int32_t page_id); 635 void OnDidAssignPageId(int32_t page_id);
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 944
946 // NOTE: This must be the last member. 945 // NOTE: This must be the last member.
947 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 946 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
948 947
949 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 948 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
950 }; 949 };
951 950
952 } // namespace content 951 } // namespace content
953 952
954 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 953 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_delegate.h ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698