OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PREVIEW_MODE_CLIENT_H_ | 5 #ifndef PDF_PREVIEW_MODE_CLIENT_H_ |
6 #define PDF_PREVIEW_MODE_CLIENT_H_ | 6 #define PDF_PREVIEW_MODE_CLIENT_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 std::vector<SearchStringResult>* results) override; | 64 std::vector<SearchStringResult>* results) override; |
65 void DocumentPaintOccurred() override; | 65 void DocumentPaintOccurred() override; |
66 void DocumentLoadComplete(int page_count) override; | 66 void DocumentLoadComplete(int page_count) override; |
67 void DocumentLoadFailed() override; | 67 void DocumentLoadFailed() override; |
68 void FontSubstituted() override; | 68 void FontSubstituted() override; |
69 pp::Instance* GetPluginInstance() override; | 69 pp::Instance* GetPluginInstance() override; |
70 void DocumentHasUnsupportedFeature(const std::string& feature) override; | 70 void DocumentHasUnsupportedFeature(const std::string& feature) override; |
71 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override; | 71 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override; |
72 void FormTextFieldFocusChange(bool in_focus) override; | 72 void FormTextFieldFocusChange(bool in_focus) override; |
73 bool IsPrintPreview() override; | 73 bool IsPrintPreview() override; |
| 74 void CancelBrowserDownload() override; |
74 uint32_t GetBackgroundColor() override; | 75 uint32_t GetBackgroundColor() override; |
75 | 76 |
76 private: | 77 private: |
77 Client* const client_; | 78 Client* const client_; |
78 }; | 79 }; |
79 | 80 |
80 } // namespace chrome_pdf | 81 } // namespace chrome_pdf |
81 | 82 |
82 #endif // PDF_PREVIEW_MODE_CLIENT_H_ | 83 #endif // PDF_PREVIEW_MODE_CLIENT_H_ |
OLD | NEW |