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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1836973003: Move download messages from Renderer to Frame filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments, merge Created 4 years, 6 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
« no previous file with comments | « content/public/browser/render_view_host.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 void runModalAlertDialog(const blink::WebString& message) override; 540 void runModalAlertDialog(const blink::WebString& message) override;
541 bool runModalConfirmDialog(const blink::WebString& message) override; 541 bool runModalConfirmDialog(const blink::WebString& message) override;
542 bool runModalPromptDialog(const blink::WebString& message, 542 bool runModalPromptDialog(const blink::WebString& message,
543 const blink::WebString& default_value, 543 const blink::WebString& default_value,
544 blink::WebString* actual_value) override; 544 blink::WebString* actual_value) override;
545 bool runModalBeforeUnloadDialog(bool is_reload) override; 545 bool runModalBeforeUnloadDialog(bool is_reload) override;
546 bool runFileChooser( 546 bool runFileChooser(
547 const blink::WebFileChooserParams& params, 547 const blink::WebFileChooserParams& params,
548 blink::WebFileChooserCompletion* chooser_completion) override; 548 blink::WebFileChooserCompletion* chooser_completion) override;
549 void showContextMenu(const blink::WebContextMenuData& data) override; 549 void showContextMenu(const blink::WebContextMenuData& data) override;
550 void saveImageFromDataURL(const blink::WebString& data_url) override;
550 void willSendRequest(blink::WebLocalFrame* frame, 551 void willSendRequest(blink::WebLocalFrame* frame,
551 unsigned identifier, 552 unsigned identifier,
552 blink::WebURLRequest& request, 553 blink::WebURLRequest& request,
553 const blink::WebURLResponse& redirect_response) override; 554 const blink::WebURLResponse& redirect_response) override;
554 void didReceiveResponse(unsigned identifier, 555 void didReceiveResponse(unsigned identifier,
555 const blink::WebURLResponse& response) override; 556 const blink::WebURLResponse& response) override;
556 void didLoadResourceFromMemoryCache( 557 void didLoadResourceFromMemoryCache(
557 const blink::WebURLRequest& request, 558 const blink::WebURLRequest& request,
558 const blink::WebURLResponse& response) override; 559 const blink::WebURLResponse& response) override;
559 void didDisplayInsecureContent() override; 560 void didDisplayInsecureContent() override;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 void OnPaste(); 766 void OnPaste();
766 void OnPasteAndMatchStyle(); 767 void OnPasteAndMatchStyle();
767 void OnDelete(); 768 void OnDelete();
768 void OnSelectAll(); 769 void OnSelectAll();
769 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); 770 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent);
770 void OnAdjustSelectionByCharacterOffset(int start_adjust, int end_adjust); 771 void OnAdjustSelectionByCharacterOffset(int start_adjust, int end_adjust);
771 void OnUnselect(); 772 void OnUnselect();
772 void OnMoveRangeSelectionExtent(const gfx::Point& point); 773 void OnMoveRangeSelectionExtent(const gfx::Point& point);
773 void OnReplace(const base::string16& text); 774 void OnReplace(const base::string16& text);
774 void OnReplaceMisspelling(const base::string16& text); 775 void OnReplaceMisspelling(const base::string16& text);
776 void OnCopyImageAt(int x, int y);
777 void OnSaveImageAt(int x, int y);
775 void OnCSSInsertRequest(const std::string& css); 778 void OnCSSInsertRequest(const std::string& css);
776 void OnAddMessageToConsole(ConsoleMessageLevel level, 779 void OnAddMessageToConsole(ConsoleMessageLevel level,
777 const std::string& message); 780 const std::string& message);
778 void OnJavaScriptExecuteRequest(const base::string16& javascript, 781 void OnJavaScriptExecuteRequest(const base::string16& javascript,
779 int id, 782 int id,
780 bool notify_result); 783 bool notify_result);
781 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, 784 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript,
782 int id, 785 int id,
783 bool notify_result, 786 bool notify_result,
784 bool has_user_gesture); 787 bool has_user_gesture);
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 #endif 1278 #endif
1276 1279
1277 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1280 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1278 1281
1279 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1282 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1280 }; 1283 };
1281 1284
1282 } // namespace content 1285 } // namespace content
1283 1286
1284 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1287 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_view_host.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698