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

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

Issue 2865163003: EditorClientImpl changed to use 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/EditorClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/EditorClientImpl.cpp b/third_party/WebKit/Source/web/EditorClientImpl.cpp
index 79ab7993dd676100d405f287ab384e25a0cac6e1..e6f71c6fe1b77df263dc48f8c54187081273f390 100644
--- a/third_party/WebKit/Source/web/EditorClientImpl.cpp
+++ b/third_party/WebKit/Source/web/EditorClientImpl.cpp
@@ -29,9 +29,9 @@
#include "core/editing/SelectionType.h"
#include "core/exported/WebViewBase.h"
#include "core/frame/ContentSettingsClient.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "public/web/WebFrameClient.h"
#include "public/web/WebViewClient.h"
-#include "web/WebLocalFrameImpl.h"
namespace blink {
@@ -41,7 +41,7 @@ EditorClientImpl::~EditorClientImpl() {}
void EditorClientImpl::RespondToChangedSelection(LocalFrame* frame,
SelectionType selection_type) {
- WebLocalFrameImpl* web_frame = WebLocalFrameImpl::FromFrame(frame);
+ WebLocalFrameBase* web_frame = WebLocalFrameBase::FromFrame(frame);
if (web_frame->Client())
web_frame->Client()->DidChangeSelection(selection_type != kRangeSelection);
}
@@ -66,7 +66,7 @@ bool EditorClientImpl::CanPaste(LocalFrame* frame, bool default_value) const {
}
bool EditorClientImpl::HandleKeyboardEvent(LocalFrame* frame) {
- WebLocalFrameImpl* web_frame = WebLocalFrameImpl::FromFrame(frame);
+ WebLocalFrameBase* web_frame = WebLocalFrameBase::FromFrame(frame);
return web_frame->Client()->HandleCurrentKeyboardEvent();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698