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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 const void* data, | 119 const void* data, |
120 int length) override; | 120 int length) override; |
121 std::string ShowFileSelectionDialog() override; | 121 std::string ShowFileSelectionDialog() override; |
122 pp::URLLoader CreateURLLoader() override; | 122 pp::URLLoader CreateURLLoader() override; |
123 void ScheduleCallback(int id, int delay_in_ms) override; | 123 void ScheduleCallback(int id, int delay_in_ms) override; |
124 void SearchString(const base::char16* string, | 124 void SearchString(const base::char16* string, |
125 const base::char16* term, | 125 const base::char16* term, |
126 bool case_sensitive, | 126 bool case_sensitive, |
127 std::vector<SearchStringResult>* results) override; | 127 std::vector<SearchStringResult>* results) override; |
128 void DocumentPaintOccurred() override; | 128 void DocumentPaintOccurred() override; |
| 129 void OnGotActualURL(const std::string& url) override; |
129 void DocumentLoadComplete(int page_count) override; | 130 void DocumentLoadComplete(int page_count) override; |
130 void DocumentLoadFailed() override; | 131 void DocumentLoadFailed() override; |
131 pp::Instance* GetPluginInstance() override; | 132 pp::Instance* GetPluginInstance() override; |
132 void DocumentHasUnsupportedFeature(const std::string& feature) override; | 133 void DocumentHasUnsupportedFeature(const std::string& feature) override; |
133 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override; | 134 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override; |
134 void FormTextFieldFocusChange(bool in_focus) override; | 135 void FormTextFieldFocusChange(bool in_focus) override; |
135 bool IsPrintPreview() override; | 136 bool IsPrintPreview() override; |
136 uint32_t GetBackgroundColor() override; | 137 uint32_t GetBackgroundColor() override; |
137 void IsSelectingChanged(bool is_selecting) override; | 138 void IsSelectingChanged(bool is_selecting) override; |
138 | 139 |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load. | 363 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load. |
363 ACCESSIBILITY_STATE_LOADED | 364 ACCESSIBILITY_STATE_LOADED |
364 } accessibility_state_; | 365 } accessibility_state_; |
365 | 366 |
366 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); | 367 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); |
367 }; | 368 }; |
368 | 369 |
369 } // namespace chrome_pdf | 370 } // namespace chrome_pdf |
370 | 371 |
371 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ | 372 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ |
OLD | NEW |