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 <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 bool case_sensitive, | 129 bool case_sensitive, |
130 std::vector<SearchStringResult>* results) override; | 130 std::vector<SearchStringResult>* results) override; |
131 void DocumentPaintOccurred() override; | 131 void DocumentPaintOccurred() override; |
132 void DocumentLoadComplete(int page_count) override; | 132 void DocumentLoadComplete(int page_count) override; |
133 void DocumentLoadFailed() override; | 133 void DocumentLoadFailed() override; |
134 pp::Instance* GetPluginInstance() override; | 134 pp::Instance* GetPluginInstance() override; |
135 void DocumentHasUnsupportedFeature(const std::string& feature) override; | 135 void DocumentHasUnsupportedFeature(const std::string& feature) override; |
136 void DocumentLoadProgress(uint32 available, uint32 doc_size) override; | 136 void DocumentLoadProgress(uint32 available, uint32 doc_size) override; |
137 void FormTextFieldFocusChange(bool in_focus) override; | 137 void FormTextFieldFocusChange(bool in_focus) override; |
138 bool IsPrintPreview() override; | 138 bool IsPrintPreview() 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 |
148 private: | 149 private: |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 // zooming the plugin so that flickering doesn't occur while zooming. | 340 // zooming the plugin so that flickering doesn't occur while zooming. |
340 bool stop_scrolling_; | 341 bool stop_scrolling_; |
341 | 342 |
342 // The callback for receiving the password from the page. | 343 // The callback for receiving the password from the page. |
343 scoped_ptr<pp::CompletionCallbackWithOutput<pp::Var> > password_callback_; | 344 scoped_ptr<pp::CompletionCallbackWithOutput<pp::Var> > password_callback_; |
344 }; | 345 }; |
345 | 346 |
346 } // namespace chrome_pdf | 347 } // namespace chrome_pdf |
347 | 348 |
348 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ | 349 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ |
OLD | NEW |