| 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" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/id_map.h" | 13 #include "base/id_map.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
| 17 #include "base/process/process_handle.h" | 17 #include "base/process/process_handle.h" |
| 18 #include "content/common/accessibility_mode_enums.h" | 18 #include "content/common/accessibility_mode_enums.h" |
| 19 #include "content/common/frame_message_enums.h" | 19 #include "content/common/frame_message_enums.h" |
| 20 #include "content/common/mojo/service_registry_impl.h" | 20 #include "content/common/mojo/service_registry_impl.h" |
| 21 #include "content/public/common/console_message_level.h" |
| 21 #include "content/public/common/javascript_message_type.h" | 22 #include "content/public/common/javascript_message_type.h" |
| 22 #include "content/public/common/referrer.h" | 23 #include "content/public/common/referrer.h" |
| 23 #include "content/public/renderer/render_frame.h" | 24 #include "content/public/renderer/render_frame.h" |
| 24 #include "content/renderer/render_frame_proxy.h" | 25 #include "content/renderer/render_frame_proxy.h" |
| 25 #include "content/renderer/renderer_webcookiejar_impl.h" | 26 #include "content/renderer/renderer_webcookiejar_impl.h" |
| 26 #include "ipc/ipc_message.h" | 27 #include "ipc/ipc_message.h" |
| 27 #include "media/blink/webmediaplayer_delegate.h" | 28 #include "media/blink/webmediaplayer_delegate.h" |
| 28 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" | 29 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" |
| 29 #include "third_party/WebKit/public/web/WebAXObject.h" | 30 #include "third_party/WebKit/public/web/WebAXObject.h" |
| 30 #include "third_party/WebKit/public/web/WebDataSource.h" | 31 #include "third_party/WebKit/public/web/WebDataSource.h" |
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 void OnPaste(); | 622 void OnPaste(); |
| 622 void OnPasteAndMatchStyle(); | 623 void OnPasteAndMatchStyle(); |
| 623 void OnDelete(); | 624 void OnDelete(); |
| 624 void OnSelectAll(); | 625 void OnSelectAll(); |
| 625 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); | 626 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); |
| 626 void OnUnselect(); | 627 void OnUnselect(); |
| 627 void OnMoveRangeSelectionExtent(const gfx::Point& point); | 628 void OnMoveRangeSelectionExtent(const gfx::Point& point); |
| 628 void OnReplace(const base::string16& text); | 629 void OnReplace(const base::string16& text); |
| 629 void OnReplaceMisspelling(const base::string16& text); | 630 void OnReplaceMisspelling(const base::string16& text); |
| 630 void OnCSSInsertRequest(const std::string& css); | 631 void OnCSSInsertRequest(const std::string& css); |
| 632 void OnAddMessageToConsole(ConsoleMessageLevel level, |
| 633 const std::string& message); |
| 631 void OnJavaScriptExecuteRequest(const base::string16& javascript, | 634 void OnJavaScriptExecuteRequest(const base::string16& javascript, |
| 632 int id, | 635 int id, |
| 633 bool notify_result); | 636 bool notify_result); |
| 634 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, | 637 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, |
| 635 int id, | 638 int id, |
| 636 bool notify_result, | 639 bool notify_result, |
| 637 bool has_user_gesture); | 640 bool has_user_gesture); |
| 638 void OnJavaScriptExecuteRequestInIsolatedWorld(const base::string16& jscript, | 641 void OnJavaScriptExecuteRequestInIsolatedWorld(const base::string16& jscript, |
| 639 int id, | 642 int id, |
| 640 bool notify_result, | 643 bool notify_result, |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 968 #endif | 971 #endif |
| 969 | 972 |
| 970 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 973 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 971 | 974 |
| 972 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 975 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 973 }; | 976 }; |
| 974 | 977 |
| 975 } // namespace content | 978 } // namespace content |
| 976 | 979 |
| 977 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 980 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |