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

Side by Side Diff: pdf/preview_mode_client.cc

Issue 2828413005: Clang format pdf/ (Closed)
Patch Set: Manual tweaks Created 3 years, 8 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
« no previous file with comments | « pdf/pdfium/pdfium_range.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
11 namespace chrome_pdf { 11 namespace chrome_pdf {
12 12
13 PreviewModeClient::PreviewModeClient(Client* client) 13 PreviewModeClient::PreviewModeClient(Client* client) : client_(client) {}
14 : client_(client) {
15 }
16 14
17 void PreviewModeClient::DocumentSizeUpdated(const pp::Size& size) { 15 void PreviewModeClient::DocumentSizeUpdated(const pp::Size& size) {}
18 }
19 16
20 void PreviewModeClient::Invalidate(const pp::Rect& rect) { 17 void PreviewModeClient::Invalidate(const pp::Rect& rect) {
21 NOTREACHED(); 18 NOTREACHED();
22 } 19 }
23 20
24 void PreviewModeClient::Scroll(const pp::Point& point) { 21 void PreviewModeClient::Scroll(const pp::Point& point) {
25 NOTREACHED(); 22 NOTREACHED();
26 } 23 }
27 24
28 void PreviewModeClient::ScrollToX(int position) { 25 void PreviewModeClient::ScrollToX(int position) {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 NOTREACHED(); 158 NOTREACHED();
162 return false; 159 return false;
163 } 160 }
164 161
165 uint32_t PreviewModeClient::GetBackgroundColor() { 162 uint32_t PreviewModeClient::GetBackgroundColor() {
166 NOTREACHED(); 163 NOTREACHED();
167 return 0; 164 return 0;
168 } 165 }
169 166
170 } // namespace chrome_pdf 167 } // namespace chrome_pdf
OLDNEW
« no previous file with comments | « pdf/pdfium/pdfium_range.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698