| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PDF_OUT_OF_PROCESS_INSTANCE_H_ | 5 #ifndef PDF_OUT_OF_PROCESS_INSTANCE_H_ |
| 6 #define PDF_OUT_OF_PROCESS_INSTANCE_H_ | 6 #define PDF_OUT_OF_PROCESS_INSTANCE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 | 10 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 void DocumentPaintOccurred() override; | 128 void DocumentPaintOccurred() override; |
| 129 void DocumentLoadComplete(int page_count) override; | 129 void DocumentLoadComplete(int page_count) override; |
| 130 void DocumentLoadFailed() override; | 130 void DocumentLoadFailed() override; |
| 131 void FontSubstituted() override; | 131 void FontSubstituted() override; |
| 132 pp::Instance* GetPluginInstance() override; | 132 pp::Instance* GetPluginInstance() override; |
| 133 void DocumentHasUnsupportedFeature(const std::string& feature) override; | 133 void DocumentHasUnsupportedFeature(const std::string& feature) override; |
| 134 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override; | 134 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override; |
| 135 void FormTextFieldFocusChange(bool in_focus) override; | 135 void FormTextFieldFocusChange(bool in_focus) override; |
| 136 bool IsPrintPreview() override; | 136 bool IsPrintPreview() override; |
| 137 uint32_t GetBackgroundColor() override; | 137 uint32_t GetBackgroundColor() override; |
| 138 void CancelBrowserDownload() override; |
| 138 void IsSelectingChanged(bool is_selecting) override; | 139 void IsSelectingChanged(bool is_selecting) override; |
| 139 | 140 |
| 140 // PreviewModeClient::Client implementation. | 141 // PreviewModeClient::Client implementation. |
| 141 void PreviewDocumentLoadComplete() override; | 142 void PreviewDocumentLoadComplete() override; |
| 142 void PreviewDocumentLoadFailed() override; | 143 void PreviewDocumentLoadFailed() override; |
| 143 | 144 |
| 144 // Helper functions for implementing PPP_PDF. | 145 // Helper functions for implementing PPP_PDF. |
| 145 void RotateClockwise(); | 146 void RotateClockwise(); |
| 146 void RotateCounterclockwise(); | 147 void RotateCounterclockwise(); |
| 147 | 148 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load. | 370 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load. |
| 370 ACCESSIBILITY_STATE_LOADED | 371 ACCESSIBILITY_STATE_LOADED |
| 371 } accessibility_state_; | 372 } accessibility_state_; |
| 372 | 373 |
| 373 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); | 374 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); |
| 374 }; | 375 }; |
| 375 | 376 |
| 376 } // namespace chrome_pdf | 377 } // namespace chrome_pdf |
| 377 | 378 |
| 378 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ | 379 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ |
| OLD | NEW |