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

Unified Diff: Source/web/WebPopupMenuImpl.cpp

Issue 471503002: Cleanup namespace usage in Source/web/Web[I-Z]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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 | « Source/web/WebPluginDocument.cpp ('k') | Source/web/WebRange.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPopupMenuImpl.cpp
diff --git a/Source/web/WebPopupMenuImpl.cpp b/Source/web/WebPopupMenuImpl.cpp
index 81908b0a35135c8e765643f694f6c7ddb1801f24..b769087e4c47b4cbdefd5b1ad0a2d858f1b42771 100644
--- a/Source/web/WebPopupMenuImpl.cpp
+++ b/Source/web/WebPopupMenuImpl.cpp
@@ -57,8 +57,6 @@
#include "web/WebInputEventConversion.h"
#include <skia/ext/platform_canvas.h>
-using namespace blink;
-
namespace blink {
// WebPopupMenu ---------------------------------------------------------------
@@ -121,7 +119,7 @@ void WebPopupMenuImpl::handleMouseMove(const WebMouseEvent& event)
// We cannot call setToolTipText() in PopupContainer, because PopupContainer is in WebCore, and we cannot refer to WebKit from Webcore.
PopupContainer* container = static_cast<PopupContainer*>(m_widget);
- client()->setToolTipText(container->getSelectedItemToolTip(), container->menuStyle().textDirection() == blink::RTL ? WebTextDirectionRightToLeft : WebTextDirectionLeftToRight);
+ client()->setToolTipText(container->getSelectedItemToolTip(), container->menuStyle().textDirection() == RTL ? WebTextDirectionRightToLeft : WebTextDirectionLeftToRight);
}
}
@@ -367,7 +365,7 @@ void WebPopupMenuImpl::setTextDirection(WebTextDirection)
//-----------------------------------------------------------------------------
-// blink::HostWindow
+// HostWindow
void WebPopupMenuImpl::invalidateContentsAndRootView(const IntRect& paintRect)
{
@@ -406,7 +404,7 @@ WebScreenInfo WebPopupMenuImpl::screenInfo() const
}
//-----------------------------------------------------------------------------
-// blink::FramelessScrollViewClient
+// FramelessScrollViewClient
void WebPopupMenuImpl::popupClosed(FramelessScrollView* widget)
{
« no previous file with comments | « Source/web/WebPluginDocument.cpp ('k') | Source/web/WebRange.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698