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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "content/public/common/referrer.h" | 21 #include "content/public/common/referrer.h" |
22 #include "content/public/renderer/render_frame.h" | 22 #include "content/public/renderer/render_frame.h" |
23 #include "content/renderer/render_frame_proxy.h" | 23 #include "content/renderer/render_frame_proxy.h" |
24 #include "content/renderer/renderer_webcookiejar_impl.h" | 24 #include "content/renderer/renderer_webcookiejar_impl.h" |
25 #include "ipc/ipc_message.h" | 25 #include "ipc/ipc_message.h" |
26 #include "media/blink/webmediaplayer_delegate.h" | 26 #include "media/blink/webmediaplayer_delegate.h" |
27 #include "third_party/WebKit/public/web/WebAXObject.h" | 27 #include "third_party/WebKit/public/web/WebAXObject.h" |
28 #include "third_party/WebKit/public/web/WebDataSource.h" | 28 #include "third_party/WebKit/public/web/WebDataSource.h" |
29 #include "third_party/WebKit/public/web/WebFrameClient.h" | 29 #include "third_party/WebKit/public/web/WebFrameClient.h" |
30 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 30 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
| 31 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
31 #include "third_party/WebKit/public/web/WebTransitionElementData.h" | 32 #include "third_party/WebKit/public/web/WebTransitionElementData.h" |
32 #include "ui/gfx/range/range.h" | 33 #include "ui/gfx/range/range.h" |
33 | 34 |
34 #if defined(ENABLE_PLUGINS) | 35 #if defined(ENABLE_PLUGINS) |
35 #include "content/renderer/pepper/plugin_power_saver_helper.h" | 36 #include "content/renderer/pepper/plugin_power_saver_helper.h" |
36 #endif | 37 #endif |
37 | 38 |
38 #if defined(OS_ANDROID) | 39 #if defined(OS_ANDROID) |
39 #include "content/renderer/media/android/renderer_media_player_manager.h" | 40 #include "content/renderer/media/android/renderer_media_player_manager.h" |
40 #endif | 41 #endif |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 void OnUndo(); | 567 void OnUndo(); |
567 void OnRedo(); | 568 void OnRedo(); |
568 void OnCut(); | 569 void OnCut(); |
569 void OnCopy(); | 570 void OnCopy(); |
570 void OnPaste(); | 571 void OnPaste(); |
571 void OnPasteAndMatchStyle(); | 572 void OnPasteAndMatchStyle(); |
572 void OnDelete(); | 573 void OnDelete(); |
573 void OnSelectAll(); | 574 void OnSelectAll(); |
574 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); | 575 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); |
575 void OnUnselect(); | 576 void OnUnselect(); |
576 void OnMoveRangeSelectionExtent(const gfx::Point& point); | 577 void OnMoveRangeSelectionExtent( |
| 578 const gfx::Point& point, |
| 579 blink::WebLocalFrame::TextGranularity granularity); |
577 void OnReplace(const base::string16& text); | 580 void OnReplace(const base::string16& text); |
578 void OnReplaceMisspelling(const base::string16& text); | 581 void OnReplaceMisspelling(const base::string16& text); |
579 void OnCSSInsertRequest(const std::string& css); | 582 void OnCSSInsertRequest(const std::string& css); |
580 void OnJavaScriptExecuteRequest(const base::string16& javascript, | 583 void OnJavaScriptExecuteRequest(const base::string16& javascript, |
581 int id, | 584 int id, |
582 bool notify_result); | 585 bool notify_result); |
583 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, | 586 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, |
584 int id, | 587 int id, |
585 bool notify_result); | 588 bool notify_result); |
586 void OnSetEditableSelectionOffsets(int start, int end); | 589 void OnSetEditableSelectionOffsets(int start, int end); |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
836 #endif | 839 #endif |
837 | 840 |
838 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 841 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
839 | 842 |
840 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 843 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
841 }; | 844 }; |
842 | 845 |
843 } // namespace content | 846 } // namespace content |
844 | 847 |
845 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 848 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |