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

Unified Diff: Source/web/ContextMenuClientImpl.cpp

Issue 241303002: Rename WebFrameImpl to WebLocalFrameImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Mac too Created 6 years, 8 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 | « Source/web/ContextFeaturesClientImpl.cpp ('k') | Source/web/DatabaseClientImpl.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 fd1b3219aa96b5ff4e590986859f31634fec8878..afa088b9751654b62c1ecae56445119db5343572 100644
--- a/Source/web/ContextMenuClientImpl.cpp
+++ b/Source/web/ContextMenuClientImpl.cpp
@@ -37,7 +37,7 @@
#include "WebDataSourceImpl.h"
#include "WebFormElement.h"
#include "WebFrameClient.h"
-#include "WebFrameImpl.h"
+#include "WebLocalFrameImpl.h"
#include "WebMenuItemInfo.h"
#include "WebPlugin.h"
#include "WebPluginContainerImpl.h"
@@ -131,7 +131,7 @@ static String selectMisspelledWord(LocalFrame* selectedFrame)
if (pos.isNull())
return misspelledWord; // It is empty.
- WebFrameImpl::selectWordAroundPosition(selectedFrame, pos);
+ WebLocalFrameImpl::selectWordAroundPosition(selectedFrame, pos);
misspelledWord = selectedFrame->selectedText().stripWhiteSpace();
#if OS(MACOSX)
@@ -367,7 +367,7 @@ void ContextMenuClientImpl::showContextMenu(const WebCore::ContextMenu* defaultM
data.node = r.innerNonSharedNode();
- WebFrameImpl* selectedWebFrame = WebFrameImpl::fromFrame(selectedFrame);
+ WebLocalFrameImpl* selectedWebFrame = WebLocalFrameImpl::fromFrame(selectedFrame);
if (selectedWebFrame->client())
selectedWebFrame->client()->showContextMenu(data);
}
@@ -379,7 +379,7 @@ void ContextMenuClientImpl::clearContextMenu()
if (!selectedFrame)
return;
- WebFrameImpl* selectedWebFrame = WebFrameImpl::fromFrame(selectedFrame);
+ WebLocalFrameImpl* selectedWebFrame = WebLocalFrameImpl::fromFrame(selectedFrame);
if (selectedWebFrame->client())
selectedWebFrame->client()->clearContextMenu();
}
« no previous file with comments | « Source/web/ContextFeaturesClientImpl.cpp ('k') | Source/web/DatabaseClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698