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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 const base::char16* term, | 122 const base::char16* term, |
123 bool case_sensitive, | 123 bool case_sensitive, |
124 std::vector<SearchStringResult>* results) { | 124 std::vector<SearchStringResult>* results) { |
125 NOTREACHED(); | 125 NOTREACHED(); |
126 } | 126 } |
127 | 127 |
128 void PreviewModeClient::DocumentPaintOccurred() { | 128 void PreviewModeClient::DocumentPaintOccurred() { |
129 NOTREACHED(); | 129 NOTREACHED(); |
130 } | 130 } |
131 | 131 |
| 132 void PreviewModeClient::OnGotActualURL(const std::string& url) {} |
| 133 |
132 void PreviewModeClient::DocumentLoadComplete(int page_count) { | 134 void PreviewModeClient::DocumentLoadComplete(int page_count) { |
133 client_->PreviewDocumentLoadComplete(); | 135 client_->PreviewDocumentLoadComplete(); |
134 } | 136 } |
135 | 137 |
136 void PreviewModeClient::DocumentLoadFailed() { | 138 void PreviewModeClient::DocumentLoadFailed() { |
137 client_->PreviewDocumentLoadFailed(); | 139 client_->PreviewDocumentLoadFailed(); |
138 } | 140 } |
139 | 141 |
140 pp::Instance* PreviewModeClient::GetPluginInstance() { | 142 pp::Instance* PreviewModeClient::GetPluginInstance() { |
141 return nullptr; | 143 return nullptr; |
(...skipping 15 matching lines...) Expand all Loading... |
157 NOTREACHED(); | 159 NOTREACHED(); |
158 return false; | 160 return false; |
159 } | 161 } |
160 | 162 |
161 uint32_t PreviewModeClient::GetBackgroundColor() { | 163 uint32_t PreviewModeClient::GetBackgroundColor() { |
162 NOTREACHED(); | 164 NOTREACHED(); |
163 return 0; | 165 return 0; |
164 } | 166 } |
165 | 167 |
166 } // namespace chrome_pdf | 168 } // namespace chrome_pdf |
OLD | NEW |