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

Side by Side Diff: chrome/renderer/print_web_view_helper.cc

Issue 346042: Add default implementations for WebViewClient and WebWidgetClient... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/print_web_view_helper.h ('k') | chrome/renderer/render_view.h » ('j') | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/renderer/print_web_view_helper.h" 5 #include "chrome/renderer/print_web_view_helper.h"
6 6
7 #include "app/gfx/codec/jpeg_codec.h" 7 #include "app/gfx/codec/jpeg_codec.h"
8 #include "app/l10n_util.h" 8 #include "app/l10n_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/common/render_messages.h" 10 #include "chrome/common/render_messages.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 } 157 }
158 158
159 int32 PrintWebViewHelper::routing_id() { 159 int32 PrintWebViewHelper::routing_id() {
160 return render_view_->routing_id(); 160 return render_view_->routing_id();
161 } 161 }
162 162
163 void PrintWebViewHelper::didStopLoading() { 163 void PrintWebViewHelper::didStopLoading() {
164 DCHECK(print_pages_params_.get() != NULL); 164 DCHECK(print_pages_params_.get() != NULL);
165 PrintPages(*print_pages_params_.get(), print_web_view_->mainFrame()); 165 PrintPages(*print_pages_params_.get(), print_web_view_->mainFrame());
166 } 166 }
167
168 WebString PrintWebViewHelper::autoCorrectWord(const WebString& word) {
169 return word;
170 }
171
172 WebRect PrintWebViewHelper::windowRect() {
173 NOTREACHED();
174 return WebRect();
175 }
176
177 WebRect PrintWebViewHelper::windowResizerRect() {
178 NOTREACHED();
179 return WebRect();
180 }
181
182 WebRect PrintWebViewHelper::rootWindowRect() {
183 NOTREACHED();
184 return WebRect();
185 }
186
187 WebScreenInfo PrintWebViewHelper::screenInfo() {
188 NOTREACHED();
189 return WebScreenInfo();
190 }
OLDNEW
« no previous file with comments | « chrome/renderer/print_web_view_helper.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698