OLD | NEW |
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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 blink::WebColorChooserClient* client, | 534 blink::WebColorChooserClient* client, |
535 const blink::WebColor& initial_color, | 535 const blink::WebColor& initial_color, |
536 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override; | 536 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override; |
537 void runModalAlertDialog(const blink::WebString& message) override; | 537 void runModalAlertDialog(const blink::WebString& message) override; |
538 bool runModalConfirmDialog(const blink::WebString& message) override; | 538 bool runModalConfirmDialog(const blink::WebString& message) override; |
539 bool runModalPromptDialog(const blink::WebString& message, | 539 bool runModalPromptDialog(const blink::WebString& message, |
540 const blink::WebString& default_value, | 540 const blink::WebString& default_value, |
541 blink::WebString* actual_value) override; | 541 blink::WebString* actual_value) override; |
542 bool runModalBeforeUnloadDialog(bool is_reload) override; | 542 bool runModalBeforeUnloadDialog(bool is_reload) override; |
543 void showContextMenu(const blink::WebContextMenuData& data) override; | 543 void showContextMenu(const blink::WebContextMenuData& data) override; |
| 544 void saveImageFromDataURL(const blink::WebString& data_url) override; |
544 void willSendRequest(blink::WebLocalFrame* frame, | 545 void willSendRequest(blink::WebLocalFrame* frame, |
545 unsigned identifier, | 546 unsigned identifier, |
546 blink::WebURLRequest& request, | 547 blink::WebURLRequest& request, |
547 const blink::WebURLResponse& redirect_response) override; | 548 const blink::WebURLResponse& redirect_response) override; |
548 void didReceiveResponse(unsigned identifier, | 549 void didReceiveResponse(unsigned identifier, |
549 const blink::WebURLResponse& response) override; | 550 const blink::WebURLResponse& response) override; |
550 void didLoadResourceFromMemoryCache( | 551 void didLoadResourceFromMemoryCache( |
551 const blink::WebURLRequest& request, | 552 const blink::WebURLRequest& request, |
552 const blink::WebURLResponse& response) override; | 553 const blink::WebURLResponse& response) override; |
553 void didDisplayInsecureContent() override; | 554 void didDisplayInsecureContent() override; |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1255 #endif | 1258 #endif |
1256 | 1259 |
1257 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1260 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1258 | 1261 |
1259 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1262 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1260 }; | 1263 }; |
1261 | 1264 |
1262 } // namespace content | 1265 } // namespace content |
1263 | 1266 |
1264 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1267 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |