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

Unified Diff: pdf/out_of_process_instance.h

Issue 2371483002: Update PDF accessibility when zoom level changes (Closed)
Patch Set: Renamed PDF -> Plugin in content/renderer/ Created 4 years, 3 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
« no previous file with comments | « content/renderer/accessibility/render_accessibility_impl.cc ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/out_of_process_instance.h
diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h
index c30024824c07cbdea622eee05e32f06bbd77b3f7..a998537dfd1e27548cf580d50715c68c928afb51 100644
--- a/pdf/out_of_process_instance.h
+++ b/pdf/out_of_process_instance.h
@@ -79,12 +79,6 @@ class OutOfProcessInstance : public pp::Instance,
void GetPrintPresetOptionsFromDocument(PP_PdfPrintPresetOptions_Dev* options);
void EnableAccessibility();
- // Start loading accessibility information.
- void LoadAccessibility();
-
- // Send accessibility information about the given page index.
- void SendNextAccessibilityPage(int32_t page_index);
-
void FlushCallback(int32_t result);
void DidOpen(int32_t result);
void DidOpenPreview(int32_t result);
@@ -182,6 +176,17 @@ class OutOfProcessInstance : public pp::Instance,
void UserMetricsRecordAction(const std::string& action);
+ // Start loading accessibility information.
+ void LoadAccessibility();
+
+ // Send accessibility information about the given page index.
+ void SendNextAccessibilityPage(int32_t page_index);
+
+ // Send the accessibility information about the current viewport. This is
+ // done once when accessibility is first loaded and again when the geometry
+ // changes.
+ void SendAccessibilityViewportInfo();
+
enum DocumentLoadState {
LOAD_STATE_LOADING,
LOAD_STATE_COMPLETE,
« no previous file with comments | « content/renderer/accessibility/render_accessibility_impl.cc ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698