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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 static RenderFrameHostImpl* FromAXTreeID( | 133 static RenderFrameHostImpl* FromAXTreeID( |
134 AXTreeIDRegistry::AXTreeID ax_tree_id); | 134 AXTreeIDRegistry::AXTreeID ax_tree_id); |
135 | 135 |
136 ~RenderFrameHostImpl() override; | 136 ~RenderFrameHostImpl() override; |
137 | 137 |
138 // RenderFrameHost | 138 // RenderFrameHost |
139 int GetRoutingID() override; | 139 int GetRoutingID() override; |
140 AXTreeIDRegistry::AXTreeID GetAXTreeID() override; | 140 AXTreeIDRegistry::AXTreeID GetAXTreeID() override; |
141 SiteInstanceImpl* GetSiteInstance() override; | 141 SiteInstanceImpl* GetSiteInstance() override; |
142 RenderProcessHost* GetProcess() override; | 142 RenderProcessHost* GetProcess() override; |
| 143 RenderWidgetHostView* GetView() override; |
143 RenderFrameHost* GetParent() override; | 144 RenderFrameHost* GetParent() override; |
144 int GetFrameTreeNodeId() override; | 145 int GetFrameTreeNodeId() override; |
145 const std::string& GetFrameName() override; | 146 const std::string& GetFrameName() override; |
146 bool IsCrossProcessSubframe() override; | 147 bool IsCrossProcessSubframe() override; |
147 GURL GetLastCommittedURL() override; | 148 GURL GetLastCommittedURL() override; |
148 url::Origin GetLastCommittedOrigin() override; | 149 url::Origin GetLastCommittedOrigin() override; |
149 gfx::NativeView GetNativeView() override; | 150 gfx::NativeView GetNativeView() override; |
150 void AddMessageToConsole(ConsoleMessageLevel level, | 151 void AddMessageToConsole(ConsoleMessageLevel level, |
151 const std::string& message) override; | 152 const std::string& message) override; |
152 void ExecuteJavaScript(const base::string16& javascript) override; | 153 void ExecuteJavaScript(const base::string16& javascript) override; |
153 void ExecuteJavaScript(const base::string16& javascript, | 154 void ExecuteJavaScript(const base::string16& javascript, |
154 const JavaScriptResultCallback& callback) override; | 155 const JavaScriptResultCallback& callback) override; |
| 156 void ExecuteJavaScriptInIsolatedWorld( |
| 157 const base::string16& javascript, |
| 158 const JavaScriptResultCallback& callback, |
| 159 int world_id) override; |
155 void ExecuteJavaScriptForTests(const base::string16& javascript) override; | 160 void ExecuteJavaScriptForTests(const base::string16& javascript) override; |
156 void ExecuteJavaScriptForTests( | 161 void ExecuteJavaScriptForTests( |
157 const base::string16& javascript, | 162 const base::string16& javascript, |
158 const JavaScriptResultCallback& callback) override; | 163 const JavaScriptResultCallback& callback) override; |
159 void ExecuteJavaScriptWithUserGestureForTests( | 164 void ExecuteJavaScriptWithUserGestureForTests( |
160 const base::string16& javascript) override; | 165 const base::string16& javascript) override; |
161 void ExecuteJavaScriptInIsolatedWorld( | |
162 const base::string16& javascript, | |
163 const JavaScriptResultCallback& callback, | |
164 int world_id) override; | |
165 void ActivateFindInPageResultForAccessibility(int request_id) override; | 166 void ActivateFindInPageResultForAccessibility(int request_id) override; |
| 167 void InsertVisualStateCallback(const VisualStateCallback& callback) override; |
166 RenderViewHost* GetRenderViewHost() override; | 168 RenderViewHost* GetRenderViewHost() override; |
167 ServiceRegistry* GetServiceRegistry() override; | 169 ServiceRegistry* GetServiceRegistry() override; |
168 blink::WebPageVisibilityState GetVisibilityState() override; | 170 blink::WebPageVisibilityState GetVisibilityState() override; |
169 void InsertVisualStateCallback( | |
170 const VisualStateCallback& callback) override; | |
171 bool IsRenderFrameLive() override; | 171 bool IsRenderFrameLive() override; |
172 RenderWidgetHostView* GetView() override; | 172 int GetProxyCount() override; |
173 #if defined(OS_ANDROID) | 173 #if defined(OS_ANDROID) |
174 void ActivateNearestFindResult(int request_id, float x, float y) override; | 174 void ActivateNearestFindResult(int request_id, float x, float y) override; |
175 void RequestFindMatchRects(int current_version) override; | 175 void RequestFindMatchRects(int current_version) override; |
176 #endif | 176 #endif |
177 | 177 |
178 // IPC::Sender | 178 // IPC::Sender |
179 bool Send(IPC::Message* msg) override; | 179 bool Send(IPC::Message* msg) override; |
180 | 180 |
181 // IPC::Listener | 181 // IPC::Listener |
182 bool OnMessageReceived(const IPC::Message& msg) override; | 182 bool OnMessageReceived(const IPC::Message& msg) override; |
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 | 894 |
895 // NOTE: This must be the last member. | 895 // NOTE: This must be the last member. |
896 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 896 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
897 | 897 |
898 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 898 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
899 }; | 899 }; |
900 | 900 |
901 } // namespace content | 901 } // namespace content |
902 | 902 |
903 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 903 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |