OLD | NEW |
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 #include "pdf/preview_mode_client.h" | 5 #include "pdf/preview_mode_client.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 | 10 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 131 |
132 void PreviewModeClient::DocumentLoadComplete(int page_count) { | 132 void PreviewModeClient::DocumentLoadComplete(int page_count) { |
133 client_->PreviewDocumentLoadComplete(); | 133 client_->PreviewDocumentLoadComplete(); |
134 } | 134 } |
135 | 135 |
136 void PreviewModeClient::DocumentLoadFailed() { | 136 void PreviewModeClient::DocumentLoadFailed() { |
137 client_->PreviewDocumentLoadFailed(); | 137 client_->PreviewDocumentLoadFailed(); |
138 } | 138 } |
139 | 139 |
140 pp::Instance* PreviewModeClient::GetPluginInstance() { | 140 pp::Instance* PreviewModeClient::GetPluginInstance() { |
141 NOTREACHED(); | 141 return nullptr; |
142 return NULL; | |
143 } | 142 } |
144 | 143 |
145 void PreviewModeClient::DocumentHasUnsupportedFeature( | 144 void PreviewModeClient::DocumentHasUnsupportedFeature( |
146 const std::string& feature) { | 145 const std::string& feature) { |
147 NOTREACHED(); | 146 NOTREACHED(); |
148 } | 147 } |
149 | 148 |
150 void PreviewModeClient::DocumentLoadProgress(uint32_t available, | 149 void PreviewModeClient::DocumentLoadProgress(uint32_t available, |
151 uint32_t doc_size) {} | 150 uint32_t doc_size) {} |
152 | 151 |
153 void PreviewModeClient::FormTextFieldFocusChange(bool in_focus) { | 152 void PreviewModeClient::FormTextFieldFocusChange(bool in_focus) { |
154 NOTREACHED(); | 153 NOTREACHED(); |
155 } | 154 } |
156 | 155 |
157 bool PreviewModeClient::IsPrintPreview() { | 156 bool PreviewModeClient::IsPrintPreview() { |
158 NOTREACHED(); | 157 NOTREACHED(); |
159 return false; | 158 return false; |
160 } | 159 } |
161 | 160 |
162 uint32_t PreviewModeClient::GetBackgroundColor() { | 161 uint32_t PreviewModeClient::GetBackgroundColor() { |
163 NOTREACHED(); | 162 NOTREACHED(); |
164 return 0; | 163 return 0; |
165 } | 164 } |
166 | 165 |
167 } // namespace chrome_pdf | 166 } // namespace chrome_pdf |
OLD | NEW |