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

Unified Diff: Source/web/ContextMenuClientImpl.cpp

Issue 474143002: Rename some functions of which names contain 'WebCore.' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ContextMenuClientImpl.cpp
diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp
index b8bc7feecbca773959f2bce41e810b9e467bed72..de1fc6997af5e27f501dd2488d29e824a21b945d 100644
--- a/Source/web/ContextMenuClientImpl.cpp
+++ b/Source/web/ContextMenuClientImpl.cpp
@@ -205,17 +205,17 @@ void ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu)
// Compute edit flags.
data.editFlags = WebContextMenuData::CanDoNone;
- if (toLocalFrame(m_webView->focusedWebCoreFrame())->editor().canUndo())
+ if (toLocalFrame(m_webView->focusedCoreFrame())->editor().canUndo())
data.editFlags |= WebContextMenuData::CanUndo;
- if (toLocalFrame(m_webView->focusedWebCoreFrame())->editor().canRedo())
+ if (toLocalFrame(m_webView->focusedCoreFrame())->editor().canRedo())
data.editFlags |= WebContextMenuData::CanRedo;
- if (toLocalFrame(m_webView->focusedWebCoreFrame())->editor().canCut())
+ if (toLocalFrame(m_webView->focusedCoreFrame())->editor().canCut())
data.editFlags |= WebContextMenuData::CanCut;
- if (toLocalFrame(m_webView->focusedWebCoreFrame())->editor().canCopy())
+ if (toLocalFrame(m_webView->focusedCoreFrame())->editor().canCopy())
data.editFlags |= WebContextMenuData::CanCopy;
- if (toLocalFrame(m_webView->focusedWebCoreFrame())->editor().canPaste())
+ if (toLocalFrame(m_webView->focusedCoreFrame())->editor().canPaste())
data.editFlags |= WebContextMenuData::CanPaste;
- if (toLocalFrame(m_webView->focusedWebCoreFrame())->editor().canDelete())
+ if (toLocalFrame(m_webView->focusedCoreFrame())->editor().canDelete())
data.editFlags |= WebContextMenuData::CanDelete;
if (isHTMLTextFormControlElement(r.innerNonSharedNode())) {
if (!toHTMLTextFormControlElement(r.innerNonSharedNode())->value().isEmpty())
@@ -337,9 +337,9 @@ void ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu)
}
} else {
data.isSpellCheckingEnabled =
- toLocalFrame(m_webView->focusedWebCoreFrame())->spellChecker().isContinuousSpellCheckingEnabled();
+ toLocalFrame(m_webView->focusedCoreFrame())->spellChecker().isContinuousSpellCheckingEnabled();
// Spellchecking might be enabled for the field, but could be disabled on the node.
- if (toLocalFrame(m_webView->focusedWebCoreFrame())->spellChecker().isSpellCheckingEnabledInFocusedNode()) {
+ if (toLocalFrame(m_webView->focusedCoreFrame())->spellChecker().isSpellCheckingEnabledInFocusedNode()) {
data.misspelledWord = selectMisspelledWord(selectedFrame);
if (m_webView->spellCheckClient()) {
int misspelledOffset, misspelledLength;
« no previous file with comments | « no previous file | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698