<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[160391] trunk/Source/WebKit2</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/160391">160391</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2013-12-10 15:00:40 -0800 (Tue, 10 Dec 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Rename WebNumber.h to APINumber.h
https://bugs.webkit.org/show_bug.cgi?id=125545
Reviewed by Beth Dakin.
* Shared/API/Cocoa/WKRemoteObjectCoder.mm:
* Shared/API/c/WKNumber.cpp:
* Shared/API/c/WKSharedAPICast.h:
* Shared/APINumber.h: Renamed from Source/WebKit2/Shared/WebNumber.h.
* Shared/Plugins/Netscape/PluginInformation.cpp:
* Shared/Plugins/Netscape/mac/PluginInformationMac.mm:
* Shared/UserData.cpp:
* Shared/UserMessageCoders.h:
* UIProcess/API/C/mac/WKContextPrivateMac.mm:
* UIProcess/Notifications/WebNotificationProvider.cpp:
* UIProcess/WebUIClient.cpp:
* WebKit2.xcodeproj/project.pbxproj:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2SharedAPICocoaWKRemoteObjectCodermm">trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectCoder.mm</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIcWKNumbercpp">trunk/Source/WebKit2/Shared/API/c/WKNumber.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIcWKSharedAPICasth">trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h</a></li>
<li><a href="#trunkSourceWebKit2SharedPluginsNetscapePluginInformationcpp">trunk/Source/WebKit2/Shared/Plugins/Netscape/PluginInformation.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedPluginsNetscapemacPluginInformationMacmm">trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/PluginInformationMac.mm</a></li>
<li><a href="#trunkSourceWebKit2SharedUserDatacpp">trunk/Source/WebKit2/Shared/UserData.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedUserMessageCodersh">trunk/Source/WebKit2/Shared/UserMessageCoders.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICmacWKContextPrivateMacmm">trunk/Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessNotificationsWebNotificationProvidercpp">trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationProvider.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebUIClientcpp">trunk/Source/WebKit2/UIProcess/WebUIClient.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj">trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2SharedAPINumberh">trunk/Source/WebKit2/Shared/APINumber.h</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2SharedWebNumberh">trunk/Source/WebKit2/Shared/WebNumber.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/ChangeLog        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -1,5 +1,25 @@
</span><span class="cx"> 2013-12-10 Anders Carlsson <andersca@apple.com>
</span><span class="cx">
</span><ins>+ Rename WebNumber.h to APINumber.h
+ https://bugs.webkit.org/show_bug.cgi?id=125545
+
+ Reviewed by Beth Dakin.
+
+ * Shared/API/Cocoa/WKRemoteObjectCoder.mm:
+ * Shared/API/c/WKNumber.cpp:
+ * Shared/API/c/WKSharedAPICast.h:
+ * Shared/APINumber.h: Renamed from Source/WebKit2/Shared/WebNumber.h.
+ * Shared/Plugins/Netscape/PluginInformation.cpp:
+ * Shared/Plugins/Netscape/mac/PluginInformationMac.mm:
+ * Shared/UserData.cpp:
+ * Shared/UserMessageCoders.h:
+ * UIProcess/API/C/mac/WKContextPrivateMac.mm:
+ * UIProcess/Notifications/WebNotificationProvider.cpp:
+ * UIProcess/WebUIClient.cpp:
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-12-10 Anders Carlsson <andersca@apple.com>
+
</ins><span class="cx"> UserData should handle geometry types
</span><span class="cx"> https://bugs.webkit.org/show_bug.cgi?id=125542
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPICocoaWKRemoteObjectCodermm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectCoder.mm (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectCoder.mm        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectCoder.mm        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -29,10 +29,10 @@
</span><span class="cx"> #if WK_API_ENABLED
</span><span class="cx">
</span><span class="cx"> #import "APIArray.h"
</span><ins>+#import "APINumber.h"
</ins><span class="cx"> #import "MutableDictionary.h"
</span><span class="cx"> #import "WKRemoteObjectInterfaceInternal.h"
</span><span class="cx"> #import "WebData.h"
</span><del>-#import "WebNumber.h"
</del><span class="cx"> #import "WebString.h"
</span><span class="cx"> #import <objc/runtime.h>
</span><span class="cx"> #import <wtf/RetainPtr.h>
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIcWKNumbercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/c/WKNumber.cpp (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/c/WKNumber.cpp        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/Shared/API/c/WKNumber.cpp        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -26,8 +26,8 @@
</span><span class="cx"> #include "config.h"
</span><span class="cx"> #include "WKNumber.h"
</span><span class="cx">
</span><ins>+#include "APINumber.h"
</ins><span class="cx"> #include "WKAPICast.h"
</span><del>-#include "WebNumber.h"
</del><span class="cx">
</span><span class="cx"> using namespace WebKit;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIcWKSharedAPICasth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -26,6 +26,7 @@
</span><span class="cx"> #ifndef WKSharedAPICast_h
</span><span class="cx"> #define WKSharedAPICast_h
</span><span class="cx">
</span><ins>+#include "APINumber.h"
</ins><span class="cx"> #include "ImageOptions.h"
</span><span class="cx"> #include "SameDocumentNavigationType.h"
</span><span class="cx"> #include "WKBase.h"
</span><span class="lines">@@ -42,7 +43,6 @@
</span><span class="cx"> #include "WebError.h"
</span><span class="cx"> #include "WebEvent.h"
</span><span class="cx"> #include "WebFindOptions.h"
</span><del>-#include "WebNumber.h"
</del><span class="cx"> #include "WebSecurityOrigin.h"
</span><span class="cx"> #include "WebString.h"
</span><span class="cx"> #include "WebURL.h"
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPINumberhfromrev160390trunkSourceWebKit2SharedWebNumberh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit2/Shared/APINumber.h (from rev 160390, trunk/Source/WebKit2/Shared/WebNumber.h) (0 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/APINumber.h         (rev 0)
+++ trunk/Source/WebKit2/Shared/APINumber.h        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+/*
+ * Copyright (C) 2010 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef APINumber_h
+#define APINumber_h
+
+#include "APIObject.h"
+#include <wtf/PassRefPtr.h>
+
+namespace WebKit {
+
+template<typename NumberType, API::Object::Type APIObjectType>
+class WebNumber : public API::ObjectImpl<APIObjectType> {
+public:
+ static PassRefPtr<WebNumber> create(NumberType value)
+ {
+ return adoptRef(new WebNumber(value));
+ }
+
+ NumberType value() const { return m_value; }
+
+private:
+ explicit WebNumber(NumberType value)
+ : m_value(value)
+ {
+ }
+
+ const NumberType m_value;
+};
+
+typedef WebNumber<bool, API::Object::Type::Boolean> WebBoolean;
+typedef WebNumber<double, API::Object::Type::Double> WebDouble;
+typedef WebNumber<uint64_t, API::Object::Type::UInt64> WebUInt64;
+
+} // namespace WebKit
+
+#endif // APINumber_h
</ins></span></pre></div>
<a id="trunkSourceWebKit2SharedPluginsNetscapePluginInformationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/Plugins/Netscape/PluginInformation.cpp (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/Plugins/Netscape/PluginInformation.cpp        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/Shared/Plugins/Netscape/PluginInformation.cpp        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -28,10 +28,10 @@
</span><span class="cx">
</span><span class="cx"> #if ENABLE(NETSCAPE_PLUGIN_API)
</span><span class="cx">
</span><ins>+#include "APINumber.h"
</ins><span class="cx"> #include "PluginInfoStore.h"
</span><span class="cx"> #include "PluginModuleInfo.h"
</span><span class="cx"> #include "WKAPICast.h"
</span><del>-#include "WebNumber.h"
</del><span class="cx"> #include "WebString.h"
</span><span class="cx"> #include "WebURL.h"
</span><span class="cx"> #include <wtf/text/WTFString.h>
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedPluginsNetscapemacPluginInformationMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/PluginInformationMac.mm (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/PluginInformationMac.mm        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/PluginInformationMac.mm        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -28,10 +28,10 @@
</span><span class="cx">
</span><span class="cx"> #if ENABLE(NETSCAPE_PLUGIN_API)
</span><span class="cx">
</span><ins>+#import "APINumber.h"
</ins><span class="cx"> #import "PluginModuleInfo.h"
</span><span class="cx"> #import "PluginSandboxProfile.h"
</span><span class="cx"> #import "StringUtilities.h"
</span><del>-#import "WebNumber.h"
</del><span class="cx"> #import "WebString.h"
</span><span class="cx"> #import <WebKitSystemInterface.h>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedUserDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/UserData.cpp (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/UserData.cpp        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/Shared/UserData.cpp        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -29,10 +29,10 @@
</span><span class="cx"> #include "APIArray.h"
</span><span class="cx"> #include "APIFrameHandle.h"
</span><span class="cx"> #include "APIGeometry.h"
</span><ins>+#include "APINumber.h"
</ins><span class="cx"> #include "ArgumentCoders.h"
</span><span class="cx"> #include "ArgumentEncoder.h"
</span><span class="cx"> #include "MutableDictionary.h"
</span><del>-#include "WebNumber.h"
</del><span class="cx"> #include "WebSerializedScriptValue.h"
</span><span class="cx"> #include "WebString.h"
</span><span class="cx"> #include "WebURL.h"
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedUserMessageCodersh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/UserMessageCoders.h (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/UserMessageCoders.h        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/Shared/UserMessageCoders.h        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -28,6 +28,7 @@
</span><span class="cx">
</span><span class="cx"> #include "APIArray.h"
</span><span class="cx"> #include "APIGeometry.h"
</span><ins>+#include "APINumber.h"
</ins><span class="cx"> #include "ArgumentDecoder.h"
</span><span class="cx"> #include "ArgumentEncoder.h"
</span><span class="cx"> #include "DataReference.h"
</span><span class="lines">@@ -38,7 +39,6 @@
</span><span class="cx"> #include "WebData.h"
</span><span class="cx"> #include "WebError.h"
</span><span class="cx"> #include "WebImage.h"
</span><del>-#include "WebNumber.h"
</del><span class="cx"> #include "WebRenderLayer.h"
</span><span class="cx"> #include "WebRenderObject.h"
</span><span class="cx"> #include "WebSerializedScriptValue.h"
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedWebNumberh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/Shared/WebNumber.h (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/WebNumber.h        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/Shared/WebNumber.h        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef WebNumber_h
-#define WebNumber_h
-
-#include "APIObject.h"
-#include <wtf/PassRefPtr.h>
-
-namespace WebKit {
-
-template<typename NumberType, API::Object::Type APIObjectType>
-class WebNumber : public API::ObjectImpl<APIObjectType> {
-public:
- static PassRefPtr<WebNumber> create(NumberType value)
- {
- return adoptRef(new WebNumber(value));
- }
-
- NumberType value() const { return m_value; }
-
-private:
- explicit WebNumber(NumberType value)
- : m_value(value)
- {
- }
-
- const NumberType m_value;
-};
-
-typedef WebNumber<bool, API::Object::Type::Boolean> WebBoolean;
-typedef WebNumber<double, API::Object::Type::Double> WebDouble;
-typedef WebNumber<uint64_t, API::Object::Type::UInt64> WebUInt64;
-
-} // namespace WebKit
-
-#endif // WebNumber_h
</del></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICmacWKContextPrivateMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.mm (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.mm        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.mm        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> #import "WKContextPrivateMac.h"
</span><span class="cx">
</span><span class="cx"> #import "APIArray.h"
</span><ins>+#import "APINumber.h"
</ins><span class="cx"> #import "ImmutableDictionary.h"
</span><span class="cx"> #import "PluginInfoStore.h"
</span><span class="cx"> #import "PluginInformation.h"
</span><span class="lines">@@ -37,7 +38,6 @@
</span><span class="cx"> #import "WKSharedAPICast.h"
</span><span class="cx"> #import "WKStringCF.h"
</span><span class="cx"> #import "WebContext.h"
</span><del>-#import "WebNumber.h"
</del><span class="cx"> #import "WebString.h"
</span><span class="cx"> #import <WebKitSystemInterface.h>
</span><span class="cx"> #import <wtf/RetainPtr.h>
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNotificationsWebNotificationProvidercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationProvider.cpp (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationProvider.cpp        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationProvider.cpp        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -27,11 +27,11 @@
</span><span class="cx"> #include "WebNotificationProvider.h"
</span><span class="cx">
</span><span class="cx"> #include "APIArray.h"
</span><ins>+#include "APINumber.h"
</ins><span class="cx"> #include "ImmutableDictionary.h"
</span><span class="cx"> #include "WKAPICast.h"
</span><span class="cx"> #include "WebNotification.h"
</span><span class="cx"> #include "WebNotificationManagerProxy.h"
</span><del>-#include "WebNumber.h"
</del><span class="cx"> #include "WebSecurityOrigin.h"
</span><span class="cx">
</span><span class="cx"> namespace WebKit {
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebUIClientcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebUIClient.cpp (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebUIClient.cpp        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/UIProcess/WebUIClient.cpp        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -26,6 +26,7 @@
</span><span class="cx"> #include "config.h"
</span><span class="cx"> #include "WebUIClient.h"
</span><span class="cx">
</span><ins>+#include "APINumber.h"
</ins><span class="cx"> #include "ImmutableDictionary.h"
</span><span class="cx"> #include "NativeWebKeyboardEvent.h"
</span><span class="cx"> #include "NativeWebWheelEvent.h"
</span><span class="lines">@@ -33,7 +34,6 @@
</span><span class="cx"> #include "PluginInformation.h"
</span><span class="cx"> #include "WKAPICast.h"
</span><span class="cx"> #include "WebColorPickerResultListenerProxy.h"
</span><del>-#include "WebNumber.h"
</del><span class="cx"> #include "WebOpenPanelResultListenerProxy.h"
</span><span class="cx"> #include "WebPageProxy.h"
</span><span class="cx"> #include <WebCore/FloatRect.h>
</span></span></pre></div>
<a id="trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (160390 => 160391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2013-12-10 22:43:06 UTC (rev 160390)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2013-12-10 23:00:40 UTC (rev 160391)
</span><span class="lines">@@ -888,7 +888,7 @@
</span><span class="cx">                 BC3066BF125A442100E71278 /* WebProcessMessages.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3066BD125A442100E71278 /* WebProcessMessages.h */; };
</span><span class="cx">                 BC306824125A6B9400E71278 /* WebProcessCreationParameters.h in Headers */ = {isa = PBXBuildFile; fileRef = BC306822125A6B9400E71278 /* WebProcessCreationParameters.h */; };
</span><span class="cx">                 BC306825125A6B9400E71278 /* WebProcessCreationParameters.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC306823125A6B9400E71278 /* WebProcessCreationParameters.cpp */; };
</span><del>-                BC33DD681238464600360F3F /* WebNumber.h in Headers */ = {isa = PBXBuildFile; fileRef = BC33DD671238464600360F3F /* WebNumber.h */; };
</del><ins>+                BC33DD681238464600360F3F /* APINumber.h in Headers */ = {isa = PBXBuildFile; fileRef = BC33DD671238464600360F3F /* APINumber.h */; };
</ins><span class="cx">                 BC33E0D112408E8600360F3F /* InjectedBundleRangeHandle.h in Headers */ = {isa = PBXBuildFile; fileRef = BC33E0CF12408E8600360F3F /* InjectedBundleRangeHandle.h */; };
</span><span class="cx">                 BC33E0D212408E8600360F3F /* InjectedBundleRangeHandle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC33E0D012408E8600360F3F /* InjectedBundleRangeHandle.cpp */; };
</span><span class="cx">                 BC39C4351626366F008BC689 /* WKDOMRange.mm in Sources */ = {isa = PBXBuildFile; fileRef = BC39C4331626366F008BC689 /* WKDOMRange.mm */; };
</span><span class="lines">@@ -2487,7 +2487,7 @@
</span><span class="cx">                 BC329DA616ACE5A900316DE2 /* WKWebArchive.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKWebArchive.h; sourceTree = "<group>"; };
</span><span class="cx">                 BC329DA916ACE5BF00316DE2 /* WKWebArchiveResource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WKWebArchiveResource.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 BC329DAA16ACE5C000316DE2 /* WKWebArchiveResource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKWebArchiveResource.h; sourceTree = "<group>"; };
</span><del>-                BC33DD671238464600360F3F /* WebNumber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebNumber.h; sourceTree = "<group>"; };
</del><ins>+                BC33DD671238464600360F3F /* APINumber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APINumber.h; sourceTree = "<group>"; };
</ins><span class="cx">                 BC33E0CF12408E8600360F3F /* InjectedBundleRangeHandle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InjectedBundleRangeHandle.h; sourceTree = "<group>"; };
</span><span class="cx">                 BC33E0D012408E8600360F3F /* InjectedBundleRangeHandle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InjectedBundleRangeHandle.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 BC39C4331626366F008BC689 /* WKDOMRange.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKDOMRange.mm; sourceTree = "<group>"; };
</span><span class="lines">@@ -3431,6 +3431,7 @@
</span><span class="cx">                                 1AC1337018566C7C00F3EC05 /* APIFrameHandle.h */,
</span><span class="cx">                                 1AC133731857C21E00F3EC05 /* APIGeometry.cpp */,
</span><span class="cx">                                 0F174AA2142A4CB60039250F /* APIGeometry.h */,
</span><ins>+                                BC33DD671238464600360F3F /* APINumber.h */,
</ins><span class="cx">                                 B63403F814910D57001070B5 /* APIObject.cpp */,
</span><span class="cx">                                 BCF04C8C11FF9B7D00F86A58 /* APIObject.h */,
</span><span class="cx">                                 1AC1336D18565D2B00F3EC05 /* APIPageHandle.cpp */,
</span><span class="lines">@@ -3539,7 +3540,6 @@
</span><span class="cx">                                 905620E912BC248B000799B6 /* WebMemorySampler.h */,
</span><span class="cx">                                 C0337DAF127A28D0008FF4F4 /* WebMouseEvent.cpp */,
</span><span class="cx">                                 BCF69F981176CED600471A52 /* WebNavigationDataStore.h */,
</span><del>-                                BC33DD671238464600360F3F /* WebNumber.h */,
</del><span class="cx">                                 BC857FB412B830E600EDEB2E /* WebOpenPanelParameters.cpp */,
</span><span class="cx">                                 BC857FB312B830E600EDEB2E /* WebOpenPanelParameters.h */,
</span><span class="cx">                                 C06C6093124C14430001682F /* WebPageCreationParameters.cpp */,
</span><span class="lines">@@ -5986,7 +5986,7 @@
</span><span class="cx">                                 31BA924E148831260062EDB5 /* WebNotificationManagerMessages.h in Headers */,
</span><span class="cx">                                 31A2EC4B148997C200810D71 /* WebNotificationManagerProxy.h in Headers */,
</span><span class="cx">                                 31A2EC4E148997C200810D71 /* WebNotificationProvider.h in Headers */,
</span><del>-                                BC33DD681238464600360F3F /* WebNumber.h in Headers */,
</del><ins>+                                BC33DD681238464600360F3F /* APINumber.h in Headers */,
</ins><span class="cx">                                 BC857FB512B830E600EDEB2E /* WebOpenPanelParameters.h in Headers */,
</span><span class="cx">                                 BC857F8512B82D0B00EDEB2E /* WebOpenPanelResultListener.h in Headers */,
</span><span class="cx">                                 BC1DFEA412B31F87005DF730 /* WebOpenPanelResultListenerProxy.h in Headers */,
</span></span></pre>
</div>
</div>
</body>
</html>