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

Side by Side Diff: pdf/out_of_process_instance.h

Issue 2349753003: Improve linearized pdf load/show time. (Closed)
Patch Set: remove useless code. Created 4 years, 3 months 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
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 std::vector<SearchStringResult>* results) override; 133 std::vector<SearchStringResult>* results) override;
134 void DocumentPaintOccurred() override; 134 void DocumentPaintOccurred() override;
135 void DocumentLoadComplete(int page_count) override; 135 void DocumentLoadComplete(int page_count) override;
136 void DocumentLoadFailed() override; 136 void DocumentLoadFailed() override;
137 pp::Instance* GetPluginInstance() override; 137 pp::Instance* GetPluginInstance() override;
138 void DocumentHasUnsupportedFeature(const std::string& feature) override; 138 void DocumentHasUnsupportedFeature(const std::string& feature) override;
139 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override; 139 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override;
140 void FormTextFieldFocusChange(bool in_focus) override; 140 void FormTextFieldFocusChange(bool in_focus) override;
141 bool IsPrintPreview() override; 141 bool IsPrintPreview() override;
142 uint32_t GetBackgroundColor() override; 142 uint32_t GetBackgroundColor() override;
143 void CancelBrowserDownload() override;
143 void IsSelectingChanged(bool is_selecting) override; 144 void IsSelectingChanged(bool is_selecting) override;
144 145
145 // PreviewModeClient::Client implementation. 146 // PreviewModeClient::Client implementation.
146 void PreviewDocumentLoadComplete() override; 147 void PreviewDocumentLoadComplete() override;
147 void PreviewDocumentLoadFailed() override; 148 void PreviewDocumentLoadFailed() override;
148 149
149 // Helper functions for implementing PPP_PDF. 150 // Helper functions for implementing PPP_PDF.
150 void RotateClockwise(); 151 void RotateClockwise();
151 void RotateCounterclockwise(); 152 void RotateCounterclockwise();
152 153
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load. 358 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load.
358 ACCESSIBILITY_STATE_LOADED 359 ACCESSIBILITY_STATE_LOADED
359 } accessibility_state_; 360 } accessibility_state_;
360 361
361 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); 362 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance);
362 }; 363 };
363 364
364 } // namespace chrome_pdf 365 } // namespace chrome_pdf
365 366
366 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ 367 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698