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

Side by Side Diff: pdf/preview_mode_client.h

Issue 2558573002: Revert "reland of Improve linearized pdf load/show time." (Closed)
Patch Set: Changes to make tests pass ... Created 4 years 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/pdfium/pdfium_engine.cc ('k') | pdf/preview_mode_client.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) 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 std::vector<SearchStringResult>* results) override; 64 std::vector<SearchStringResult>* results) override;
65 void DocumentPaintOccurred() override; 65 void DocumentPaintOccurred() override;
66 void DocumentLoadComplete(int page_count) override; 66 void DocumentLoadComplete(int page_count) override;
67 void DocumentLoadFailed() override; 67 void DocumentLoadFailed() override;
68 void FontSubstituted() override; 68 void FontSubstituted() override;
69 pp::Instance* GetPluginInstance() override; 69 pp::Instance* GetPluginInstance() override;
70 void DocumentHasUnsupportedFeature(const std::string& feature) override; 70 void DocumentHasUnsupportedFeature(const std::string& feature) override;
71 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override; 71 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override;
72 void FormTextFieldFocusChange(bool in_focus) override; 72 void FormTextFieldFocusChange(bool in_focus) override;
73 bool IsPrintPreview() override; 73 bool IsPrintPreview() override;
74 void CancelBrowserDownload() override;
75 uint32_t GetBackgroundColor() override; 74 uint32_t GetBackgroundColor() override;
76 75
77 private: 76 private:
78 Client* const client_; 77 Client* const client_;
79 }; 78 };
80 79
81 } // namespace chrome_pdf 80 } // namespace chrome_pdf
82 81
83 #endif // PDF_PREVIEW_MODE_CLIENT_H_ 82 #endif // PDF_PREVIEW_MODE_CLIENT_H_
OLDNEW
« no previous file with comments | « pdf/pdfium/pdfium_engine.cc ('k') | pdf/preview_mode_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698