Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / web / WebFrameClient.h
index 006ffba..33a436d 100644 (file)
@@ -41,6 +41,7 @@
 #include "public/platform/WebCommon.h"
 #include "public/platform/WebFileSystem.h"
 #include "public/platform/WebFileSystemType.h"
+#include "public/platform/WebStorageQuotaCallbacks.h"
 #include "public/platform/WebStorageQuotaType.h"
 #include "public/platform/WebURLError.h"
 #include "public/platform/WebURLRequest.h"
@@ -56,6 +57,7 @@ class WebDataSource;
 class WebDOMEvent;
 class WebFormElement;
 class WebFrame;
+class WebInputEvent;
 class WebMediaPlayer;
 class WebMediaPlayerClient;
 class WebServiceWorkerProvider;
@@ -66,7 +68,6 @@ class WebRTCPeerConnectionHandler;
 class WebSharedWorker;
 class WebSharedWorkerClient;
 class WebSocketStreamHandle;
-class WebStorageQuotaCallbacks;
 class WebString;
 class WebURL;
 class WebURLLoader;
@@ -323,12 +324,10 @@ public:
     // is called with an error code otherwise.
     // Note that the requesting quota size may not always be granted and
     // a smaller amount of quota than requested might be returned.
-    // The callbacks object is deleted when the callback method is called
-    // and does not need to be (and should not be) deleted manually.
     virtual void requestStorageQuota(
         WebFrame*, WebStorageQuotaType,
         unsigned long long newQuotaInBytes,
-        WebStorageQuotaCallbacks*) { }
+        WebStorageQuotaCallbacks) { }
 
     // WebSocket -----------------------------------------------------
 
@@ -373,6 +372,13 @@ public:
     // Extensions3D.h in WebCore/platform/graphics).
     virtual void didLoseWebGLContext(WebFrame*, int) { }
 
+    // FIXME: Remove this method once we have input routing in the browser
+    // process. See http://crbug.com/339659.
+    virtual void forwardInputEvent(const WebInputEvent*) { }
+
+    // Send initial drawing parameters to a child frame that is being rendered out of process.
+    virtual void initializeChildFrame(const WebRect& frameRect, float scaleFactor) { }
+
 protected:
     ~WebFrameClient() { }
 };