| OLD | NEW |
| 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 Loading... |
| 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 } | |
| OLD | NEW |