Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Side by Side Diff: pdf/preview_mode_client.cc

Issue 2349753003: Improve linearized pdf load/show time. (Closed)
Patch Set: remove useless code. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 void PreviewModeClient::FormTextFieldFocusChange(bool in_focus) { 152 void PreviewModeClient::FormTextFieldFocusChange(bool in_focus) {
153 NOTREACHED(); 153 NOTREACHED();
154 } 154 }
155 155
156 bool PreviewModeClient::IsPrintPreview() { 156 bool PreviewModeClient::IsPrintPreview() {
157 NOTREACHED(); 157 NOTREACHED();
158 return false; 158 return false;
159 } 159 }
160 160
161 void PreviewModeClient::CancelBrowserDownload() {}
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698