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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 const std::string& bcc, | 51 const std::string& bcc, |
52 const std::string& subject, | 52 const std::string& subject, |
53 const std::string& body) override; | 53 const std::string& body) override; |
54 void Print() override; | 54 void Print() override; |
55 void SubmitForm(const std::string& url, | 55 void SubmitForm(const std::string& url, |
56 const void* data, | 56 const void* data, |
57 int length) override; | 57 int length) override; |
58 std::string ShowFileSelectionDialog() override; | 58 std::string ShowFileSelectionDialog() override; |
59 pp::URLLoader CreateURLLoader() override; | 59 pp::URLLoader CreateURLLoader() override; |
60 void ScheduleCallback(int id, int delay_in_ms) override; | 60 void ScheduleCallback(int id, int delay_in_ms) override; |
| 61 void ScheduleTouchTimerCallback(int id, int delay_in_ms) override; |
61 void SearchString(const base::char16* string, | 62 void SearchString(const base::char16* string, |
62 const base::char16* term, | 63 const base::char16* term, |
63 bool case_sensitive, | 64 bool case_sensitive, |
64 std::vector<SearchStringResult>* results) override; | 65 std::vector<SearchStringResult>* results) override; |
65 void DocumentPaintOccurred() override; | 66 void DocumentPaintOccurred() override; |
66 void DocumentLoadComplete(int page_count) override; | 67 void DocumentLoadComplete(int page_count) override; |
67 void DocumentLoadFailed() override; | 68 void DocumentLoadFailed() override; |
68 void FontSubstituted() override; | 69 void FontSubstituted() override; |
69 pp::Instance* GetPluginInstance() override; | 70 pp::Instance* GetPluginInstance() override; |
70 void DocumentHasUnsupportedFeature(const std::string& feature) override; | 71 void DocumentHasUnsupportedFeature(const std::string& feature) override; |
71 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override; | 72 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override; |
72 void FormTextFieldFocusChange(bool in_focus) override; | 73 void FormTextFieldFocusChange(bool in_focus) override; |
73 bool IsPrintPreview() override; | 74 bool IsPrintPreview() 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 |