Chromium Code Reviews| Index: content/public/browser/web_contents.h |
| diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
| index 38830c3a86cbf2a8cfa0ed931e21c698c4238053..d572ef9c0cf666c37fb7f9a0abedd64776c066b6 100644 |
| --- a/content/public/browser/web_contents.h |
| +++ b/content/public/browser/web_contents.h |
| @@ -187,6 +187,10 @@ class WebContents : public PageNavigator, |
| virtual void ForEachFrame( |
| const base::Callback<void(RenderFrameHost*)>& on_frame) = 0; |
| + // Calls |on_frame| for each frame, including pending frames. |
| + virtual void ForEachFrameAndPendingFrame( |
| + const base::Callback<void(RenderFrameHost*)>& on_frame) = 0; |
|
jam
2014/05/28 18:49:21
2 nits:
-since this is only called in content, it
dmazzoni
2014/05/28 22:01:17
Done.
|
| + |
| // Sends the given IPC to all frames in the currently active view. This is a |
| // convenience method instead of calling ForEach. |
| virtual void SendToAllFrames(IPC::Message* message) = 0; |
| @@ -229,6 +233,18 @@ class WebContents : public PageNavigator, |
| virtual void SetUserAgentOverride(const std::string& override) = 0; |
| virtual const std::string& GetUserAgentOverride() const = 0; |
| + // Enable the accessibility tree for this WebContents in the renderer, |
| + // but don't enable creating a native accessibility tree on the browser |
| + // side. |
| + virtual void EnableTreeOnlyAccessibilityMode() = 0; |
| + |
| + // Returns true only if "tree only" accessibility mode is on. |
| + virtual bool IsTreeOnlyAccessibilityModeForTesting() const = 0; |
| + |
| + // Returns true only if complete accessibility mode is on, meaning there's |
| + // both renderer accessibility, and a native browser accessibility tree. |
| + virtual bool IsFullAccessibilityModeForTesting() const = 0; |
| + |
| #if defined(OS_WIN) |
| virtual void SetParentNativeViewAccessible( |
| gfx::NativeViewAccessible accessible_parent) = 0; |