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

Side by Side Diff: content/renderer/pepper/pepper_webplugin_impl.cc

Issue 2082733002: Fix for PDF find-in-page bug. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « content/renderer/pepper/pepper_webplugin_impl.h ('k') | content/renderer/render_frame_impl.cc » ('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) 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
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
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
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_webplugin_impl.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698