OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "webkit/plugins/ppapi/ppapi_webplugin_impl.h" | 5 #include "webkit/plugins/ppapi/ppapi_webplugin_impl.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 | 8 |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 | 253 |
254 bool WebPluginImpl::printPage(int page_number, | 254 bool WebPluginImpl::printPage(int page_number, |
255 WebKit::WebCanvas* canvas) { | 255 WebKit::WebCanvas* canvas) { |
256 return instance_->PrintPage(page_number, canvas); | 256 return instance_->PrintPage(page_number, canvas); |
257 } | 257 } |
258 | 258 |
259 void WebPluginImpl::printEnd() { | 259 void WebPluginImpl::printEnd() { |
260 return instance_->PrintEnd(); | 260 return instance_->PrintEnd(); |
261 } | 261 } |
262 | 262 |
| 263 bool WebPluginImpl::canRotateView() { |
| 264 return instance_->CanRotateView(); |
| 265 } |
| 266 |
| 267 void WebPluginImpl::rotateView(RotationType type) { |
| 268 instance_->RotateView(type); |
| 269 } |
| 270 |
263 } // namespace ppapi | 271 } // namespace ppapi |
264 } // namespace webkit | 272 } // namespace webkit |
OLD | NEW |