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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 2808383004: Refactor and send voice interaction structure (Closed)
Patch Set: address dominic's review comments Created 3 years, 8 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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 5a621c32adb4b39566006e10f588efde2b39d2f2..02701500ec6d98bce5c24aa5f0ef639dcc7df9af 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -232,13 +232,6 @@ class CONTENT_EXPORT WebContentsImpl
// bitmap.
void AddAccessibilityMode(AccessibilityMode mode);
- // Request a one-time snapshot of the accessibility tree without changing
- // the accessibility mode.
- using AXTreeSnapshotCallback =
- base::Callback<void(
- const ui::AXTreeUpdate&)>;
- void RequestAXTreeSnapshot(AXTreeSnapshotCallback callback);
-
// Set a temporary zoom level for the frames associated with this WebContents.
// If |is_temporary| is true, we are setting a new temporary zoom level,
// otherwise we are clearing a previously set temporary zoom level.
@@ -313,6 +306,7 @@ class CONTENT_EXPORT WebContentsImpl
bool IsWaitingForResponse() const override;
const net::LoadStateWithParam& GetLoadState() const override;
const base::string16& GetLoadStateHost() const override;
+ void RequestAXTreeSnapshot(AXTreeSnapshotCallback callback) override;
uint64_t GetUploadSize() const override;
uint64_t GetUploadPosition() const override;
const std::string& GetEncoding() const override;

Powered by Google App Engine
This is Rietveld 408576698