| 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> |
| 8 |
| 7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 8 | 10 |
| 9 namespace chrome_pdf { | 11 namespace chrome_pdf { |
| 10 | 12 |
| 11 PreviewModeClient::PreviewModeClient(Client* client) | 13 PreviewModeClient::PreviewModeClient(Client* client) |
| 12 : client_(client) { | 14 : client_(client) { |
| 13 } | 15 } |
| 14 | 16 |
| 15 void PreviewModeClient::DocumentSizeUpdated(const pp::Size& size) { | 17 void PreviewModeClient::DocumentSizeUpdated(const pp::Size& size) { |
| 16 } | 18 } |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 pp::Instance* PreviewModeClient::GetPluginInstance() { | 140 pp::Instance* PreviewModeClient::GetPluginInstance() { |
| 139 NOTREACHED(); | 141 NOTREACHED(); |
| 140 return NULL; | 142 return NULL; |
| 141 } | 143 } |
| 142 | 144 |
| 143 void PreviewModeClient::DocumentHasUnsupportedFeature( | 145 void PreviewModeClient::DocumentHasUnsupportedFeature( |
| 144 const std::string& feature) { | 146 const std::string& feature) { |
| 145 NOTREACHED(); | 147 NOTREACHED(); |
| 146 } | 148 } |
| 147 | 149 |
| 148 void PreviewModeClient::DocumentLoadProgress(uint32 available, | 150 void PreviewModeClient::DocumentLoadProgress(uint32_t available, |
| 149 uint32 doc_size) { | 151 uint32_t doc_size) {} |
| 150 } | |
| 151 | 152 |
| 152 void PreviewModeClient::FormTextFieldFocusChange(bool in_focus) { | 153 void PreviewModeClient::FormTextFieldFocusChange(bool in_focus) { |
| 153 NOTREACHED(); | 154 NOTREACHED(); |
| 154 } | 155 } |
| 155 | 156 |
| 156 bool PreviewModeClient::IsPrintPreview() { | 157 bool PreviewModeClient::IsPrintPreview() { |
| 157 NOTREACHED(); | 158 NOTREACHED(); |
| 158 return false; | 159 return false; |
| 159 } | 160 } |
| 160 | 161 |
| 161 uint32 PreviewModeClient::GetBackgroundColor() { | 162 uint32_t PreviewModeClient::GetBackgroundColor() { |
| 162 NOTREACHED(); | 163 NOTREACHED(); |
| 163 return 0; | 164 return 0; |
| 164 } | 165 } |
| 165 | 166 |
| 166 } // namespace chrome_pdf | 167 } // namespace chrome_pdf |
| OLD | NEW |