#include <WebCore/ContentSecurityPolicy.h>
#endif
+#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
+#include <WebCore/VisibleSelection.h>
+#endif
+
namespace CoreIPC {
class ArgumentDecoder;
class Connection;
WebBackForwardList* backForwardList() const { return m_backForwardList.get(); }
+#if ENABLE(TIZEN_WEBKIT2_NOTIFY_SUSPEND_BY_REMOTE_WEB_INSPECTOR)
+ bool isContentSuspendedByInspector() { return m_contentSuspendedByInspector; }
+#endif
+
#if ENABLE(INSPECTOR)
WebInspectorProxy* inspector();
#endif
HWND nativeWindow() const;
#endif
+#if PLATFORM(EFL)
+ void handleInputMethodKeydown(bool& handled);
+ void confirmComposition(const String&);
+ void setComposition(const String&, Vector<WebCore::CompositionUnderline>&, int);
+ void cancelComposition();
+#endif
#if PLATFORM(GTK)
GtkWidget* viewWidget();
#endif
#endif
#if OS(TIZEN)
- void confirmComposition(const String&);
#if ENABLE(TIZEN_REDUCE_KEY_LAGGING)
static Eina_Bool pageContentResumeTimerFired(void* data);
#endif
- void setComposition(const String&, Vector<WebCore::CompositionUnderline>&, int);
- void handleInputMethodKeydown(bool&);
#if ENABLE(TIZEN_TEXT_CARET_HANDLING_WK2)
void setCaretPosition(const WebCore::IntPoint&);
void getCaretPosition(WebCore::IntRect&);
#endif
#if ENABLE(TIZEN_WEBKIT2_HIT_TEST)
+#if ENABLE(TOUCH_ADJUSTMENT)
+ WebHitTestResult::Data hitTestResultAtPoint(const WebCore::IntPoint&, int hitTestMode = WebHitTestResult::HitTestModeDefault, const WebCore::IntSize& area = WebCore::IntSize());
+#else
WebHitTestResult::Data hitTestResultAtPoint(const WebCore::IntPoint&, int hitTestMode = WebHitTestResult::HitTestModeDefault);
#endif
+#endif
#if ENABLE(TIZEN_CONTEXT_MENU_WEBKIT_2)
void hideContextMenu();
String contextMenuAbsoluteLinkURLString();
void clipboardContextMenuSelected();
void executePasteFromClipboardItem(const String& data, const String& type);
#endif
-#if ENABLE(TIZEN_WEBKIT2_REMOTE_WEB_INSPECTOR)
+#if ENABLE(TIZEN_REMOTE_WEB_INSPECTOR)
uint32_t startInspectorServer(uint32_t port);
bool stopInspectorServer();
#endif
#endif
void suspendPainting();
-#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
- void suspendPaintingOfInactiveView();
-#endif
void resumePainting();
void suspendJavaScriptAndResource();
void resumeJavaScriptAndResource();
+ void suspendAnimations();
+ void resumeAnimations();
+
#if ENABLE(TIZEN_PLUGIN_SUSPEND_RESUME)
void suspendPlugin();
void resumePlugin();
#endif
+#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
+ void purgeBackingStoresOfInactiveView();
+#endif
+
#endif // #if OS(TIZEN)
#if USE(TILED_BACKING_STORE)
#endif
void printMainFrame();
-
-#if ENABLE(TIZEN_RECORDING_SURFACE_SET)
-void recordingSurfaceSetEnableSet(bool enable);
-#endif
#if ENABLE(TIZEN_REGISTER_PROTOCOL_HANDLER)
void registerProtocolHandler(const String& scheme, const String& baseURL, const String& url, const String& title);
#endif
#endif
+#if ENABLE(TIZEN_ON_AUTHENTICATION_REQUESTED)
+ void replyReceiveAuthenticationChallengeInFrame(bool result);
+#endif
+
#if ENABLE(TIZEN_CERTIFICATE_HANDLING)
void replyPolicyForCertificateError(bool result);
#endif
#endif
#if ENABLE(TIZEN_ISF_PORT)
+ void prepareKeyDownEvent();
int getCursorOffset();
void getSurroundingTextAndCursorOffset(String&, int&);
WebCore::IntRect getSelectionRect(bool);
void deleteSurroundingText(int, int);
- void updateCursorOffset(int);
void didCancelComposition();
+ void removeInputMethodContext(uintptr_t);
#endif
void setBackgroundColor(double red, double green, double blue, double alpha);
void didRenderFrame();
#endif
-#if ENABLE(TIZEN_WEBKIT2_GET_TEXT_STYLE_FOR_SELECTION)
- void getTextStyleStateForSelection();
- void didGetTextStyleStateForSelection(int underlineState, int italicState, int boldState);
-#endif
-
#if PLATFORM(GTK) && USE(TEXTURE_MAPPER_GL)
void widgetMapped(uint64_t nativeWindowId);
#endif
#endif
#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
- bool selectClosestWord(const WebCore::IntPoint&, bool isStartedTextSelectionFromOutside);
- bool setLeftSelection(const WebCore::IntPoint&);
- bool setRightSelection(const WebCore::IntPoint&);
+ bool selectClosestWord(const WebCore::IntPoint&);
+ int setLeftSelection(const WebCore::IntPoint&, const int direction);
+ int setRightSelection(const WebCore::IntPoint&, const int direction);
bool getSelectionHandlers(WebCore::IntRect& leftRect, WebCore::IntRect& rightRect);
String getSelectionText();
bool selectionRangeClear();
+ bool scrollContentByCharacter(const WebCore::IntPoint&, WebCore::SelectionDirection direction);
+ bool scrollContentByLine(const WebCore::IntPoint&, WebCore::SelectionDirection direction);
#endif
#if ENABLE(TIZEN_LINK_MAGNIFIER)
#endif
#if ENABLE(TIZEN_SCREEN_READER)
- void raiseTapEvent(const WebCore::IntPoint&);
bool moveScreenReaderFocus(bool);
void moveScreenReaderFocusByPoint(const WebCore::IntPoint&);
+ void clearScreenReaderFocus();
+ bool raiseTapEvent(const WebCore::IntPoint&);
+ void adjustScreenReaderFocusedObjectValue(bool);
void recalcScreenReaderFocusRect();
void clearScreenReader();
void replyApplicationCachePermission(bool allow);
#endif
+#if ENABLE(TIZEN_INDEXED_DATABASE)
+ void replyExceededIndexedDatabaseQuota(bool allow);
+#endif
+
+#if ENABLE(TIZEN_SQL_DATABASE)
+ void replyExceededDatabaseQuota(bool allow);
+#endif
+
+#if ENABLE(TIZEN_FILE_SYSTEM)
+ void replyExceededLocalFileSystemQuota(bool allow);
+#endif
+
+#if ENABLE(TIZEN_USE_SETTINGS_FONT)
+ void useSettingsFont();
+#endif
+
private:
WebPageProxy(PageClient*, PassRefPtr<WebProcessProxy>, WebPageGroup*, uint64_t pageID);
void pageDidScroll();
void runOpenPanel(uint64_t frameID, const WebCore::FileChooserSettings&);
void printFrame(uint64_t frameID);
+#if ENABLE(TIZEN_SQL_DATABASE)
+ void exceededDatabaseQuota(uint64_t frameID, const String& originIdentifier, const String& displayName, uint64_t expectedUsage, PassRefPtr<Messages::WebPageProxy::ExceededDatabaseQuota::DelayedReply>);
+#else
void exceededDatabaseQuota(uint64_t frameID, const String& originIdentifier, const String& databaseName, const String& displayName, uint64_t currentQuota, uint64_t currentOriginUsage, uint64_t currentDatabaseUsage, uint64_t expectedUsage, uint64_t& newQuota);
+#endif
#if ENABLE(TIZEN_APPLICATION_CACHE)
void requestApplicationCachePermission(uint64_t frameID, const String& originIdentifier, PassRefPtr<Messages::WebPageProxy::RequestApplicationCachePermission::DelayedReply>);
#endif
#if ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
void textChangeInTextField(const String&, const String&);
#endif
-#if ENABLE(TIZEN_ISF_PORT)
- void setInputMethodState(bool, const String&, const String&);
-#else
- void setInputMethodState(bool active);
-#endif
#endif
void learnWord(const String& word);
void ignoreWord(const String& word);
void frameSetLargestFrameChanged(uint64_t frameID);
void canAuthenticateAgainstProtectionSpaceInFrame(uint64_t frameID, const WebCore::ProtectionSpace&, bool& canAuthenticate);
+#if ENABLE(TIZEN_ON_AUTHENTICATION_REQUESTED)
+ void didReceiveAuthenticationChallenge(uint64_t frameID, const WebCore::AuthenticationChallenge&, uint64_t challengeID, PassRefPtr<Messages::WebPageProxy::DidReceiveAuthenticationChallenge::DelayedReply>);
+#else
void didReceiveAuthenticationChallenge(uint64_t frameID, const WebCore::AuthenticationChallenge&, uint64_t challengeID);
+#endif
void didFinishLoadingDataForCustomRepresentation(const String& suggestedFilename, const CoreIPC::DataReference&);
#endif
#endif // PLATFORM(MAC)
+#if USE(SOUP)
+ void didReceiveURIRequest(String uriString, uint64_t requestID);
+#endif
+
void clearLoadDependentCallbacks();
void performDragControllerAction(DragControllerAction, WebCore::DragData*, const String& dragStorageName, const SandboxExtension::Handle&, const SandboxExtension::HandleArray&);
void didGetLinkMagnifierRect(const WebCore::IntPoint&, const WebCore::IntRect&);
#endif
+#if ENABLE(TIZEN_INDEXED_DATABASE)
+ void exceededIndexedDatabaseQuota(uint64_t frameID, const String& originIdentifier, int64_t currentUsage, PassRefPtr<Messages::WebPageProxy::ExceededIndexedDatabaseQuota::DelayedReply> reply);
+#endif
+
+#if ENABLE(TIZEN_FILE_SYSTEM)
+ void exceededLocalFileSystemQuota(uint64_t frameID, const String& originIdentifier, int64_t currentUsage, PassRefPtr<Messages::WebPageProxy::ExceededLocalFileSystemQuota::DelayedReply> reply);
+#endif
+
+#if ENABLE(TIZEN_WEBKIT2_NOTIFY_SUSPEND_BY_REMOTE_WEB_INSPECTOR)
+ void setContentSuspendedByInspector(bool);
+#endif
+
PageClient* m_pageClient;
WebLoaderClient m_loaderClient;
WebPolicyClient m_policyClient;
WebCore::DragSession m_currentDragSession;
#endif
+#if ENABLE(TIZEN_WEBKIT2_NOTIFY_SUSPEND_BY_REMOTE_WEB_INSPECTOR)
+ bool m_contentSuspendedByInspector;
+#endif
+
String m_pendingAPIRequestURL;
bool m_mainFrameHasHorizontalScrollbar;
#if ENABLE(TIZEN_APPLICATION_CACHE)
RefPtr<Messages::WebPageProxy::RequestApplicationCachePermission::DelayedReply> m_applicationCacheReply;
#endif
+#if ENABLE(TIZEN_SQL_DATABASE)
+ RefPtr<Messages::WebPageProxy::ExceededDatabaseQuota::DelayedReply> m_exceededDatabaseQuotaReply;
+#endif
+#endif
+
+#if ENABLE(TIZEN_ON_AUTHENTICATION_REQUESTED)
+ RefPtr<Messages::WebPageProxy::DidReceiveAuthenticationChallenge::DelayedReply> m_AuthReply;
#endif
#if ENABLE(TIZEN_CERTIFICATE_HANDLING)
#if ENABLE(TIZEN_ISF_PORT)
bool m_didCancelCompositionFromWebProcess;
#endif
+
+#if ENABLE(TIZEN_INDEXED_DATABASE)
+ RefPtr<Messages::WebPageProxy::ExceededIndexedDatabaseQuota::DelayedReply> m_exceededIndexedDatabaseQuotaReply;
+#endif
+
+#if ENABLE(TIZEN_FILE_SYSTEM)
+ RefPtr<Messages::WebPageProxy::ExceededLocalFileSystemQuota::DelayedReply> m_exceededLocalFileSystemQuotaReply;
+#endif
};
} // namespace WebKit