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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 blink::WebColorChooserClient* client, | 535 blink::WebColorChooserClient* client, |
536 const blink::WebColor& initial_color, | 536 const blink::WebColor& initial_color, |
537 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override; | 537 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override; |
538 void runModalAlertDialog(const blink::WebString& message) override; | 538 void runModalAlertDialog(const blink::WebString& message) override; |
539 bool runModalConfirmDialog(const blink::WebString& message) override; | 539 bool runModalConfirmDialog(const blink::WebString& message) override; |
540 bool runModalPromptDialog(const blink::WebString& message, | 540 bool runModalPromptDialog(const blink::WebString& message, |
541 const blink::WebString& default_value, | 541 const blink::WebString& default_value, |
542 blink::WebString* actual_value) override; | 542 blink::WebString* actual_value) override; |
543 bool runModalBeforeUnloadDialog(bool is_reload) override; | 543 bool runModalBeforeUnloadDialog(bool is_reload) override; |
544 void showContextMenu(const blink::WebContextMenuData& data) override; | 544 void showContextMenu(const blink::WebContextMenuData& data) override; |
| 545 void saveImageFromDataURL(const blink::WebString& data_url) override; |
545 void willSendRequest(blink::WebLocalFrame* frame, | 546 void willSendRequest(blink::WebLocalFrame* frame, |
546 unsigned identifier, | 547 unsigned identifier, |
547 blink::WebURLRequest& request, | 548 blink::WebURLRequest& request, |
548 const blink::WebURLResponse& redirect_response) override; | 549 const blink::WebURLResponse& redirect_response) override; |
549 void didReceiveResponse(unsigned identifier, | 550 void didReceiveResponse(unsigned identifier, |
550 const blink::WebURLResponse& response) override; | 551 const blink::WebURLResponse& response) override; |
551 void didLoadResourceFromMemoryCache( | 552 void didLoadResourceFromMemoryCache( |
552 const blink::WebURLRequest& request, | 553 const blink::WebURLRequest& request, |
553 const blink::WebURLResponse& response) override; | 554 const blink::WebURLResponse& response) override; |
554 void didDisplayInsecureContent() override; | 555 void didDisplayInsecureContent() override; |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 void OnPaste(); | 761 void OnPaste(); |
761 void OnPasteAndMatchStyle(); | 762 void OnPasteAndMatchStyle(); |
762 void OnDelete(); | 763 void OnDelete(); |
763 void OnSelectAll(); | 764 void OnSelectAll(); |
764 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); | 765 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); |
765 void OnAdjustSelectionByCharacterOffset(int start_adjust, int end_adjust); | 766 void OnAdjustSelectionByCharacterOffset(int start_adjust, int end_adjust); |
766 void OnUnselect(); | 767 void OnUnselect(); |
767 void OnMoveRangeSelectionExtent(const gfx::Point& point); | 768 void OnMoveRangeSelectionExtent(const gfx::Point& point); |
768 void OnReplace(const base::string16& text); | 769 void OnReplace(const base::string16& text); |
769 void OnReplaceMisspelling(const base::string16& text); | 770 void OnReplaceMisspelling(const base::string16& text); |
| 771 void OnCopyImageAt(int x, int y); |
| 772 void OnSaveImageAt(int x, int y); |
770 void OnCSSInsertRequest(const std::string& css); | 773 void OnCSSInsertRequest(const std::string& css); |
771 void OnAddMessageToConsole(ConsoleMessageLevel level, | 774 void OnAddMessageToConsole(ConsoleMessageLevel level, |
772 const std::string& message); | 775 const std::string& message); |
773 void OnJavaScriptExecuteRequest(const base::string16& javascript, | 776 void OnJavaScriptExecuteRequest(const base::string16& javascript, |
774 int id, | 777 int id, |
775 bool notify_result); | 778 bool notify_result); |
776 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, | 779 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, |
777 int id, | 780 int id, |
778 bool notify_result, | 781 bool notify_result, |
779 bool has_user_gesture); | 782 bool has_user_gesture); |
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1252 #endif | 1255 #endif |
1253 | 1256 |
1254 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1257 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1255 | 1258 |
1256 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1259 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1257 }; | 1260 }; |
1258 | 1261 |
1259 } // namespace content | 1262 } // namespace content |
1260 | 1263 |
1261 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1264 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |