| Index: Tools/TestWebKitAPI/PlatformWebView.h
|
| diff --git a/Tools/TestWebKitAPI/PlatformWebView.h b/Tools/TestWebKitAPI/PlatformWebView.h
|
| index 3eb791a19ec573c76198224b05ea22321aa4a9d4..bf1950539f1f7f91fc4812d92a4c2967a113bd0e 100644
|
| --- a/Tools/TestWebKitAPI/PlatformWebView.h
|
| +++ b/Tools/TestWebKitAPI/PlatformWebView.h
|
| @@ -43,33 +43,10 @@ typedef NSWindow *PlatformWindow;
|
| #elif defined(WIN32) || defined(_WIN32)
|
| typedef WKViewRef PlatformWKView;
|
| typedef HWND PlatformWindow;
|
| -#elif PLATFORM(GTK)
|
| -typedef WKViewRef PlatformWKView;
|
| -typedef GtkWidget *PlatformWindow;
|
| -#elif PLATFORM(EFL)
|
| -typedef struct _Ecore_Evas Ecore_Evas;
|
| -#if USE(EO)
|
| -typedef struct _Eo Evas_Object;
|
| -#else
|
| -typedef struct _Evas_Object Evas_Object;
|
| -#endif
|
| -typedef Evas_Object* PlatformWKView;
|
| -typedef Ecore_Evas* PlatformWindow;
|
| -#elif PLATFORM(QT)
|
| -QT_BEGIN_NAMESPACE
|
| -class QQuickView;
|
| -QT_END_NAMESPACE
|
| -class QQuickWebView;
|
| -typedef QQuickWebView* PlatformWKView;
|
| -typedef QQuickView* PlatformWindow;
|
| #endif
|
|
|
| namespace TestWebKitAPI {
|
|
|
| -#if PLATFORM(WIN)
|
| -class WindowMessageObserver;
|
| -#endif
|
| -
|
| class PlatformWebView {
|
| public:
|
| PlatformWebView(WKContextRef, WKPageGroupRef = 0);
|
| @@ -85,23 +62,9 @@ public:
|
| void simulateRightClick(unsigned x, unsigned y);
|
| void simulateMouseMove(unsigned x, unsigned y);
|
|
|
| -#if PLATFORM(WIN)
|
| - void simulateAKeyDown();
|
| - void setParentWindowMessageObserver(WindowMessageObserver* observer) { m_parentWindowMessageObserver = observer; }
|
| -#endif
|
| -
|
| private:
|
| -#if PLATFORM(WIN)
|
| - static void registerWindowClass();
|
| - static LRESULT CALLBACK wndProc(HWND, UINT message, WPARAM, LPARAM);
|
| -#endif
|
| -
|
| PlatformWKView m_view;
|
| PlatformWindow m_window;
|
| -
|
| -#if PLATFORM(WIN)
|
| - WindowMessageObserver* m_parentWindowMessageObserver;
|
| -#endif
|
| };
|
|
|
| } // namespace TestWebKitAPI
|
|
|