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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 void OnPaste(); | 760 void OnPaste(); |
760 void OnPasteAndMatchStyle(); | 761 void OnPasteAndMatchStyle(); |
761 void OnDelete(); | 762 void OnDelete(); |
762 void OnSelectAll(); | 763 void OnSelectAll(); |
763 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); | 764 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); |
764 void OnAdjustSelectionByCharacterOffset(int start_adjust, int end_adjust); | 765 void OnAdjustSelectionByCharacterOffset(int start_adjust, int end_adjust); |
765 void OnUnselect(); | 766 void OnUnselect(); |
766 void OnMoveRangeSelectionExtent(const gfx::Point& point); | 767 void OnMoveRangeSelectionExtent(const gfx::Point& point); |
767 void OnReplace(const base::string16& text); | 768 void OnReplace(const base::string16& text); |
768 void OnReplaceMisspelling(const base::string16& text); | 769 void OnReplaceMisspelling(const base::string16& text); |
| 770 void OnCopyImageAt(int x, int y); |
| 771 void OnSaveImageAt(int x, int y); |
769 void OnCSSInsertRequest(const std::string& css); | 772 void OnCSSInsertRequest(const std::string& css); |
770 void OnAddMessageToConsole(ConsoleMessageLevel level, | 773 void OnAddMessageToConsole(ConsoleMessageLevel level, |
771 const std::string& message); | 774 const std::string& message); |
772 void OnJavaScriptExecuteRequest(const base::string16& javascript, | 775 void OnJavaScriptExecuteRequest(const base::string16& javascript, |
773 int id, | 776 int id, |
774 bool notify_result); | 777 bool notify_result); |
775 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, | 778 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, |
776 int id, | 779 int id, |
777 bool notify_result, | 780 bool notify_result, |
778 bool has_user_gesture); | 781 bool has_user_gesture); |
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1251 #endif | 1254 #endif |
1252 | 1255 |
1253 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1256 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1254 | 1257 |
1255 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1258 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1256 }; | 1259 }; |
1257 | 1260 |
1258 } // namespace content | 1261 } // namespace content |
1259 | 1262 |
1260 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1263 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |