Rename WebCore/editing/visible_units.* to VisibleUnits.*
authortkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Mar 2013 13:00:14 +0000 (13:00 +0000)
committertkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Mar 2013 13:00:14 +0000 (13:00 +0000)
https://bugs.webkit.org/show_bug.cgi?id=111426

Reviewed by Alexey Proskuryakov.

Source/WebCore:

No new tests. Just a refactoring.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* accessibility/AccessibilityNodeObject.cpp:
* accessibility/AccessibilityObject.cpp:
* accessibility/AccessibilityRenderObject.cpp:
* accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
* accessibility/mac/WebAccessibilityObjectWrapperBase.mm:
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
* dom/Position.cpp:
* dom/Range.cpp:
* editing/AlternativeTextController.cpp:
* editing/ApplyBlockElementCommand.cpp:
* editing/ApplyStyleCommand.cpp:
* editing/CompositeEditCommand.cpp:
* editing/DeleteSelectionCommand.cpp:
* editing/EditingAllInOne.cpp:
* editing/EditingStyle.cpp:
* editing/Editor.cpp:
* editing/FormatBlockCommand.cpp:
* editing/FrameSelection.cpp:
* editing/IndentOutdentCommand.cpp:
* editing/InsertLineBreakCommand.cpp:
* editing/InsertListCommand.cpp:
* editing/InsertParagraphSeparatorCommand.cpp:
* editing/InsertTextCommand.cpp:
* editing/ReplaceSelectionCommand.cpp:
* editing/SurroundingText.cpp:
* editing/TextCheckingHelper.cpp:
* editing/TextIterator.cpp:
* editing/TypingCommand.cpp:
* editing/VisiblePosition.cpp:
* editing/VisibleSelection.cpp:
* editing/VisibleUnits.cpp: Copied from Source/WebCore/editing/visible_units.cpp.
* editing/VisibleUnits.h: Copied from Source/WebCore/editing/visible_units.h.
* editing/htmlediting.cpp:
* editing/markup.cpp:
* editing/visible_units.cpp: Removed.
* editing/visible_units.h: Removed.
* page/Frame.cpp:
* page/mac/FrameMac.mm:
* platform/win/EditorWin.cpp:

Source/WebKit/mac:

* WebView/WebFrame.mm:

Source/WebKit2:

* WebProcess/WebPage/mac/WebPageMac.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@144911 268f45cc-cd09-0410-ab3c-d52691b4dbfc

50 files changed:
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/GNUmakefile.list.am
Source/WebCore/Target.pri
Source/WebCore/WebCore.gypi
Source/WebCore/WebCore.vcproj/WebCore.vcproj
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/accessibility/AccessibilityNodeObject.cpp
Source/WebCore/accessibility/AccessibilityObject.cpp
Source/WebCore/accessibility/AccessibilityRenderObject.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp
Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.mm
Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm
Source/WebCore/dom/Position.cpp
Source/WebCore/dom/Range.cpp
Source/WebCore/editing/AlternativeTextController.cpp
Source/WebCore/editing/ApplyBlockElementCommand.cpp
Source/WebCore/editing/ApplyStyleCommand.cpp
Source/WebCore/editing/CompositeEditCommand.cpp
Source/WebCore/editing/DeleteSelectionCommand.cpp
Source/WebCore/editing/EditingAllInOne.cpp
Source/WebCore/editing/EditingStyle.cpp
Source/WebCore/editing/Editor.cpp
Source/WebCore/editing/FormatBlockCommand.cpp
Source/WebCore/editing/FrameSelection.cpp
Source/WebCore/editing/IndentOutdentCommand.cpp
Source/WebCore/editing/InsertLineBreakCommand.cpp
Source/WebCore/editing/InsertListCommand.cpp
Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp
Source/WebCore/editing/InsertTextCommand.cpp
Source/WebCore/editing/ReplaceSelectionCommand.cpp
Source/WebCore/editing/SurroundingText.cpp
Source/WebCore/editing/TextCheckingHelper.cpp
Source/WebCore/editing/TextIterator.cpp
Source/WebCore/editing/TypingCommand.cpp
Source/WebCore/editing/VisiblePosition.cpp
Source/WebCore/editing/VisibleSelection.cpp
Source/WebCore/editing/VisibleUnits.cpp [moved from Source/WebCore/editing/visible_units.cpp with 99% similarity]
Source/WebCore/editing/VisibleUnits.h [moved from Source/WebCore/editing/visible_units.h with 98% similarity]
Source/WebCore/editing/htmlediting.cpp
Source/WebCore/editing/markup.cpp
Source/WebCore/page/Frame.cpp
Source/WebCore/page/mac/FrameMac.mm
Source/WebCore/platform/win/EditorWin.cpp
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebFrame.mm
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/mac/WebPageMac.mm

index 1868e64..02882ae 100644 (file)
@@ -1326,10 +1326,10 @@ set(WebCore_SOURCES
     editing/UnlinkCommand.cpp
     editing/VisiblePosition.cpp
     editing/VisibleSelection.cpp
+    editing/VisibleUnits.cpp
     editing/WrapContentsInDummySpanCommand.cpp
     editing/htmlediting.cpp
     editing/markup.cpp
-    editing/visible_units.cpp
 
     fileapi/AsyncFileStream.cpp
     fileapi/Blob.cpp
index f854d4c..30c1229 100644 (file)
@@ -1,3 +1,60 @@
+2013-03-05  Kent Tamura  <tkent@chromium.org>
+
+        Rename WebCore/editing/visible_units.* to VisibleUnits.*
+        https://bugs.webkit.org/show_bug.cgi?id=111426
+
+        Reviewed by Alexey Proskuryakov.
+
+        No new tests. Just a refactoring.
+
+        * CMakeLists.txt:
+        * GNUmakefile.list.am:
+        * Target.pri:
+        * WebCore.gypi:
+        * WebCore.vcproj/WebCore.vcproj:
+        * WebCore.vcxproj/WebCore.vcxproj:
+        * WebCore.vcxproj/WebCore.vcxproj.filters:
+        * WebCore.xcodeproj/project.pbxproj:
+        * accessibility/AccessibilityNodeObject.cpp:
+        * accessibility/AccessibilityObject.cpp:
+        * accessibility/AccessibilityRenderObject.cpp:
+        * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
+        * accessibility/mac/WebAccessibilityObjectWrapperBase.mm:
+        * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+        * dom/Position.cpp:
+        * dom/Range.cpp:
+        * editing/AlternativeTextController.cpp:
+        * editing/ApplyBlockElementCommand.cpp:
+        * editing/ApplyStyleCommand.cpp:
+        * editing/CompositeEditCommand.cpp:
+        * editing/DeleteSelectionCommand.cpp:
+        * editing/EditingAllInOne.cpp:
+        * editing/EditingStyle.cpp:
+        * editing/Editor.cpp:
+        * editing/FormatBlockCommand.cpp:
+        * editing/FrameSelection.cpp:
+        * editing/IndentOutdentCommand.cpp:
+        * editing/InsertLineBreakCommand.cpp:
+        * editing/InsertListCommand.cpp:
+        * editing/InsertParagraphSeparatorCommand.cpp:
+        * editing/InsertTextCommand.cpp:
+        * editing/ReplaceSelectionCommand.cpp:
+        * editing/SurroundingText.cpp:
+        * editing/TextCheckingHelper.cpp:
+        * editing/TextIterator.cpp:
+        * editing/TypingCommand.cpp:
+        * editing/VisiblePosition.cpp:
+        * editing/VisibleSelection.cpp:
+        * editing/VisibleUnits.cpp: Copied from Source/WebCore/editing/visible_units.cpp.
+        * editing/VisibleUnits.h: Copied from Source/WebCore/editing/visible_units.h.
+        * editing/htmlediting.cpp:
+        * editing/markup.cpp:
+        * editing/visible_units.cpp: Removed.
+        * editing/visible_units.h: Removed.
+        * page/Frame.cpp:
+        * page/mac/FrameMac.mm:
+        * platform/win/EditorWin.cpp:
+
 2013-03-06  Alexis Menard  <alexis@webkit.org>
 
         Do not add CSSPropertyBorderImage shorthand part of the property list when parsing CSS border property
index 9d0faf0..f859f0b 100644 (file)
@@ -3202,8 +3202,8 @@ webcore_sources += \
        Source/WebCore/editing/VisiblePosition.h \
        Source/WebCore/editing/VisibleSelection.cpp \
        Source/WebCore/editing/VisibleSelection.h \
-       Source/WebCore/editing/visible_units.cpp \
-       Source/WebCore/editing/visible_units.h \
+       Source/WebCore/editing/VisibleUnits.cpp \
+       Source/WebCore/editing/VisibleUnits.h \
        Source/WebCore/editing/WrapContentsInDummySpanCommand.cpp \
        Source/WebCore/editing/WrapContentsInDummySpanCommand.h \
        Source/WebCore/editing/WritingDirection.h \
index 5e046a0..41c0eb7 100644 (file)
@@ -554,7 +554,7 @@ SOURCES += \
     editing/UnlinkCommand.cpp \
     editing/VisiblePosition.cpp \
     editing/VisibleSelection.cpp \
-    editing/visible_units.cpp \
+    editing/VisibleUnits.cpp \
     editing/WrapContentsInDummySpanCommand.cpp \
     fileapi/AsyncFileStream.cpp \
     fileapi/AsyncFileStream.cpp \
@@ -1779,7 +1779,7 @@ HEADERS += \
     editing/UnlinkCommand.h \
     editing/VisiblePosition.h \
     editing/VisibleSelection.h \
-    editing/visible_units.h \
+    editing/VisibleUnits.h \
     editing/WrapContentsInDummySpanCommand.h \
     fileapi/Blob.h \
     fileapi/BlobURL.h \
index 4fd9db7..df4f0f5 100644 (file)
             'editing/UnlinkCommand.h',
             'editing/VisiblePosition.cpp',
             'editing/VisibleSelection.cpp',
+            'editing/VisibleUnits.cpp',
             'editing/WrapContentsInDummySpanCommand.cpp',
             'editing/WrapContentsInDummySpanCommand.h',
             'editing/atk/FrameSelectionAtk.cpp',
             'editing/mac/EditorMac.mm',
             'editing/mac/FrameSelectionMac.mm',
             'editing/markup.cpp',
-            'editing/visible_units.cpp',
             'fileapi/AsyncFileStream.cpp',
             'fileapi/AsyncFileStream.h',
             'fileapi/Blob.cpp',
index f3a1bb6..8443f9e 100755 (executable)
                                >
                        </File>
                        <File
-                               RelativePath="..\editing\visible_units.cpp"
+                               RelativePath="..\editing\VisiblePosition.cpp"
                                >
                                <FileConfiguration
                                        Name="Debug|Win32"
                                </FileConfiguration>
                        </File>
                        <File
-                               RelativePath="..\editing\visible_units.h"
+                               RelativePath="..\editing\VisiblePosition.h"
                                >
                        </File>
                        <File
-                               RelativePath="..\editing\VisiblePosition.cpp"
+                               RelativePath="..\editing\VisibleSelection.cpp"
                                >
                                <FileConfiguration
                                        Name="Debug|Win32"
                                </FileConfiguration>
                        </File>
                        <File
-                               RelativePath="..\editing\VisiblePosition.h"
+                               RelativePath="..\editing\VisibleSelection.h"
                                >
                        </File>
                        <File
-                               RelativePath="..\editing\VisibleSelection.cpp"
+                               RelativePath="..\editing\VisibleUnits.cpp"
                                >
                                <FileConfiguration
                                        Name="Debug|Win32"
                                </FileConfiguration>
                        </File>
                        <File
-                               RelativePath="..\editing\VisibleSelection.h"
+                               RelativePath="..\editing\VisibleUnits.h"
                                >
                        </File>
                        <File
index 15f9023..f7c69e8 100644 (file)
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
     </ClCompile>
-    <ClCompile Include="..\editing\visible_units.cpp">
+    <ClCompile Include="..\editing\VisiblePosition.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
     </ClCompile>
-    <ClCompile Include="..\editing\VisiblePosition.cpp">
+    <ClCompile Include="..\editing\VisibleSelection.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
     </ClCompile>
-    <ClCompile Include="..\editing\VisibleSelection.cpp">
+    <ClCompile Include="..\editing\VisibleUnits.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
     <ClInclude Include="..\editing\TypingCommand.h" />
     <ClInclude Include="..\editing\UndoStep.h" />
     <ClInclude Include="..\editing\UnlinkCommand.h" />
-    <ClInclude Include="..\editing\visible_units.h" />
     <ClInclude Include="..\editing\VisiblePosition.h" />
     <ClInclude Include="..\editing\VisibleSelection.h" />
+    <ClInclude Include="..\editing\VisibleUnits.h" />
     <ClInclude Include="..\editing\WrapContentsInDummySpanCommand.h" />
     <ClInclude Include="..\fileapi\AsyncFileStream.h" />
     <ClInclude Include="..\html\BaseButtonInputType.h" />
index 8bb7bdc..7839c0c 100644 (file)
     <ClCompile Include="..\editing\UnlinkCommand.cpp">
       <Filter>editing</Filter>
     </ClCompile>
-    <ClCompile Include="..\editing\visible_units.cpp">
-      <Filter>editing</Filter>
-    </ClCompile>
     <ClCompile Include="..\editing\VisiblePosition.cpp">
       <Filter>editing</Filter>
     </ClCompile>
     <ClCompile Include="..\editing\VisibleSelection.cpp">
       <Filter>editing</Filter>
     </ClCompile>
+    <ClCompile Include="..\editing\VisibleUnits.cpp">
+      <Filter>editing</Filter>
+    </ClCompile>
     <ClCompile Include="..\editing\WrapContentsInDummySpanCommand.cpp">
       <Filter>editing</Filter>
     </ClCompile>
index 763c47d..8d8fb0a 100644 (file)
                93309E1A099E64920056E581 /* TypingCommand.h in Headers */ = {isa = PBXBuildFile; fileRef = 93309DCB099E64910056E581 /* TypingCommand.h */; };
                93309E1B099E64920056E581 /* TextIterator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93309DCC099E64910056E581 /* TextIterator.cpp */; };
                93309E1C099E64920056E581 /* TextIterator.h in Headers */ = {isa = PBXBuildFile; fileRef = 93309DCD099E64910056E581 /* TextIterator.h */; settings = {ATTRIBUTES = (Private, ); }; };
-               93309E1D099E64920056E581 /* visible_units.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93309DCE099E64910056E581 /* visible_units.cpp */; };
-               93309E1E099E64920056E581 /* visible_units.h in Headers */ = {isa = PBXBuildFile; fileRef = 93309DCF099E64910056E581 /* visible_units.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               93309E1D099E64920056E581 /* VisibleUnits.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93309DCE099E64910056E581 /* VisibleUnits.cpp */; };
+               93309E1E099E64920056E581 /* VisibleUnits.h in Headers */ = {isa = PBXBuildFile; fileRef = 93309DCF099E64910056E581 /* VisibleUnits.h */; settings = {ATTRIBUTES = (Private, ); }; };
                93309E1F099E64920056E581 /* VisiblePosition.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93309DD0099E64910056E581 /* VisiblePosition.cpp */; };
                93309E20099E64920056E581 /* VisiblePosition.h in Headers */ = {isa = PBXBuildFile; fileRef = 93309DD1099E64910056E581 /* VisiblePosition.h */; settings = {ATTRIBUTES = (Private, ); }; };
                93309E23099E64920056E581 /* WrapContentsInDummySpanCommand.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93309DD4099E64910056E581 /* WrapContentsInDummySpanCommand.cpp */; };
                93309DCB099E64910056E581 /* TypingCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TypingCommand.h; sourceTree = "<group>"; };
                93309DCC099E64910056E581 /* TextIterator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TextIterator.cpp; sourceTree = "<group>"; };
                93309DCD099E64910056E581 /* TextIterator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TextIterator.h; sourceTree = "<group>"; };
-               93309DCE099E64910056E581 /* visible_units.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = visible_units.cpp; sourceTree = "<group>"; };
-               93309DCF099E64910056E581 /* visible_units.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = visible_units.h; sourceTree = "<group>"; };
+               93309DCE099E64910056E581 /* VisibleUnits.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = VisibleUnits.cpp; sourceTree = "<group>"; };
+               93309DCF099E64910056E581 /* VisibleUnits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VisibleUnits.h; sourceTree = "<group>"; };
                93309DD0099E64910056E581 /* VisiblePosition.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = VisiblePosition.cpp; sourceTree = "<group>"; };
                93309DD1099E64910056E581 /* VisiblePosition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VisiblePosition.h; sourceTree = "<group>"; };
                93309DD4099E64910056E581 /* WrapContentsInDummySpanCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WrapContentsInDummySpanCommand.cpp; sourceTree = "<group>"; };
                                9B2D8A7814997CCF00ECEF3E /* UndoStep.h */,
                                D086FE9709D53AAB005BC74D /* UnlinkCommand.cpp */,
                                D086FE9609D53AAB005BC74D /* UnlinkCommand.h */,
-                               93309DCE099E64910056E581 /* visible_units.cpp */,
-                               93309DCF099E64910056E581 /* visible_units.h */,
                                93309DD0099E64910056E581 /* VisiblePosition.cpp */,
                                93309DD1099E64910056E581 /* VisiblePosition.h */,
                                A883DF250F3D045D00F19BF6 /* VisibleSelection.cpp */,
                                A883DF260F3D045D00F19BF6 /* VisibleSelection.h */,
+                               93309DCE099E64910056E581 /* VisibleUnits.cpp */,
+                               93309DCF099E64910056E581 /* VisibleUnits.h */,
                                93309DD4099E64910056E581 /* WrapContentsInDummySpanCommand.cpp */,
                                93309DD5099E64910056E581 /* WrapContentsInDummySpanCommand.h */,
                                9BAF3B2312C1A39800014BF1 /* WritingDirection.h */,
                                BCA257151293C010007A263D /* VerticalPositionCache.h in Headers */,
                                CEF418CF1179678C009D112C /* ViewportArguments.h in Headers */,
                                3FFFF9AE159D9B060020BBD5 /* ViewportStyleResolver.h in Headers */,
-                               93309E1E099E64920056E581 /* visible_units.h in Headers */,
                                93309E20099E64920056E581 /* VisiblePosition.h in Headers */,
                                A883DF280F3D045D00F19BF6 /* VisibleSelection.h in Headers */,
+                               93309E1E099E64920056E581 /* VisibleUnits.h in Headers */,
                                29A309B11561CAC400BBD8E5 /* VisitedLinks.h in Headers */,
                                419BC2DF1685329900D64D6D /* VisitedLinkState.h in Headers */,
                                515788C11207852C00A37C4A /* VisitedLinkStrategy.h in Headers */,
                                FD3160AE12B026F700C1A359 /* VectorMath.cpp in Sources */,
                                CEF418CE1179678C009D112C /* ViewportArguments.cpp in Sources */,
                                3FFFF9AD159D9B060020BBD5 /* ViewportStyleResolver.cpp in Sources */,
-                               93309E1D099E64920056E581 /* visible_units.cpp in Sources */,
                                93309E1F099E64920056E581 /* VisiblePosition.cpp in Sources */,
                                A883DF270F3D045D00F19BF6 /* VisibleSelection.cpp in Sources */,
+                               93309E1D099E64920056E581 /* VisibleUnits.cpp in Sources */,
                                29A309B01561CAC400BBD8E5 /* VisitedLinks.cpp in Sources */,
                                419BC2DE1685329900D64D6D /* VisitedLinkState.cpp in Sources */,
                                FD7F299113D4C0CB00AD9535 /* WaveShaperDSPKernel.cpp in Sources */,
index 85463bb..8e414d7 100644 (file)
@@ -70,9 +70,9 @@
 #include "TextControlInnerElements.h"
 #include "TextIterator.h"
 #include "UserGestureIndicator.h"
+#include "VisibleUnits.h"
 #include "Widget.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 #include <wtf/StdLibExtras.h>
 #include <wtf/text/StringBuilder.h>
 #include <wtf/unicode/CharacterNames.h>
index 441cc3e..23625e3 100644 (file)
@@ -57,8 +57,8 @@
 #include "TextCheckingHelper.h"
 #include "TextIterator.h"
 #include "UserGestureIndicator.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 #include <wtf/StdLibExtras.h>
 #include <wtf/text/StringBuilder.h>
 #include <wtf/text/WTFString.h>
index ea1311f..41e9ca1 100644 (file)
@@ -90,8 +90,8 @@
 #include "SVGSVGElement.h"
 #include "Text.h"
 #include "TextControlInnerElements.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 #include <wtf/StdLibExtras.h>
 #include <wtf/text/StringBuilder.h>
 #include <wtf/unicode/CharacterNames.h>
index dd4702a..90add83 100644 (file)
@@ -44,6 +44,7 @@
 #include "RenderObject.h"
 #include "Settings.h"
 #include "TextIterator.h"
+#include "VisibleUnits.h"
 #include "WebKitAccessibleHyperlink.h"
 #include "WebKitAccessibleInterfaceAction.h"
 #include "WebKitAccessibleInterfaceComponent.h"
@@ -58,7 +59,6 @@
 #include "WebKitAccessibleInterfaceValue.h"
 #include "WebKitAccessibleUtil.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 #include <glib/gprintf.h>
 
 #if PLATFORM(GTK)
index 8b8623f..12c1d46 100644 (file)
 #import "TextCheckerClient.h"
 #import "TextCheckingHelper.h"
 #import "TextIterator.h"
+#import "VisibleUnits.h"
 #import "WebCoreFrameView.h"
 #import "WebCoreObjCExtras.h"
 #import "WebCoreSystemInterface.h"
 #import "htmlediting.h"
