Log Message
Fix the Windows build. * UIProcess/API/C/win/WKTextChecker.h: * UIProcess/API/C/win/WKView.h: * UIProcess/win/WebTextCheckerClient.h: * UIProcess/win/WebUndoClient.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (90167 => 90168)
--- trunk/Source/WebKit2/ChangeLog 2011-06-30 22:00:00 UTC (rev 90167)
+++ trunk/Source/WebKit2/ChangeLog 2011-06-30 22:10:32 UTC (rev 90168)
@@ -1,5 +1,14 @@
2011-06-30 Mark Rowe <[email protected]>
+ Fix the Windows build.
+
+ * UIProcess/API/C/win/WKTextChecker.h:
+ * UIProcess/API/C/win/WKView.h:
+ * UIProcess/win/WebTextCheckerClient.h:
+ * UIProcess/win/WebUndoClient.h:
+
+2011-06-30 Mark Rowe <[email protected]>
+
Reviewed by Anders Carlsson.
Teach APIClient to correctly handle multiple versions of a client interface.
Modified: trunk/Source/WebKit2/UIProcess/API/C/win/WKTextChecker.h (90167 => 90168)
--- trunk/Source/WebKit2/UIProcess/API/C/win/WKTextChecker.h 2011-06-30 22:00:00 UTC (rev 90167)
+++ trunk/Source/WebKit2/UIProcess/API/C/win/WKTextChecker.h 2011-06-30 22:10:32 UTC (rev 90168)
@@ -72,6 +72,8 @@
};
typedef struct WKTextCheckerClient WKTextCheckerClient;
+enum { kWKTextCheckerClientCurrentVersion = 0 };
+
WK_EXPORT void WKTextCheckerSetClient(const WKTextCheckerClient* client);
WK_EXPORT void WKTextCheckerContinuousSpellCheckingEnabledStateChanged(bool);
Modified: trunk/Source/WebKit2/UIProcess/API/C/win/WKView.h (90167 => 90168)
--- trunk/Source/WebKit2/UIProcess/API/C/win/WKView.h 2011-06-30 22:00:00 UTC (rev 90167)
+++ trunk/Source/WebKit2/UIProcess/API/C/win/WKView.h 2011-06-30 22:10:32 UTC (rev 90168)
@@ -58,6 +58,8 @@
};
typedef struct WKViewUndoClient WKViewUndoClient;
+enum { kWKViewUndoClientCurrentVersion = 0 };
+
WK_EXPORT WKTypeID WKViewGetTypeID();
WK_EXPORT WKViewRef WKViewCreate(RECT rect, WKContextRef context, WKPageGroupRef pageGroup, HWND parentWindow);
Modified: trunk/Source/WebKit2/UIProcess/win/WebTextCheckerClient.h (90167 => 90168)
--- trunk/Source/WebKit2/UIProcess/win/WebTextCheckerClient.h 2011-06-30 22:00:00 UTC (rev 90167)
+++ trunk/Source/WebKit2/UIProcess/win/WebTextCheckerClient.h 2011-06-30 22:10:32 UTC (rev 90168)
@@ -36,7 +36,7 @@
class WebPageProxy;
-class WebTextCheckerClient : public APIClient<WKTextCheckerClient> {
+class WebTextCheckerClient : public APIClient<WKTextCheckerClient, kWKTextCheckerClientCurrentVersion> {
public:
bool continuousSpellCheckingAllowed();
bool continuousSpellCheckingEnabled();
Modified: trunk/Source/WebKit2/UIProcess/win/WebUndoClient.h (90167 => 90168)
--- trunk/Source/WebKit2/UIProcess/win/WebUndoClient.h 2011-06-30 22:00:00 UTC (rev 90167)
+++ trunk/Source/WebKit2/UIProcess/win/WebUndoClient.h 2011-06-30 22:10:32 UTC (rev 90168)
@@ -35,7 +35,7 @@
class WebEditCommandProxy;
-class WebUndoClient : public APIClient<WKViewUndoClient> {
+class WebUndoClient : public APIClient<WKViewUndoClient, kWKViewUndoClientCurrentVersion> {
public:
void registerEditCommand(WebView*, PassRefPtr<WebEditCommandProxy>, WebPageProxy::UndoOrRedo);
void clearAllEditCommands(WebView*);
_______________________________________________ webkit-changes mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes
