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

Side by Side Diff: pdf/preview_mode_client.h

Issue 874663006: Make the PDF viewer background color a property of the instance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 bool case_sensitive, 60 bool case_sensitive,
61 std::vector<SearchStringResult>* results); 61 std::vector<SearchStringResult>* results);
62 virtual void DocumentPaintOccurred(); 62 virtual void DocumentPaintOccurred();
63 virtual void DocumentLoadComplete(int page_count); 63 virtual void DocumentLoadComplete(int page_count);
64 virtual void DocumentLoadFailed(); 64 virtual void DocumentLoadFailed();
65 virtual pp::Instance* GetPluginInstance(); 65 virtual pp::Instance* GetPluginInstance();
66 virtual void DocumentHasUnsupportedFeature(const std::string& feature); 66 virtual void DocumentHasUnsupportedFeature(const std::string& feature);
67 virtual void DocumentLoadProgress(uint32 available, uint32 doc_size); 67 virtual void DocumentLoadProgress(uint32 available, uint32 doc_size);
68 virtual void FormTextFieldFocusChange(bool in_focus); 68 virtual void FormTextFieldFocusChange(bool in_focus);
69 virtual bool IsPrintPreview(); 69 virtual bool IsPrintPreview();
70 virtual uint32 GetBackgroundColor();
70 71
71 private: 72 private:
72 Client* client_; 73 Client* client_;
73 }; 74 };
74 75
75 } // namespace chrome_pdf 76 } // namespace chrome_pdf
76 77
77 #endif // PDF_PREVIEW_MODE_CLIENT_H_ 78 #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