| 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "content/common/frame_message_enums.h" | 35 #include "content/common/frame_message_enums.h" |
| 36 #include "content/common/frame_replication_state.h" | 36 #include "content/common/frame_replication_state.h" |
| 37 #include "content/common/image_downloader/image_downloader.mojom.h" | 37 #include "content/common/image_downloader/image_downloader.mojom.h" |
| 38 #include "content/common/navigation_params.h" | 38 #include "content/common/navigation_params.h" |
| 39 #include "content/public/browser/render_frame_host.h" | 39 #include "content/public/browser/render_frame_host.h" |
| 40 #include "content/public/common/javascript_message_type.h" | 40 #include "content/public/common/javascript_message_type.h" |
| 41 #include "media/mojo/interfaces/interface_factory.mojom.h" | 41 #include "media/mojo/interfaces/interface_factory.mojom.h" |
| 42 #include "net/http/http_response_headers.h" | 42 #include "net/http/http_response_headers.h" |
| 43 #include "services/service_manager/public/cpp/interface_factory.h" | 43 #include "services/service_manager/public/cpp/interface_factory.h" |
| 44 #include "services/service_manager/public/cpp/interface_registry.h" | 44 #include "services/service_manager/public/cpp/interface_registry.h" |
| 45 #include "third_party/WebKit/public/platform/WebFocusType.h" |
| 45 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" | 46 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" |
| 46 #include "third_party/WebKit/public/web/WebTextDirection.h" | 47 #include "third_party/WebKit/public/web/WebTextDirection.h" |
| 47 #include "third_party/WebKit/public/web/WebTreeScopeType.h" | 48 #include "third_party/WebKit/public/web/WebTreeScopeType.h" |
| 48 #include "ui/accessibility/ax_node_data.h" | 49 #include "ui/accessibility/ax_node_data.h" |
| 49 #include "ui/base/page_transition_types.h" | 50 #include "ui/base/page_transition_types.h" |
| 50 | 51 |
| 51 class GURL; | 52 class GURL; |
| 52 struct AccessibilityHostMsg_EventParams; | 53 struct AccessibilityHostMsg_EventParams; |
| 53 struct AccessibilityHostMsg_FindInPageResultParams; | 54 struct AccessibilityHostMsg_FindInPageResultParams; |
| 54 struct AccessibilityHostMsg_LocationChangeParams; | 55 struct AccessibilityHostMsg_LocationChangeParams; |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 | 425 |
| 425 // Update the frame's opener in the renderer process in response to the | 426 // Update the frame's opener in the renderer process in response to the |
| 426 // opener being modified (e.g., with window.open or being set to null) in | 427 // opener being modified (e.g., with window.open or being set to null) in |
| 427 // another renderer process. | 428 // another renderer process. |
| 428 void UpdateOpener(); | 429 void UpdateOpener(); |
| 429 | 430 |
| 430 // Set this frame as focused in the renderer process. This supports | 431 // Set this frame as focused in the renderer process. This supports |
| 431 // cross-process window.focus() calls. | 432 // cross-process window.focus() calls. |
| 432 void SetFocusedFrame(); | 433 void SetFocusedFrame(); |
| 433 | 434 |
| 435 // Continues sequential focus navigation in this frame. |source_proxy| |
| 436 // represents the frame that requested a focus change. It must be in the same |
| 437 // process as this or |nullptr|. |
| 438 void AdvanceFocus(blink::WebFocusType type, |
| 439 RenderFrameProxyHost* source_proxy); |
| 440 |
| 434 // Deletes the current selection plus the specified number of characters | 441 // Deletes the current selection plus the specified number of characters |
| 435 // before and after the selection or caret. | 442 // before and after the selection or caret. |
| 436 void ExtendSelectionAndDelete(size_t before, size_t after); | 443 void ExtendSelectionAndDelete(size_t before, size_t after); |
| 437 | 444 |
| 438 // Deletes text before and after the current cursor position, excluding the | 445 // Deletes text before and after the current cursor position, excluding the |
| 439 // selection. | 446 // selection. |
| 440 void DeleteSurroundingText(size_t before, size_t after); | 447 void DeleteSurroundingText(size_t before, size_t after); |
| 441 | 448 |
| 442 // Notifies the RenderFrame that the JavaScript message that was shown was | 449 // Notifies the RenderFrame that the JavaScript message that was shown was |
| 443 // closed by the user. | 450 // closed by the user. |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 | 1113 |
| 1107 // NOTE: This must be the last member. | 1114 // NOTE: This must be the last member. |
| 1108 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1115 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1109 | 1116 |
| 1110 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1117 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1111 }; | 1118 }; |
| 1112 | 1119 |
| 1113 } // namespace content | 1120 } // namespace content |
| 1114 | 1121 |
| 1115 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1122 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |