Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Move ExpansionBehaviorFlags and TextDirection to their own file
https://bugs.webkit.org/show_bug.cgi?id=143273 Reviewed by Simon Fraser. This is a mechanical change. It just moves code around. This is getting ready for https://bugs.webkit.org/show_bug.cgi?id=142608 Source/WebCore: No new tests because there is no behavior change. * Modules/notifications/Notification.h: * WebCore.vcxproj/WebCore.vcxproj: * WebCore.vcxproj/WebCore.vcxproj.filters: * WebCore.xcodeproj/project.pbxproj: * css/CSSPrimitiveValueMappings.h: * css/CSSProperty.h: * dom/Position.h: * editing/VisiblePosition.h: * editing/VisibleUnits.h: * editing/htmlediting.h: * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::drawTextInternal): * html/canvas/CanvasRenderingContext2D.h: * platform/LengthBox.h: * platform/PopupMenuStyle.h: * platform/graphics/FontCascade.h: * platform/graphics/LayoutBoxExtent.h: * platform/graphics/TextRun.h: * platform/ios/SelectionRect.h: * platform/text/BidiResolver.h: * platform/text/StringWithDirection.h: * platform/text/TextHelpers.h: Renamed from Source/WebCore/platform/text/TextDirection.h. (WebCore::isLeftToRightDirection): * platform/win/PopupMenuWin.cpp: (WebCore::PopupMenuWin::paint): * rendering/EllipsisBox.cpp: (WebCore::EllipsisBox::paint): (WebCore::EllipsisBox::selectionRect): (WebCore::EllipsisBox::paintSelection): * rendering/HitTestLocation.h: * rendering/HitTestResult.h: * rendering/InlineBox.h: * rendering/InlineTextBox.h: (WebCore::InlineTextBox::expansionBehavior): * rendering/RenderBlock.cpp: (WebCore::constructTextRunInternal): (WebCore::RenderBlock::constructTextRun): * rendering/RenderBlock.h: * rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::paintObject): (WebCore::RenderFileUploadControl::computeIntrinsicLogicalWidths): * rendering/RenderListBox.cpp: (WebCore::RenderListBox::updateFromElement): (WebCore::RenderListBox::paintItemForeground): * rendering/RenderListMarker.cpp: (WebCore::RenderListMarker::computePreferredLogicalWidths): (WebCore::RenderListMarker::getRelativeMarkerRect): * rendering/RenderMenuList.cpp: (RenderMenuList::updateOptionsWidth): * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::getAverageCharWidth): * rendering/RenderThemeIOS.mm: * rendering/style/RenderStyle.h: * rendering/svg/SVGInlineTextBox.cpp: (WebCore::SVGInlineTextBox::constructTextRun): * rendering/svg/SVGTextMetrics.cpp: (WebCore::SVGTextMetrics::constructTextRun): Source/WebKit/ios: * WebCoreSupport/WebFrameIOS.mm: * WebCoreSupport/WebVisiblePosition.mm: Source/WebKit2: * Shared/WebPopupItem.h: * UIProcess/API/C/efl/WKAPICastEfl.h: * UIProcess/API/efl/EwkView.h: * UIProcess/WebPopupMenuProxy.h: * UIProcess/efl/WebUIPopupMenuClient.h: Canonical link: https://commits.webkit.org/161307@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182207 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
48 changed files
with
183 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -28,7 +28,7 @@ | ||
|
||
#include "EditingBoundary.h" | ||
#include "Position.h" | ||
#include "TextDirection.h" | ||
#include "TextFlags.h" | ||
|
||
namespace WebCore { | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -27,7 +27,7 @@ | ||
#define VisibleUnits_h | ||
|
||
#include "EditingBoundary.h" | ||
#include "TextDirection.h" | ||
#include "TextFlags.h" | ||
#include "VisibleSelection.h" | ||
|
||
namespace WebCore { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -28,7 +28,7 @@ | ||
|
||
#include "EditingBoundary.h" | ||
#include "Position.h" | ||
#include "TextDirection.h" | ||
#include "TextFlags.h" | ||
#include <wtf/Forward.h> | ||
#include <wtf/unicode/CharacterNames.h> | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -38,7 +38,7 @@ | ||
#include "ImageBuffer.h" | ||
#include "Path.h" | ||
#include "PlatformLayer.h" | ||
#include "TextDirection.h" | ||
#include "TextFlags.h" | ||
#include <wtf/Vector.h> | ||
#include <wtf/text/WTFString.h> | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -23,7 +23,7 @@ | ||
#define LengthBox_h | ||
|
||
#include "Length.h" | ||
#include "TextDirection.h" | ||
#include "TextFlags.h" | ||
#include "WritingMode.h" | ||
|
||
namespace WebCore { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -29,7 +29,7 @@ | ||
#include "Color.h" | ||
#include "FontCascade.h" | ||
#include "Length.h" | ||
#include "TextDirection.h" | ||
#include "TextFlags.h" | ||
|
||
namespace WebCore { | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -32,7 +32,7 @@ | ||
#define LayoutBoxExtent_h | ||
|
||
#include "LayoutUnit.h" | ||
#include "TextDirection.h" | ||
#include "TextFlags.h" | ||
#include "WritingMode.h" | ||
|
||
namespace WebCore { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -27,7 +27,7 @@ | ||
#define SelectionRect_h | ||
|
||
#include "IntRect.h" | ||
#include "TextDirection.h" | ||
#include "TextFlags.h" | ||
#include <wtf/FastMalloc.h> | ||
|
||
namespace WebCore { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -24,7 +24,7 @@ | ||
|
||
#include "BidiContext.h" | ||
#include "BidiRunList.h" | ||
#include "TextDirection.h" | ||
#include "TextFlags.h" | ||
#include <wtf/Noncopyable.h> | ||
#include <wtf/PassRefPtr.h> | ||
#include <wtf/Vector.h> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -31,7 +31,7 @@ | ||
#ifndef StringWithDirection_h | ||
#define StringWithDirection_h | ||
|
||
#include "TextDirection.h" | ||
#include "TextFlags.h" | ||
#include <wtf/text/WTFString.h> | ||
|
||
namespace WebCore { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -23,7 +23,7 @@ | ||
|
||
#include "RenderBoxModelObject.h" | ||
#include "RenderText.h" | ||
#include "TextDirection.h" | ||
#include "TextFlags.h" | ||
#include <wtf/TypeCasts.h> | ||
|
||
namespace WebCore { | ||
Oops, something went wrong.