| 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 19 matching lines...) Expand all Loading... |
| 30 } | 30 } |
| 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, int option) { |
| 41 bool open_in_new_tab) { | |
| 42 NOTREACHED(); | 41 NOTREACHED(); |
| 43 } | 42 } |
| 44 | 43 |
| 45 void PreviewModeClient::UpdateCursor(PP_CursorType_Dev cursor) { | 44 void PreviewModeClient::UpdateCursor(PP_CursorType_Dev cursor) { |
| 46 NOTREACHED(); | 45 NOTREACHED(); |
| 47 } | 46 } |
| 48 | 47 |
| 49 void PreviewModeClient::UpdateTickMarks( | 48 void PreviewModeClient::UpdateTickMarks( |
| 50 const std::vector<pp::Rect>& tickmarks) { | 49 const std::vector<pp::Rect>& tickmarks) { |
| 51 NOTREACHED(); | 50 NOTREACHED(); |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 NOTREACHED(); | 156 NOTREACHED(); |
| 158 return false; | 157 return false; |
| 159 } | 158 } |
| 160 | 159 |
| 161 uint32_t PreviewModeClient::GetBackgroundColor() { | 160 uint32_t PreviewModeClient::GetBackgroundColor() { |
| 162 NOTREACHED(); | 161 NOTREACHED(); |
| 163 return 0; | 162 return 0; |
| 164 } | 163 } |
| 165 | 164 |
| 166 } // namespace chrome_pdf | 165 } // namespace chrome_pdf |
| OLD | NEW |