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; | |
139 void IsSelectingChanged(bool is_selecting) override; | 138 void IsSelectingChanged(bool is_selecting) override; |
140 | 139 |
141 // PreviewModeClient::Client implementation. | 140 // PreviewModeClient::Client implementation. |
142 void PreviewDocumentLoadComplete() override; | 141 void PreviewDocumentLoadComplete() override; |
143 void PreviewDocumentLoadFailed() override; | 142 void PreviewDocumentLoadFailed() override; |
144 | 143 |
145 // Helper functions for implementing PPP_PDF. | 144 // Helper functions for implementing PPP_PDF. |
146 void RotateClockwise(); | 145 void RotateClockwise(); |
147 void RotateCounterclockwise(); | 146 void RotateCounterclockwise(); |
148 | 147 |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 | 390 |
392 // True if the plugin is loaded in print preview, otherwise false. | 391 // True if the plugin is loaded in print preview, otherwise false. |
393 bool is_print_preview_; | 392 bool is_print_preview_; |
394 | 393 |
395 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); | 394 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); |
396 }; | 395 }; |
397 | 396 |
398 } // namespace chrome_pdf | 397 } // namespace chrome_pdf |
399 | 398 |
400 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ | 399 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ |
OLD | NEW |