-#import "visible_units.h"
 
 using namespace WebCore;
 using namespace HTMLNames;
index 6c3b143..f4cb1f5 100644 (file)
 #import "TextCheckerClient.h"
 #import "TextCheckingHelper.h"
 #import "TextIterator.h"
+#import "VisibleUnits.h"
 #import "WebCoreFrameView.h"
 #import "WebCoreObjCExtras.h"
 #import "WebCoreSystemInterface.h"
 #import "htmlediting.h"
-#import "visible_units.h"
 
 using namespace WebCore;
 using namespace HTMLNames;
index 55bc390..3ef9b55 100644 (file)
@@ -39,8 +39,8 @@
 #include "Text.h"
 #include "TextIterator.h"
 #include "VisiblePosition.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 #include <stdio.h>
 #include <wtf/text/CString.h>
 #include <wtf/unicode/CharacterNames.h>
index 8bae22b..a389d8a 100644 (file)
@@ -45,9 +45,9 @@
 #include "Text.h"
 #include "TextIterator.h"
 #include "VisiblePosition.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
 #include "markup.h"
-#include "visible_units.h"
 #include <stdio.h>
 #include <wtf/RefCountedLeakCounter.h>
 #include <wtf/Vector.h>
index be0ecb7..d7b4dca 100644 (file)
@@ -44,9 +44,9 @@
 #include "TextEvent.h"
 #include "TextIterator.h"
 #include "VisibleSelection.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
 #include "markup.h"
