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

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

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
« no previous file with comments | « third_party/WebKit/Source/web/TextFinder.h ('k') | third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/TextFinder.cpp
diff --git a/third_party/WebKit/Source/web/TextFinder.cpp b/third_party/WebKit/Source/web/TextFinder.cpp
index b98bfc3ed9ae5c097b401df0d9ad57c9e93bcc90..c8b976e85baa2dd135835d41aed1944af69a8b98 100644
--- a/third_party/WebKit/Source/web/TextFinder.cpp
+++ b/third_party/WebKit/Source/web/TextFinder.cpp
@@ -41,6 +41,7 @@
#include "core/editing/markers/DocumentMarkerController.h"
#include "core/exported/WebViewBase.h"
#include "core/frame/FrameView.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "core/layout/LayoutObject.h"
#include "core/layout/TextAutosizer.h"
#include "core/page/Page.h"
@@ -54,7 +55,6 @@
#include "public/web/WebFindOptions.h"
#include "public/web/WebFrameClient.h"
#include "public/web/WebViewClient.h"
-#include "web/WebLocalFrameImpl.h"
namespace blink {
@@ -563,7 +563,7 @@ void TextFinder::UpdateFindMatchRects() {
if (!find_match_rects_are_valid_)
for (WebFrame* child = OwnerFrame().FirstChild(); child;
child = child->NextSibling())
- ToWebLocalFrameImpl(child)
+ ToWebLocalFrameBase(child)
->EnsureTextFinder()
.find_match_rects_are_valid_ = false;
@@ -677,11 +677,11 @@ int TextFinder::SelectFindMatch(unsigned index, WebRect* selection_rect) {
return active_match_index_ + 1;
}
-TextFinder* TextFinder::Create(WebLocalFrameImpl& owner_frame) {
+TextFinder* TextFinder::Create(WebLocalFrameBase& owner_frame) {
return new TextFinder(owner_frame);
}
-TextFinder::TextFinder(WebLocalFrameImpl& owner_frame)
+TextFinder::TextFinder(WebLocalFrameBase& owner_frame)
: owner_frame_(&owner_frame),
current_active_match_frame_(false),
active_match_index_(-1),
« no previous file with comments | « third_party/WebKit/Source/web/TextFinder.h ('k') | third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698