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

Unified Diff: Source/core/testing/Internals.cpp

Issue 966883002: renderer/RenderMenuList.* -> layout/LayoutMenuList.* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove OWNERS, allowing Source/core/rendering to be deleted. Created 5 years, 10 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/core/rendering/RenderMenuList.cpp ('k') | Source/modules/accessibility/AXLayoutObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index f51e43092cc526fc63eed7d8381fb872759d0b44..3e315073fe6c6441aa29f02a5501a9b43fe63845 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -103,6 +103,7 @@
#include "core/inspector/InspectorOverlay.h"
#include "core/inspector/InstrumentingAgents.h"
#include "core/layout/Layer.h"
+#include "core/layout/LayoutMenuList.h"
#include "core/layout/LayoutObject.h"
#include "core/layout/LayoutTreeAsText.h"
#include "core/layout/LayoutView.h"
@@ -119,7 +120,6 @@
#include "core/page/PrintContext.h"
#include "core/plugins/testing/DictionaryPluginPlaceholder.h"
#include "core/plugins/testing/DocumentFragmentPluginPlaceholder.h"
-#include "core/rendering/RenderMenuList.h"
#include "core/testing/DictionaryTest.h"
#include "core/testing/GCObservation.h"
#include "core/testing/InternalSettings.h"
@@ -2005,7 +2005,7 @@ bool Internals::isSelectPopupVisible(Node* node)
if (!renderer || !renderer->isMenuList())
return false;
- RenderMenuList* menuList = toRenderMenuList(renderer);
+ LayoutMenuList* menuList = toLayoutMenuList(renderer);
return menuList->popupIsVisible();
}
@@ -2020,7 +2020,7 @@ bool Internals::selectPopupItemStyleIsRtl(Node* node, int itemIndex)
if (!renderer || !renderer->isMenuList())
return false;
- RenderMenuList& menuList = toRenderMenuList(*renderer);
+ LayoutMenuList& menuList = toLayoutMenuList(*renderer);
PopupMenuStyle itemStyle = menuList.itemStyle(itemIndex);
return itemStyle.textDirection() == RTL;
}
@@ -2036,7 +2036,7 @@ int Internals::selectPopupItemStyleFontHeight(Node* node, int itemIndex)
if (!renderer || !renderer->isMenuList())
return false;
- RenderMenuList& menuList = toRenderMenuList(*renderer);
+ LayoutMenuList& menuList = toLayoutMenuList(*renderer);
PopupMenuStyle itemStyle = menuList.itemStyle(itemIndex);
return itemStyle.font().fontMetrics().height();
}
« no previous file with comments | « Source/core/rendering/RenderMenuList.cpp ('k') | Source/modules/accessibility/AXLayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698