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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2186113002: Fix find-in-page re-scope across frame boundaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 void didCallIsSearchProviderInstalled() override; 225 void didCallIsSearchProviderInstalled() override;
226 void replaceSelection(const WebString&) override; 226 void replaceSelection(const WebString&) override;
227 bool find( 227 bool find(
228 int identifier, const WebString& searchText, const WebFindOptions&, 228 int identifier, const WebString& searchText, const WebFindOptions&,
229 bool wrapWithinFrame, WebRect* selectionRect, bool* activeNow = nullptr) override; 229 bool wrapWithinFrame, WebRect* selectionRect, bool* activeNow = nullptr) override;
230 void stopFinding(StopFindAction) override; 230 void stopFinding(StopFindAction) override;
231 void scopeStringMatches( 231 void scopeStringMatches(
232 int identifier, const WebString& searchText, const WebFindOptions&, 232 int identifier, const WebString& searchText, const WebFindOptions&,
233 bool reset) override; 233 bool reset) override;
234 void cancelPendingScopingEffort() override; 234 void cancelPendingScopingEffort() override;
235 bool scopingInProgress() override;
235 void increaseMatchCount(int count, int identifier) override; 236 void increaseMatchCount(int count, int identifier) override;
236 void resetMatchCount() override; 237 void resetMatchCount() override;
237 int findMatchMarkersVersion() const override; 238 int findMatchMarkersVersion() const override;
238 WebFloatRect activeFindMatchRect() override; 239 WebFloatRect activeFindMatchRect() override;
239 void findMatchRects(WebVector<WebFloatRect>&) override; 240 void findMatchRects(WebVector<WebFloatRect>&) override;
240 int selectNearestFindMatch(const WebFloatPoint&, WebRect* selectionRect) ove rride; 241 int selectNearestFindMatch(const WebFloatPoint&, WebRect* selectionRect) ove rride;
241 float distanceToNearestFindMatch(const WebFloatPoint&) override; 242 float distanceToNearestFindMatch(const WebFloatPoint&) override;
242 void setTickmarks(const WebVector<WebRect>&) override; 243 void setTickmarks(const WebVector<WebRect>&) override;
243 WebFrameWidgetBase* frameWidget() const override; 244 WebFrameWidgetBase* frameWidget() const override;
244 void copyImageAt(const WebPoint&) override; 245 void copyImageAt(const WebPoint&) override;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 // Accomplish that by keeping a self-referential Persistent<>. It is 397 // Accomplish that by keeping a self-referential Persistent<>. It is
397 // cleared upon close(). 398 // cleared upon close().
398 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 399 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
399 }; 400 };
400 401
401 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 402 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
402 403
403 } // namespace blink 404 } // namespace blink
404 405
405 #endif 406 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698