Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1020)

Side by Side Diff: pdf/out_of_process_instance.h

Issue 2458493002: Revert of Improve linearized pdf load/show time. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pdf/document_loader_unittest.cc ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load. 369 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load.
371 ACCESSIBILITY_STATE_LOADED 370 ACCESSIBILITY_STATE_LOADED
372 } accessibility_state_; 371 } accessibility_state_;
373 372
374 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); 373 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance);
375 }; 374 };
376 375
377 } // namespace chrome_pdf 376 } // namespace chrome_pdf
378 377
379 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ 378 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_
OLDNEW
« no previous file with comments | « pdf/document_loader_unittest.cc ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698