Chromium Code Reviews| 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..cc66f6193e62d48253c51c368b9777e16b18e10c 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. |
|
raymes
2016/09/27 05:05:31
nit: fill 80 chars
dmazzoni
2016/09/27 16:19:32
Done
|
| + // 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, |