| 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 "content/renderer/pepper/pepper_webplugin_impl.h" | 5 #include "content/renderer/pepper/pepper_webplugin_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <cmath> | 8 #include <cmath> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 WebURL PepperWebPluginImpl::linkAtPosition(const WebPoint& position) const { | 262 WebURL PepperWebPluginImpl::linkAtPosition(const WebPoint& position) const { |
| 263 return GURL(instance_->GetLinkAtPosition(position)); | 263 return GURL(instance_->GetLinkAtPosition(position)); |
| 264 } | 264 } |
| 265 | 265 |
| 266 bool PepperWebPluginImpl::startFind(const blink::WebString& search_text, | 266 bool PepperWebPluginImpl::startFind(const blink::WebString& search_text, |
| 267 bool case_sensitive, | 267 bool case_sensitive, |
| 268 int identifier) { | 268 int identifier) { |
| 269 return instance_->StartFind(search_text, case_sensitive, identifier); | 269 return instance_->StartFind(search_text, case_sensitive, identifier); |
| 270 } | 270 } |
| 271 | 271 |
| 272 void PepperWebPluginImpl::selectFindResult(bool forward) { | 272 void PepperWebPluginImpl::selectFindResult(bool forward, int identifier) { |
| 273 instance_->SelectFindResult(forward); | 273 instance_->SelectFindResult(forward, identifier); |
| 274 } | 274 } |
| 275 | 275 |
| 276 void PepperWebPluginImpl::stopFind() { instance_->StopFind(); } | 276 void PepperWebPluginImpl::stopFind() { instance_->StopFind(); } |
| 277 | 277 |
| 278 bool PepperWebPluginImpl::supportsPaginatedPrint() { | 278 bool PepperWebPluginImpl::supportsPaginatedPrint() { |
| 279 return instance_->SupportsPrintInterface(); | 279 return instance_->SupportsPrintInterface(); |
| 280 } | 280 } |
| 281 | 281 |
| 282 bool PepperWebPluginImpl::isPrintScalingDisabled() { | 282 bool PepperWebPluginImpl::isPrintScalingDisabled() { |
| 283 return instance_->IsPrintScalingDisabled(); | 283 return instance_->IsPrintScalingDisabled(); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 300 | 300 |
| 301 bool PepperWebPluginImpl::canRotateView() { return instance_->CanRotateView(); } | 301 bool PepperWebPluginImpl::canRotateView() { return instance_->CanRotateView(); } |
| 302 | 302 |
| 303 void PepperWebPluginImpl::rotateView(RotationType type) { | 303 void PepperWebPluginImpl::rotateView(RotationType type) { |
| 304 instance_->RotateView(type); | 304 instance_->RotateView(type); |
| 305 } | 305 } |
| 306 | 306 |
| 307 bool PepperWebPluginImpl::isPlaceholder() { return false; } | 307 bool PepperWebPluginImpl::isPlaceholder() { return false; } |
| 308 | 308 |
| 309 } // namespace content | 309 } // namespace content |
| OLD | NEW |