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

Side by Side Diff: pdf/preview_mode_client.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) 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 bool case_sensitive, 63 bool case_sensitive,
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 pp::Instance* GetPluginInstance() override; 68 pp::Instance* GetPluginInstance() override;
69 void DocumentHasUnsupportedFeature(const std::string& feature) override; 69 void DocumentHasUnsupportedFeature(const std::string& feature) override;
70 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override; 70 void DocumentLoadProgress(uint32_t available, uint32_t doc_size) override;
71 void FormTextFieldFocusChange(bool in_focus) override; 71 void FormTextFieldFocusChange(bool in_focus) override;
72 bool IsPrintPreview() override; 72 bool IsPrintPreview() override;
73 void CancelBrowserDownload() override;
73 uint32_t GetBackgroundColor() override; 74 uint32_t GetBackgroundColor() override;
74 75
75 private: 76 private:
76 Client* const client_; 77 Client* const client_;
77 }; 78 };
78 79
79 } // namespace chrome_pdf 80 } // namespace chrome_pdf
80 81
81 #endif // PDF_PREVIEW_MODE_CLIENT_H_ 82 #endif // PDF_PREVIEW_MODE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698