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 "base/logging.h" | 7 #include "base/logging.h" |
8 #include "pdf/instance.h" | |
9 | 8 |
10 namespace chrome_pdf { | 9 namespace chrome_pdf { |
11 | 10 |
12 PreviewModeClient::PreviewModeClient(Client* client) | 11 PreviewModeClient::PreviewModeClient(Client* client) |
13 : client_(client) { | 12 : client_(client) { |
14 } | 13 } |
15 | 14 |
16 void PreviewModeClient::DocumentSizeUpdated(const pp::Size& size) { | 15 void PreviewModeClient::DocumentSizeUpdated(const pp::Size& size) { |
17 } | 16 } |
18 | 17 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 NOTREACHED(); | 157 NOTREACHED(); |
159 return false; | 158 return false; |
160 } | 159 } |
161 | 160 |
162 uint32 PreviewModeClient::GetBackgroundColor() { | 161 uint32 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 |