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

Unified Diff: third_party/WebKit/Source/web/TextFinder.h

Issue 2881693002: Move more classes to WebLocalFrameBase instead of WebLocalFrameImpl. (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/TextFinder.h
diff --git a/third_party/WebKit/Source/web/TextFinder.h b/third_party/WebKit/Source/web/TextFinder.h
index 7a97bba06cbc339e290cfb7f035448c106345f33..aa6a334abc841f4b81051940aa892f55f30f408c 100644
--- a/third_party/WebKit/Source/web/TextFinder.h
+++ b/third_party/WebKit/Source/web/TextFinder.h
@@ -47,7 +47,7 @@
namespace blink {
class Range;
-class WebLocalFrameImpl;
+class WebLocalFrameBase;
template <typename T>
class WebVector;
@@ -57,7 +57,7 @@ class WEB_EXPORT TextFinder final
WTF_MAKE_NONCOPYABLE(TextFinder);
public:
- static TextFinder* Create(WebLocalFrameImpl& owner_frame);
+ static TextFinder* Create(WebLocalFrameBase& owner_frame);
bool Find(int identifier,
const WebString& search_text,
@@ -132,7 +132,7 @@ class WEB_EXPORT TextFinder final
class DeferredScopeStringMatches;
friend class DeferredScopeStringMatches;
- explicit TextFinder(WebLocalFrameImpl& owner_frame);
+ explicit TextFinder(WebLocalFrameBase& owner_frame);
// Notifies the delegate about a new selection rect.
void ReportFindInPageSelection(const WebRect& selection_rect,
@@ -205,12 +205,12 @@ class WEB_EXPORT TextFinder final
// Determines whether to invalidate the content area and scrollbar.
void InvalidateIfNecessary();
- WebLocalFrameImpl& OwnerFrame() const {
+ WebLocalFrameBase& OwnerFrame() const {
DCHECK(owner_frame_);
return *owner_frame_;
}
- Member<WebLocalFrameImpl> owner_frame_;
+ Member<WebLocalFrameBase> owner_frame_;
// Indicates whether this frame currently has the active match.
bool current_active_match_frame_;
« no previous file with comments | « third_party/WebKit/Source/core/frame/WebLocalFrameBase.h ('k') | third_party/WebKit/Source/web/TextFinder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698