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

Side by Side Diff: pdf/preview_mode_client.h

Issue 1533413002: Switch to standard integer types in pdf/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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_page.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>
9
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "pdf/pdf_engine.h" 13 #include "pdf/pdf_engine.h"
12 14
13 namespace chrome_pdf { 15 namespace chrome_pdf {
14 16
15 // The interface that's provided to the print preview rendering engine. 17 // The interface that's provided to the print preview rendering engine.
16 class PreviewModeClient : public PDFEngine::Client { 18 class PreviewModeClient : public PDFEngine::Client {
17 public: 19 public:
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual void ScheduleCallback(int id, int delay_in_ms); 59 virtual void ScheduleCallback(int id, int delay_in_ms);
58 virtual void SearchString(const base::char16* string, 60 virtual void SearchString(const base::char16* string,
59 const base::char16* term, 61 const base::char16* term,
60 bool case_sensitive, 62 bool case_sensitive,
61 std::vector<SearchStringResult>* results); 63 std::vector<SearchStringResult>* results);
62 virtual void DocumentPaintOccurred(); 64 virtual void DocumentPaintOccurred();
63 virtual void DocumentLoadComplete(int page_count); 65 virtual void DocumentLoadComplete(int page_count);
64 virtual void DocumentLoadFailed(); 66 virtual void DocumentLoadFailed();
65 virtual pp::Instance* GetPluginInstance(); 67 virtual pp::Instance* GetPluginInstance();
66 virtual void DocumentHasUnsupportedFeature(const std::string& feature); 68 virtual void DocumentHasUnsupportedFeature(const std::string& feature);
67 virtual void DocumentLoadProgress(uint32 available, uint32 doc_size); 69 virtual void DocumentLoadProgress(uint32_t available, uint32_t doc_size);
68 virtual void FormTextFieldFocusChange(bool in_focus); 70 virtual void FormTextFieldFocusChange(bool in_focus);
69 virtual bool IsPrintPreview(); 71 virtual bool IsPrintPreview();
70 virtual uint32 GetBackgroundColor(); 72 virtual uint32_t GetBackgroundColor();
71 73
72 private: 74 private:
73 Client* client_; 75 Client* client_;
74 }; 76 };
75 77
76 } // namespace chrome_pdf 78 } // namespace chrome_pdf
77 79
78 #endif // PDF_PREVIEW_MODE_CLIENT_H_ 80 #endif // PDF_PREVIEW_MODE_CLIENT_H_
OLDNEW
« no previous file with comments | « pdf/pdfium/pdfium_page.cc ('k') | pdf/preview_mode_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698