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

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

Issue 227006: Move some more methods from WebViewDelegate to WebViewClient.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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 | 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/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/gfx/jpeg_codec.h" 8 #include "base/gfx/jpeg_codec.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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 int32 PrintWebViewHelper::routing_id() { 157 int32 PrintWebViewHelper::routing_id() {
158 return render_view_->routing_id(); 158 return render_view_->routing_id();
159 } 159 }
160 160
161 void PrintWebViewHelper::didStopLoading() { 161 void PrintWebViewHelper::didStopLoading() {
162 DCHECK(print_pages_params_.get() != NULL); 162 DCHECK(print_pages_params_.get() != NULL);
163 PrintPages(*print_pages_params_.get(), print_web_view_->GetMainFrame()); 163 PrintPages(*print_pages_params_.get(), print_web_view_->GetMainFrame());
164 } 164 }
165 165
166 WebString PrintWebViewHelper::autoCorrectWord(const WebString& word) {
167 return word;
168 }
169
166 WebRect PrintWebViewHelper::windowRect() { 170 WebRect PrintWebViewHelper::windowRect() {
167 NOTREACHED(); 171 NOTREACHED();
168 return WebRect(); 172 return WebRect();
169 } 173 }
170 174
171 WebRect PrintWebViewHelper::windowResizerRect() { 175 WebRect PrintWebViewHelper::windowResizerRect() {
172 NOTREACHED(); 176 NOTREACHED();
173 return WebRect(); 177 return WebRect();
174 } 178 }
175 179
176 WebRect PrintWebViewHelper::rootWindowRect() { 180 WebRect PrintWebViewHelper::rootWindowRect() {
177 NOTREACHED(); 181 NOTREACHED();
178 return WebRect(); 182 return WebRect();
179 } 183 }
180 184
181 WebScreenInfo PrintWebViewHelper::screenInfo() { 185 WebScreenInfo PrintWebViewHelper::screenInfo() {
182 NOTREACHED(); 186 NOTREACHED();
183 return WebScreenInfo(); 187 return WebScreenInfo();
184 } 188 }
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