| 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 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 void PreviewModeClient::ScrollToY(int position) { | 32 void PreviewModeClient::ScrollToY(int position) { |
| 33 NOTREACHED(); | 33 NOTREACHED(); |
| 34 } | 34 } |
| 35 | 35 |
| 36 void PreviewModeClient::ScrollToPage(int page) { | 36 void PreviewModeClient::ScrollToPage(int page) { |
| 37 NOTREACHED(); | 37 NOTREACHED(); |
| 38 } | 38 } |
| 39 | 39 |
| 40 void PreviewModeClient::NavigateTo(const std::string& url, | 40 void PreviewModeClient::NavigateTo(const std::string& url, |
| 41 bool open_in_new_tab) { | 41 WindowOpenDisposition disposition) { |
| 42 NOTREACHED(); | 42 NOTREACHED(); |
| 43 } | 43 } |
| 44 | 44 |
| 45 void PreviewModeClient::UpdateCursor(PP_CursorType_Dev cursor) { | 45 void PreviewModeClient::UpdateCursor(PP_CursorType_Dev cursor) { |
| 46 NOTREACHED(); | 46 NOTREACHED(); |
| 47 } | 47 } |
| 48 | 48 |
| 49 void PreviewModeClient::UpdateTickMarks( | 49 void PreviewModeClient::UpdateTickMarks( |
| 50 const std::vector<pp::Rect>& tickmarks) { | 50 const std::vector<pp::Rect>& tickmarks) { |
| 51 NOTREACHED(); | 51 NOTREACHED(); |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 NOTREACHED(); | 157 NOTREACHED(); |
| 158 return false; | 158 return false; |
| 159 } | 159 } |
| 160 | 160 |
| 161 uint32_t PreviewModeClient::GetBackgroundColor() { | 161 uint32_t PreviewModeClient::GetBackgroundColor() { |
| 162 NOTREACHED(); | 162 NOTREACHED(); |
| 163 return 0; | 163 return 0; |
| 164 } | 164 } |
| 165 | 165 |
| 166 } // namespace chrome_pdf | 166 } // namespace chrome_pdf |
| OLD | NEW |