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

Unified Diff: Source/web/ExternalPopupMenu.cpp

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/ExternalPopupMenu.h ('k') | Source/web/FindInPageCoordinates.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ExternalPopupMenu.cpp
diff --git a/Source/web/ExternalPopupMenu.cpp b/Source/web/ExternalPopupMenu.cpp
index 1b9d6bd563f514e4ef6f64434c4f39e6b69bc940..4505e5dd6d0fee13a0fa50cd0bb0621c81619299 100644
--- a/Source/web/ExternalPopupMenu.cpp
+++ b/Source/web/ExternalPopupMenu.cpp
@@ -44,7 +44,7 @@
#include "public/web/WebViewClient.h"
#include "web/WebViewImpl.h"
-using namespace WebCore;
+using namespace blink;
namespace blink {
@@ -197,7 +197,7 @@ void ExternalPopupMenu::getPopupMenuInfo(WebPopupMenuInfo* info)
popupItem.enabled = m_popupMenuClient->itemIsEnabled(i);
popupItem.checked = m_popupMenuClient->itemIsSelected(i);
PopupMenuStyle style = m_popupMenuClient->itemStyle(i);
- if (style.textDirection() == WebCore::RTL)
+ if (style.textDirection() == blink::RTL)
popupItem.textDirection = WebTextDirectionRightToLeft;
else
popupItem.textDirection = WebTextDirectionLeftToRight;
@@ -207,7 +207,7 @@ void ExternalPopupMenu::getPopupMenuInfo(WebPopupMenuInfo* info)
info->itemHeight = m_popupMenuClient->menuStyle().font().fontMetrics().height();
info->itemFontSize = static_cast<int>(m_popupMenuClient->menuStyle().font().fontDescription().computedSize());
info->selectedIndex = m_popupMenuClient->selectedIndex();
- info->rightAligned = m_popupMenuClient->menuStyle().textDirection() == WebCore::RTL;
+ info->rightAligned = m_popupMenuClient->menuStyle().textDirection() == blink::RTL;
info->allowMultipleSelection = m_popupMenuClient->multiple();
info->items.swap(items);
}
« no previous file with comments | « Source/web/ExternalPopupMenu.h ('k') | Source/web/FindInPageCoordinates.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698