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

Side by Side Diff: content/renderer/render_frame_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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 void didChangeSelection(bool is_empty_selection) override; 515 void didChangeSelection(bool is_empty_selection) override;
516 blink::WebColorChooser* createColorChooser( 516 blink::WebColorChooser* createColorChooser(
517 blink::WebColorChooserClient* client, 517 blink::WebColorChooserClient* client,
518 const blink::WebColor& initial_color, 518 const blink::WebColor& initial_color,
519 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override; 519 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override;
520 void runModalAlertDialog(const blink::WebString& message) override; 520 void runModalAlertDialog(const blink::WebString& message) override;
521 bool runModalConfirmDialog(const blink::WebString& message) override; 521 bool runModalConfirmDialog(const blink::WebString& message) override;
522 bool runModalPromptDialog(const blink::WebString& message, 522 bool runModalPromptDialog(const blink::WebString& message,
523 const blink::WebString& default_value, 523 const blink::WebString& default_value,
524 blink::WebString* actual_value) override; 524 blink::WebString* actual_value) override;
525 bool runModalBeforeUnloadDialog(bool is_reload, 525 bool runModalBeforeUnloadDialog(bool is_reload) override;
526 const blink::WebString& message) override;
527 void showContextMenu(const blink::WebContextMenuData& data) override; 526 void showContextMenu(const blink::WebContextMenuData& data) override;
528 void clearContextMenu() override; 527 void clearContextMenu() override;
529 void willSendRequest(blink::WebLocalFrame* frame, 528 void willSendRequest(blink::WebLocalFrame* frame,
530 unsigned identifier, 529 unsigned identifier,
531 blink::WebURLRequest& request, 530 blink::WebURLRequest& request,
532 const blink::WebURLResponse& redirect_response) override; 531 const blink::WebURLResponse& redirect_response) override;
533 void didReceiveResponse(unsigned identifier, 532 void didReceiveResponse(unsigned identifier,
534 const blink::WebURLResponse& response) override; 533 const blink::WebURLResponse& response) override;
535 void didLoadResourceFromMemoryCache( 534 void didLoadResourceFromMemoryCache(
536 const blink::WebURLRequest& request, 535 const blink::WebURLRequest& request,
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
1208 #endif 1207 #endif
1209 1208
1210 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1209 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1211 1210
1212 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1211 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1213 }; 1212 };
1214 1213
1215 } // namespace content 1214 } // namespace content
1216 1215
1217 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1216 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/browser/javascript_dialog_manager.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698