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_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
56 #if defined(OS_ANDROID) | 56 #if defined(OS_ANDROID) |
57 // Globally allows for injecting JavaScript into the main world. This feature | 57 // Globally allows for injecting JavaScript into the main world. This feature |
58 // is present only to support Android WebView and must not be used in other | 58 // is present only to support Android WebView and must not be used in other |
59 // configurations. | 59 // configurations. |
60 static void AllowInjectingJavaScriptForAndroidWebView(); | 60 static void AllowInjectingJavaScriptForAndroidWebView(); |
61 #endif | 61 #endif |
62 | 62 |
63 // Returns a RenderFrameHost given its accessibility tree ID. | 63 // Returns a RenderFrameHost given its accessibility tree ID. |
64 static RenderFrameHost* FromAXTreeID(int ax_tree_id); | 64 static RenderFrameHost* FromAXTreeID(int ax_tree_id); |
65 | 65 |
66 static int LookupOtherFrameTreeNodeId(int process_id, int routing_id); | |
dmazzoni
2017/04/21 15:48:48
What does "Other" mean in this context?
I think a
lpz
2017/05/02 19:36:24
Renamed this function to be more generic.
For "ot
dmazzoni
2017/05/05 17:32:28
Every RenderFrameProxyHost has an associated Rende
lpz
2017/05/10 14:21:08
Done.
| |
67 | |
66 ~RenderFrameHost() override {} | 68 ~RenderFrameHost() override {} |
67 | 69 |
68 // Returns the route id for this frame. | 70 // Returns the route id for this frame. |
69 virtual int GetRoutingID() = 0; | 71 virtual int GetRoutingID() = 0; |
70 | 72 |
71 // Returns the accessibility tree ID for this RenderFrameHost. | 73 // Returns the accessibility tree ID for this RenderFrameHost. |
72 virtual int GetAXTreeID() = 0; | 74 virtual int GetAXTreeID() = 0; |
73 | 75 |
74 // Returns the SiteInstance grouping all RenderFrameHosts that have script | 76 // Returns the SiteInstance grouping all RenderFrameHosts that have script |
75 // access to this RenderFrameHost, and must therefore live in the same | 77 // access to this RenderFrameHost, and must therefore live in the same |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
255 | 257 |
256 private: | 258 private: |
257 // This interface should only be implemented inside content. | 259 // This interface should only be implemented inside content. |
258 friend class RenderFrameHostImpl; | 260 friend class RenderFrameHostImpl; |
259 RenderFrameHost() {} | 261 RenderFrameHost() {} |
260 }; | 262 }; |
261 | 263 |
262 } // namespace content | 264 } // namespace content |
263 | 265 |
264 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 266 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
OLD | NEW |