Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(907)

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 799633007: Make Windows accessibility event firing aware of guest / child frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webview_fixes
Patch Set: Fix Mac compile Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index e0fa87fa49bcba9d35da5676f8209afd761fb55c..a3970834ba6e1c85f5c18b626fc778b567fd47f6 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -162,6 +162,8 @@ class CONTENT_EXPORT RenderFrameHostImpl
gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
BrowserAccessibilityManager* AccessibilityGetChildFrame(
int accessibility_node_id) override;
+ void AccessibilityGetAllChildFrames(
+ std::vector<BrowserAccessibilityManager*>* child_frames) override;
BrowserAccessibility* AccessibilityGetParentFrame() override;
// Creates a RenderFrame in the renderer process. Only called for
@@ -495,6 +497,11 @@ class CONTENT_EXPORT RenderFrameHostImpl
void UpdateGuestFrameAccessibility(
const std::map<int32, int>& node_to_browser_plugin_instance_id_map);
+ // Asserts that the given RenderFrameHostImpl is part of the same browser
+ // context (and crashes if not), then returns whether the given frame is
+ // part of the same site instance.
+ bool IsSameSiteInstance(RenderFrameHostImpl* other_render_frame_host);
+
// Informs the content client that geolocation permissions were used.
void DidUseGeolocationPermission();
« no previous file with comments | « content/browser/frame_host/frame_accessibility.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698