-#include "visible_units.h"
 
 namespace WebCore {
 
index 901cd17..70096d9 100644 (file)
@@ -34,8 +34,8 @@
 #include "Text.h"
 #include "TextIterator.h"
 #include "VisiblePosition.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 
 namespace WebCore {
 
index 5b6b12a..cf6848d 100644 (file)
@@ -47,8 +47,8 @@
 #include "StyleResolver.h"
 #include "Text.h"
 #include "TextIterator.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 #include <wtf/StdLibExtras.h>
 #include <wtf/text/StringBuilder.h>
 
index d7016a6..5b5af93 100644 (file)
 #include "SplitTextNodeContainingElementCommand.h"
 #include "Text.h"
 #include "TextIterator.h"
+#include "VisibleUnits.h"
 #include "WrapContentsInDummySpanCommand.h"
 #include "htmlediting.h"
 #include "markup.h"
-#include "visible_units.h"
 #include <wtf/unicode/CharacterNames.h>
 
 using namespace std;
index b0e4b32..6e7f44a 100644 (file)
@@ -40,7 +40,7 @@
 #include "NodeTraversal.h"
 #include "RenderTableCell.h"
 #include "Text.h"
-#include "visible_units.h"
+#include "VisibleUnits.h"
 
 namespace WebCore {
 
index 1275079..0e23796 100644 (file)
@@ -82,7 +82,7 @@
 #include <UnlinkCommand.cpp>
 #include <VisiblePosition.cpp>
 #include <VisibleSelection.cpp>
+#include <VisibleUnits.cpp>
 #include <WrapContentsInDummySpanCommand.cpp>
 #include <htmlediting.cpp>
 #include <markup.cpp>
-#include <visible_units.cpp>
index 3ba16a5..7cbd5fa 100644 (file)
@@ -48,8 +48,8 @@
 #include "StyleResolver.h"
 #include "StyleRule.h"
 #include "StyledElement.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 #include <wtf/HashSet.h>
 
 namespace WebCore {
index c2b7528..2b5dbd2 100644 (file)
@@ -91,9 +91,9 @@
 #include "TextIterator.h"
 #include "TypingCommand.h"
 #include "UserTypingGestureIndicator.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
 #include "markup.h"
-#include "visible_units.h"
 #include <wtf/UnusedParam.h>
 #include <wtf/unicode/CharacterNames.h>
 #include <wtf/unicode/Unicode.h>
index f88c5c6..edf3aa5 100644 (file)
@@ -32,7 +32,7 @@
 #include "HTMLElement.h"
 #include "HTMLNames.h"
 #include "Range.h"
-#include "visible_units.h"
+#include "VisibleUnits.h"
 
 namespace WebCore {
 
index f44de00..18de1d8 100644 (file)
@@ -63,8 +63,8 @@
 #include "StylePropertySet.h"
 #include "TextIterator.h"
 #include "TypingCommand.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 #include <limits.h>
 #include <stdio.h>
 #include <wtf/text/CString.h>
index 63034a8..5eb1894 100644 (file)
@@ -36,8 +36,8 @@
 #include "SplitElementCommand.h"
 #include "Text.h"
 #include "TextIterator.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 #include <wtf/StdLibExtras.h>
 
 namespace WebCore {
index f647632..b8b14a6 100644 (file)
@@ -34,8 +34,8 @@
 #include "RenderObject.h"
 #include "Text.h"
 #include "VisiblePosition.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 
 namespace WebCore {
 
index a9296c3..2a84d16 100644 (file)
@@ -32,7 +32,7 @@
 #include "HTMLElement.h"
 #include "HTMLNames.h"
 #include "TextIterator.h"
-#include "visible_units.h"
+#include "VisibleUnits.h"
 
 namespace WebCore {
 
index 1d384e2..609b5a0 100644 (file)
@@ -35,8 +35,8 @@
 #include "NodeTraversal.h"
 #include "RenderObject.h"
 #include "Text.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 
 namespace WebCore {
 
index 2386307..944df88 100644 (file)
@@ -32,8 +32,8 @@
 #include "Frame.h"
 #include "HTMLInterchange.h"
 #include "Text.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 #include <wtf/unicode/CharacterNames.h>
 
 namespace WebCore {
index 76d677a..ad4bc75 100644 (file)
@@ -55,9 +55,9 @@
 #include "StylePropertySet.h"
 #include "Text.h"
 #include "TextIterator.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
 #include "markup.h"
-#include "visible_units.h"
 #include <wtf/StdLibExtras.h>
 #include <wtf/Vector.h>
 
index 4c8dae4..69a9d8e 100644 (file)
@@ -36,7 +36,7 @@
 #include "TextIterator.h"
 #include "VisiblePosition.h"
 #include "VisibleSelection.h"
-#include "visible_units.h"
+#include "VisibleUnits.h"
 
 namespace WebCore {
 
index 20a2fcb..09cc287 100644 (file)
@@ -36,7 +36,7 @@
 #include "TextCheckerClient.h"
 #include "TextIterator.h"
 #include "VisiblePosition.h"
-#include "visible_units.h"
+#include "VisibleUnits.h"
 
 namespace WebCore {
 
index e7216fc..344a22e 100644 (file)
@@ -46,7 +46,7 @@
 #include "TextBoundaries.h"
 #include "TextBreakIterator.h"
 #include "VisiblePosition.h"
-#include "visible_units.h"
+#include "VisibleUnits.h"
 #include <wtf/text/CString.h>
 #include <wtf/unicode/CharacterNames.h>
 
index 1c0aa78..4ec50d4 100644 (file)
@@ -40,8 +40,8 @@
 #include "RenderObject.h"
 #include "TextIterator.h"
 #include "VisiblePosition.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 
 namespace WebCore {
 
index 8d1757a..5ffed22 100644 (file)
@@ -37,8 +37,8 @@
 #include "RenderBlock.h"
 #include "RootInlineBox.h"
 #include "Text.h"
+#include "VisibleUnits.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 #include <stdio.h>
 #include <wtf/text/CString.h>
 
index b849c9d..1c86004 100644 (file)
 
 #include "Document.h"
 #include "Element.h"
-#include "htmlediting.h"
+#include "Range.h"
 #include "TextIterator.h"
 #include "VisiblePosition.h"
-#include "visible_units.h"
-#include "Range.h"
+#include "VisibleUnits.h"
+#include "htmlediting.h"
 #include <stdio.h>
 #include <wtf/Assertions.h>
 #include <wtf/text/CString.h>
similarity index 99%
rename from Source/WebCore/editing/visible_units.cpp
rename to Source/WebCore/editing/VisibleUnits.cpp
index baa2065..17c2b33 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 #include "config.h"
-#include "visible_units.h"
+#include "VisibleUnits.h"
 
 #include "Document.h"
 #include "Element.h"
similarity index 98%
rename from Source/WebCore/editing/visible_units.h
rename to Source/WebCore/editing/VisibleUnits.h
index 723c196..e9aa78d 100644 (file)
@@ -23,8 +23,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef visible_units_h
-#define visible_units_h
+#ifndef VisibleUnits_h
+#define VisibleUnits_h
 
 #include "EditingBehaviorTypes.h"
 #include "EditingBoundary.h"
@@ -99,4 +99,4 @@ bool isEndOfEditableOrNonEditableContent(const VisiblePosition&);
 
 } // namespace WebCore
 
-#endif // VisiblePosition_h
+#endif // VisibleUnits_h
index 24eb6ea..14cb085 100644 (file)
@@ -51,7 +51,7 @@
 #include "TextIterator.h"
 #include "VisiblePosition.h"
 #include "VisibleSelection.h"
-#include "visible_units.h"
+#include "VisibleUnits.h"
 #include <wtf/Assertions.h>
 #include <wtf/StdLibExtras.h>
 #include <wtf/unicode/CharacterNames.h>
index d3277c3..3c3a570 100644 (file)
@@ -62,9 +62,9 @@
 #include "StyleResolver.h"
 #include "TextIterator.h"
 #include "VisibleSelection.h"
+#include "VisibleUnits.h"
 #include "XMLNSNames.h"
 #include "htmlediting.h"
-#include "visible_units.h"
 #include <wtf/StdLibExtras.h>
 #include <wtf/text/StringBuilder.h>
 #include <wtf/unicode/CharacterNames.h>
index c7ed072..ecd1752 100644 (file)
 #include "TextResourceDecoder.h"
 #include "UserContentURLPattern.h"
 #include "UserTypingGestureIndicator.h"
+#include "VisibleUnits.h"
 #include "WebKitFontFamilyNames.h"
 #include "XMLNSNames.h"
 #include "XMLNames.h"
 #include "htmlediting.h"
 #include "markup.h"
 #include "npruntime_impl.h"
-#include "visible_units.h"
 #include <wtf/PassOwnPtr.h>
 #include <wtf/RefCountedLeakCounter.h>
 #include <wtf/StdLibExtras.h>
index 31d6649..3144225 100644 (file)
@@ -51,7 +51,7 @@
 #import "RenderView.h"
 #import "Scrollbar.h"
 #import "SimpleFontData.h"
-#import "visible_units.h"
+#import "VisibleUnits.h"
 #import <wtf/StdLibExtras.h>
 
 @interface NSView (WebCoreHTMLDocumentView)
index f9505b3..4838552 100644 (file)
@@ -33,7 +33,7 @@
 #include "Frame.h"
 #include "htmlediting.h"
 #include "TextIterator.h"
-#include "visible_units.h"
+#include "VisibleUnits.h"
 
 #include <windows.h>
 
index d3eb588..4845721 100644 (file)
@@ -1,3 +1,12 @@
+2013-03-05  Kent Tamura  <tkent@chromium.org>
+
+        Rename WebCore/editing/visible_units.* to VisibleUnits.*
+        https://bugs.webkit.org/show_bug.cgi?id=111426
+
+        Reviewed by Alexey Proskuryakov.
+
+        * WebView/WebFrame.mm:
+
 2013-03-05  James Robinson  <jamesr@chromium.org>
 
         ContainerNode::setActive should not sleep for 100ms on platforms that do not implement synchronous repaint(true) semantics
index e7604be..17af8f0 100644 (file)
@@ -93,9 +93,9 @@
 #import <WebCore/StylePropertySet.h>
 #import <WebCore/TextIterator.h>
 #import <WebCore/ThreadCheck.h>
+#import <WebCore/VisibleUnits.h>
 #import <WebCore/htmlediting.h>
 #import <WebCore/markup.h>
-#import <WebCore/visible_units.h>
 #import <WebKitSystemInterface.h>
 #import <runtime/JSLock.h>
 #import <runtime/JSObject.h>
index 262a477..5bc053e 100644 (file)
@@ -1,3 +1,12 @@
+2013-03-05  Kent Tamura  <tkent@chromium.org>
+
+        Rename WebCore/editing/visible_units.* to VisibleUnits.*
+        https://bugs.webkit.org/show_bug.cgi?id=111426
+
+        Reviewed by Alexey Proskuryakov.
+
+        * WebProcess/WebPage/mac/WebPageMac.mm:
+
 2013-03-06  Zeno Albisser  <zeno@webkit.org>
 
         DataReference::vector() should be const.
index 83545fb..c1fae93 100644 (file)
@@ -61,7 +61,7 @@
 #import <WebCore/StyleInheritedData.h>
 #import <WebCore/TextIterator.h>
 #import <WebCore/WindowsKeyboardCodes.h>
-#import <WebCore/visible_units.h>
+#import <WebCore/VisibleUnits.h>
 #import <WebKitSystemInterface.h>
 
 using namespace WebCore;