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

Side by Side Diff: pdf/out_of_process_instance.h

Issue 2455403002: Reland of Improve linearized pdf load/show time. (Closed)
Patch Set: Fix review issues 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;
138 void IsSelectingChanged(bool is_selecting) 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
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load. 370 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load.
370 ACCESSIBILITY_STATE_LOADED 371 ACCESSIBILITY_STATE_LOADED
371 } accessibility_state_; 372 } accessibility_state_;
372 373
373 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); 374 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance);
374 }; 375 };
375 376
376 } // namespace chrome_pdf 377 } // namespace chrome_pdf
377 378
378 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ 379 #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