2 * Copyright (C) 2010, 2011 Apple Inc. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
14 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
17 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
18 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
19 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
20 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
23 * THE POSSIBILITY OF SUCH DAMAGE.
26 #ifndef WebPageProxy_h
27 #define WebPageProxy_h
29 #include "APIObject.h"
30 #include "Connection.h"
31 #include "DragControllerAction.h"
32 #include "DrawingAreaProxy.h"
33 #include "EditorState.h"
34 #include "GeolocationPermissionRequestManagerProxy.h"
35 #if ENABLE(TOUCH_EVENTS)
36 #include "NativeWebTouchEvent.h"
38 #if ENABLE(TIZEN_WEBKIT2_ROTATION_WHILE_JAVASCRIPT_POPUP)
39 #include "NativeWebKeyboardEvent.h"
42 #include "QtNetworkRequestData.h"
44 #include "LayerTreeContext.h"
45 #include "NotificationPermissionRequestManagerProxy.h"
46 #include "PlatformProcessIdentifier.h"
47 #include "SandboxExtension.h"
48 #include "ShareableBitmap.h"
50 #include "WKPagePrivate.h"
51 #include "WebColorChooserProxy.h"
52 #include "WebContextMenuItemData.h"
53 #include "WebCoreArgumentCoders.h"
54 #include "WebFindClient.h"
55 #include "WebFormClient.h"
56 #include "WebFrameProxy.h"
57 #include "WebFullScreenManagerProxy.h"
58 #include "WebHistoryClient.h"
59 #include "WebHitTestResult.h"
60 #include "WebLoaderClient.h"
61 #include "WebPageContextMenuClient.h"
62 #include "WebPolicyClient.h"
63 #include "WebPopupMenuProxy.h"
64 #include "WebResourceLoadClient.h"
65 #include "WebUIClient.h"
66 #include <WebCore/AlternativeTextClient.h>
67 #include <WebCore/Color.h>
68 #include <WebCore/DragActions.h>
69 #include <WebCore/DragSession.h>
70 #include <WebCore/HitTestResult.h>
71 #include <WebCore/Page.h>
72 #include <WebCore/PlatformScreen.h>
73 #include <WebCore/ScrollTypes.h>
74 #include <WebCore/TextChecking.h>
75 #include <wtf/HashMap.h>
76 #include <wtf/HashSet.h>
77 #include <wtf/OwnPtr.h>
78 #include <wtf/PassOwnPtr.h>
79 #include <wtf/PassRefPtr.h>
80 #include <wtf/RefPtr.h>
81 #include <wtf/Vector.h>
82 #include <wtf/text/WTFString.h>
84 #if ENABLE(DRAG_SUPPORT)
85 #include <WebCore/DragActions.h>
86 #include <WebCore/DragSession.h>
91 #include <Ecore_IMF_Evas.h>
95 #include "WebPageProxyMessages.h"
96 #include "WebTizenClient.h"
97 #include <WebCore/Color.h>
100 #if ENABLE(TIZEN_MEDIA_STREAM)
101 #include "UserMediaPermissionRequestManagerProxy.h"
104 #if ENABLE(TIZEN_OFFLINE_PAGE_SAVE)
105 #include "WebSubresourceTizen.h"
108 #if ENABLE(TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION)
109 #include "WebLayerTreeInfo.h"
112 #if ENABLE(TIZEN_CSP)
113 #include <WebCore/ContentSecurityPolicy.h>
116 #if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
117 #include <WebCore/VisibleSelection.h>
121 class ArgumentDecoder;
127 class AuthenticationChallenge;
132 class ProtectionSpace;
133 struct FileChooserSettings;
134 struct TextAlternativeWithRange;
135 struct TextCheckingResult;
136 struct ViewportAttributes;
137 struct WindowFeatures;
141 class QQuickNetworkReply;
152 #if ENABLE(WEB_INTENTS)
158 #if !ENABLE(TIZEN_WEBKIT2_ROTATION_WHILE_JAVASCRIPT_POPUP)
159 class NativeWebKeyboardEvent;
161 class NativeWebMouseEvent;
162 class NativeWebWheelEvent;
164 class PlatformCertificateInfo;
165 class StringPairVector;
166 class WebBackForwardList;
167 class WebBackForwardListItem;
168 #if ENABLE(TIZEN_INPUT_COLOR_PICKER) // wait for upstream
169 class WebColorPickerResultListenerProxy;
171 class WebContextMenuProxy;
173 class WebEditCommandProxy;
174 class WebKeyboardEvent;
176 class WebOpenPanelResultListenerProxy;
178 class WebProcessProxy;
179 #if ENABLE(TIZEN_OFFLINE_PAGE_SAVE)
180 class WebSubresourceTizen;
184 struct AttributedString;
185 struct ColorSpaceData;
186 struct DictionaryPopupInfo;
188 struct PlatformPopupMenuData;
190 struct WebPageCreationParameters;
194 struct WindowGeometry;
197 #if ENABLE(GESTURE_EVENTS)
198 class WebGestureEvent;
201 #if ENABLE(WEB_INTENTS)
205 #if ENABLE(WEB_INTENTS_TAG)
206 struct IntentServiceInfo;
209 typedef GenericCallback<WKStringRef, StringImpl*> StringCallback;
210 typedef GenericCallback<WKSerializedScriptValueRef, WebSerializedScriptValue*> ScriptValueCallback;
211 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
212 typedef GenericCallback<WKBooleanRef> BooleanCallback;
213 typedef GenericCallback<WKDictionaryRef> DictionaryCallback;
215 #if ENABLE(TIZEN_WEB_STORAGE)
216 #if ENABLE(TIZEN_WEBKIT2_NUMBER_TYPE_SUPPORT)
217 typedef GenericCallback<WKUInt32Ref> WebStorageQuotaCallback;
222 typedef GenericCallback<WKErrorRef> PrintFinishedCallback;
225 #if ENABLE(TIZEN_WEBKIT2_ROTATION_WHILE_JAVASCRIPT_POPUP)
227 struct QueuedUIEvents {
228 QueuedUIEvents(const T& event)
229 : forwardedEvent(event)
233 Vector<T> deferredEvents;
236 #if ENABLE(TOUCH_EVENTS)
237 struct QueuedTouchEvents {
238 QueuedTouchEvents(const NativeWebTouchEvent& event)
239 : forwardedEvent(event)
242 NativeWebTouchEvent forwardedEvent;
243 Vector<NativeWebTouchEvent> deferredTouchEvents;
248 // FIXME: Make a version of CallbackBase with three arguments, and define ValidateCommandCallback as a specialization.
249 class ValidateCommandCallback : public CallbackBase {
251 typedef void (*CallbackFunction)(WKStringRef, bool, int32_t, WKErrorRef, void*);
253 static PassRefPtr<ValidateCommandCallback> create(void* context, CallbackFunction callback)
255 return adoptRef(new ValidateCommandCallback(context, callback));
258 virtual ~ValidateCommandCallback()
263 void performCallbackWithReturnValue(StringImpl* returnValue1, bool returnValue2, int returnValue3)
267 m_callback(toAPI(returnValue1), returnValue2, returnValue3, 0, context());
276 RefPtr<WebError> error = WebError::create();
277 m_callback(0, 0, 0, toAPI(error.get()), context());
284 ValidateCommandCallback(void* context, CallbackFunction callback)
285 : CallbackBase(context)
286 , m_callback(callback)
290 CallbackFunction m_callback;
295 #if ENABLE(INPUT_TYPE_COLOR)
296 , public WebColorChooserProxy::Client
298 , public WebPopupMenuProxy::Client {
300 static const Type APIType = TypePage;
302 static PassRefPtr<WebPageProxy> create(PageClient*, PassRefPtr<WebProcessProxy>, WebPageGroup*, uint64_t pageID);
303 virtual ~WebPageProxy();
305 uint64_t pageID() const { return m_pageID; }
307 WebFrameProxy* mainFrame() const { return m_mainFrame.get(); }
308 WebFrameProxy* focusedFrame() const { return m_focusedFrame.get(); }
309 WebFrameProxy* frameSetLargestFrame() const { return m_frameSetLargestFrame.get(); }
311 DrawingAreaProxy* drawingArea() const { return m_drawingArea.get(); }
313 WebBackForwardList* backForwardList() const { return m_backForwardList.get(); }
315 #if ENABLE(INSPECTOR)
316 WebInspectorProxy* inspector();
319 #if ENABLE(FULLSCREEN_API)
320 WebFullScreenManagerProxy* fullScreenManager();
323 #if ENABLE(CONTEXT_MENUS)
324 void initializeContextMenuClient(const WKPageContextMenuClient*);
326 void initializeFindClient(const WKPageFindClient*);
327 void initializeFindMatchesClient(const WKPageFindMatchesClient*);
328 void initializeFormClient(const WKPageFormClient*);
329 void initializeLoaderClient(const WKPageLoaderClient*);
330 void initializePolicyClient(const WKPagePolicyClient*);
331 void initializeResourceLoadClient(const WKPageResourceLoadClient*);
332 void initializeUIClient(const WKPageUIClient*);
334 void initializeTizenClient(const WKPageTizenClient*);
337 void initializeWebPage();
341 bool isClosed() const { return m_isClosed; }
343 void loadURL(const String&);
344 void loadURLRequest(WebURLRequest*);
345 void loadHTMLString(const String& htmlString, const String& baseURL);
346 void loadAlternateHTMLString(const String& htmlString, const String& baseURL, const String& unreachableURL);
347 void loadPlainTextString(const String& string);
348 void loadWebArchiveData(const WebData*);
350 void loadContentsbyMimeType(const WebData*, const String& mimeType, const String& encoding, const String& baseURL);
354 void reload(bool reloadFromOrigin);
357 bool canGoForward() const;
359 bool canGoBack() const;
361 void goToBackForwardItem(WebBackForwardListItem*);
362 void tryRestoreScrollPosition();
363 void didChangeBackForwardList(WebBackForwardListItem* addedItem, Vector<RefPtr<APIObject> >* removedItems);
364 void shouldGoToBackForwardListItem(uint64_t itemID, bool& shouldGoToBackForwardListItem);
365 void willGoToBackForwardListItem(uint64_t itemID, CoreIPC::ArgumentDecoder* arguments);
367 String activeURL() const;
368 String provisionalURL() const;
369 String committedURL() const;
371 bool willHandleHorizontalScrollEvents() const;
373 bool canShowMIMEType(const String& mimeType) const;
375 bool drawsBackground() const { return m_drawsBackground; }
376 void setDrawsBackground(bool);
378 bool drawsTransparentBackground() const { return m_drawsTransparentBackground; }
379 void setDrawsTransparentBackground(bool);
381 void viewWillStartLiveResize();
382 void viewWillEndLiveResize();
384 void setInitialFocus(bool forward, bool isKeyboardEventValid, const WebKeyboardEvent&);
385 void setWindowResizerSize(const WebCore::IntSize&);
387 void clearSelection();
389 void setViewNeedsDisplay(const WebCore::IntRect&);
391 void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
394 ViewWindowIsActive = 1 << 0,
395 ViewIsFocused = 1 << 1,
396 ViewIsVisible = 1 << 2,
397 ViewIsInWindow = 1 << 3,
399 typedef unsigned ViewStateFlags;
400 void viewStateDidChange(ViewStateFlags flags);
402 WebCore::IntSize viewSize() const;
403 bool isViewVisible() const { return m_isVisible; }
404 bool isViewWindowActive() const;
406 void executeEditCommand(const String& commandName);
408 void executeEditCommandWithArgument(const String& commandName, const String& argument);
410 void validateCommand(const String& commandName, PassRefPtr<ValidateCommandCallback>);
412 const EditorState& editorState() const { return m_editorState; }
413 bool canDelete() const { return hasSelectedRange() && isContentEditable(); }
414 bool hasSelectedRange() const { return m_editorState.selectionIsRange; }
415 bool isContentEditable() const { return m_editorState.isContentEditable; }
417 bool maintainsInactiveSelection() const { return m_maintainsInactiveSelection; }
418 void setMaintainsInactiveSelection(bool);
420 void registerApplicationScheme(const String& scheme);
421 void resolveApplicationSchemeRequest(QtNetworkRequestData);
422 void sendApplicationSchemeReply(const QQuickNetworkReply*);
423 void authenticationRequiredRequest(const String& hostname, const String& realm, const String& prefilledUsername, String& username, String& password);
424 void certificateVerificationRequest(const String& hostname, bool& ignoreErrors);
425 void proxyAuthenticationRequiredRequest(const String& hostname, uint16_t port, const String& prefilledUsername, String& username, String& password);
426 void setUserScripts(const Vector<String>&);
427 #endif // PLATFORM(QT).
429 void setThemePath(const String&);
433 void setComposition(const String& text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd);
434 void confirmComposition(const String& compositionString, int64_t selectionStart, int64_t selectionLength);
435 void cancelComposition();
438 void updateWindowIsVisible(bool windowIsVisible);
439 void windowAndViewFramesChanged(const WebCore::IntRect& windowFrameInScreenCoordinates, const WebCore::IntRect& viewFrameInWindowCoordinates, const WebCore::IntPoint& accessibilityViewCoordinates);
441 void setComposition(const String& text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd);
442 void confirmComposition();
443 void cancelComposition();
444 bool insertText(const String& text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd);
445 bool insertDictatedText(const String& text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd, const Vector<WebCore::TextAlternativeWithRange>& dictationAlternatives);
446 void getMarkedRange(uint64_t& location, uint64_t& length);
447 void getSelectedRange(uint64_t& location, uint64_t& length);
448 void getAttributedSubstringFromRange(uint64_t location, uint64_t length, AttributedString&);
449 uint64_t characterIndexForPoint(const WebCore::IntPoint);
450 WebCore::IntRect firstRectForCharacterRange(uint64_t, uint64_t);
451 bool executeKeypressCommands(const Vector<WebCore::KeypressCommand>&);
453 void sendComplexTextInputToPlugin(uint64_t pluginComplexTextInputIdentifier, const String& textInput);
454 CGContextRef containingWindowGraphicsContext();
455 bool shouldDelayWindowOrderingForEvent(const WebMouseEvent&);
456 bool acceptsFirstMouse(int eventNumber, const WebMouseEvent&);
459 WKView* wkView() const;
463 void didChangeCompositionSelection(bool);
464 void confirmComposition(const String&);
465 void setComposition(const String&, Vector<WebCore::CompositionUnderline>&, int);
466 WebCore::IntRect firstRectForCharacterInSelectedRange(int);
467 String getSelectedText();
469 bool gestureWillBegin(const WebCore::IntPoint&);
470 void gestureDidScroll(const WebCore::IntSize&);
471 void gestureDidEnd();
473 void setGestureReachedScrollingLimit(bool);
475 HWND nativeWindow() const;
478 void handleInputMethodKeydown(bool& handled);
479 void confirmComposition(const String&);
480 void setComposition(const String&, Vector<WebCore::CompositionUnderline>&, int);
481 void cancelComposition();
484 GtkWidget* viewWidget();
487 Evas_Object* viewWidget();
491 #if ENABLE(TIZEN_REDUCE_KEY_LAGGING)
492 static Eina_Bool pageContentResumeTimerFired(void* data);
494 #if ENABLE(TIZEN_TEXT_CARET_HANDLING_WK2)
495 void setCaretPosition(const WebCore::IntPoint&);
496 void getCaretPosition(WebCore::IntRect&);
498 bool scrollMainFrameBy(const WebCore::IntSize&);
499 void scrollMainFrameTo(const WebCore::IntPoint&);
500 WebCore::IntPoint& scrollPosition() { return m_scrollPosition; }
501 WebCore::IntSize& contentsSize() { return m_contentsSize; }
502 PassRefPtr<WebImage> createSnapshot(const WebCore::IntRect&, float);
504 void requestUpdateFormNavigation();
506 void updateFormNavigation(int length, int offset);
507 void focusedNodeChanged(const WebCore::IntRect&);
509 #if ENABLE(TIZEN_WEB_STORAGE)
510 #if ENABLE(TIZEN_WEBKIT2_NUMBER_TYPE_SUPPORT)
511 void getWebStorageQuotaBytes(PassRefPtr<WebStorageQuotaCallback>);
512 void didGetWebStorageQuotaBytes(const uint32_t quota, uint64_t callbackID);
514 void setWebStorageQuotaBytes(uint32_t quota);
517 #if ENABLE(TIZEN_WEBKIT2_HIT_TEST)
518 WebHitTestResult::Data hitTestResultAtPoint(const WebCore::IntPoint&, int hitTestMode = WebHitTestResult::HitTestModeDefault);
520 #if ENABLE(TIZEN_CONTEXT_MENU_WEBKIT_2)
521 void hideContextMenu();
522 String contextMenuAbsoluteLinkURLString();
523 String contextMenuAbsoluteImageURLString();
525 #if ENABLE(TIZEN_CLIPBOARD) || ENABLE(TIZEN_PASTEBOARD)
526 void setClipboardData(const String& data, const String& type);
527 void clearClipboardData();
529 #if ENABLE(TIZEN_WEBKIT2_CLIPBOARD_HELPER)
530 void didSelectPasteMenuFromContextMenu(const String& data, const String& type);
531 void pasteContextMenuSelected();
533 #if ENABLE(TIZEN_WEBKIT2_CONTEXT_MENU_CLIPBOARD)
534 void clipboardContextMenuSelected();
535 void executePasteFromClipboardItem(const String& data, const String& type);
537 #if ENABLE(TIZEN_WEBKIT2_REMOTE_WEB_INSPECTOR)
538 uint32_t startInspectorServer(uint32_t port);
539 bool stopInspectorServer();
541 #if ENABLE(TIZEN_MOBILE_WEB_PRINT)
542 void createPagesToPDF(const WebCore::IntSize&, const WebCore::IntSize&, const String&);
545 void scale(double, const WebCore::IntPoint&);
546 void scaleImage(double, const WebCore::IntPoint&);
547 double scaleFactor();
549 #if ENABLE(TIZEN_ORIENTATION_EVENTS)
550 void sendOrientationChangeEvent(int orientation);
553 void suspendPainting();
554 #if ENABLE(TIZEN_WEBKIT2_TILED_AC)
555 void suspendPaintingOfInactiveView();
557 void resumePainting();
559 void suspendJavaScriptAndResource();
560 void resumeJavaScriptAndResource();
562 #if ENABLE(TIZEN_PLUGIN_SUSPEND_RESUME)
563 void suspendPlugin();
567 #endif // #if OS(TIZEN)
569 #if USE(TILED_BACKING_STORE)
570 void setViewportSize(const WebCore::IntSize&);
573 void handleMouseEvent(const NativeWebMouseEvent&);
574 void handleWheelEvent(const NativeWebWheelEvent&);
575 void handleKeyboardEvent(const NativeWebKeyboardEvent&);
576 #if ENABLE(GESTURE_EVENTS)
577 void handleGestureEvent(const WebGestureEvent&);
579 #if ENABLE(TOUCH_EVENTS)
580 void handleTouchEvent(const NativeWebTouchEvent&);
582 void handlePotentialActivation(const WebCore::IntPoint& touchPoint, const WebCore::IntSize& touchArea);
586 void scrollBy(WebCore::ScrollDirection, WebCore::ScrollGranularity);
587 void centerSelectionInVisibleArea();
589 String pageTitle() const;
590 const String& toolTip() const { return m_toolTip; }
592 void setUserAgent(const String&);
593 const String& userAgent() const { return m_userAgent; }
594 void setApplicationNameForUserAgent(const String&);
595 const String& applicationNameForUserAgent() const { return m_applicationNameForUserAgent; }
596 void setCustomUserAgent(const String&);
597 const String& customUserAgent() const { return m_customUserAgent; }
598 static String standardUserAgent(const String& applicationName = String());
599 #if ENABLE(TIZEN_CUSTOM_HEADERS)
600 void addCustomHeader(const String&, const String&);
601 void removeCustomHeader(const String&);
602 void clearCustomHeaders();
605 bool supportsTextEncoding() const;
606 void setCustomTextEncodingName(const String&);
607 String customTextEncodingName() const { return m_customTextEncodingName; }
609 void resumeActiveDOMObjectsAndAnimations();
610 void suspendActiveDOMObjectsAndAnimations();
612 double estimatedProgress() const;
614 void terminateProcess();
616 typedef bool (*WebPageProxySessionStateFilterCallback)(WKPageRef, WKStringRef type, WKTypeRef object, void* context);
617 PassRefPtr<WebData> sessionStateData(WebPageProxySessionStateFilterCallback, void* context) const;
618 void restoreFromSessionStateData(WebData*);
620 bool supportsTextZoom() const;
621 double textZoomFactor() const { return m_mainFrameHasCustomRepresentation ? 1 : m_textZoomFactor; }
622 void setTextZoomFactor(double);
623 double pageZoomFactor() const;
624 void setPageZoomFactor(double);
625 void setPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor);
627 void scalePage(double scale, const WebCore::IntPoint& origin);
628 double pageScaleFactor() const { return m_pageScaleFactor; }
630 float deviceScaleFactor() const;
631 void setIntrinsicDeviceScaleFactor(float);
632 void setCustomDeviceScaleFactor(float);
633 void windowScreenDidChange(PlatformDisplayID);
635 LayerHostingMode layerHostingMode() const { return m_layerHostingMode; }
637 void setUseFixedLayout(bool);
638 void setFixedLayoutSize(const WebCore::IntSize&);
639 bool useFixedLayout() const { return m_useFixedLayout; };
640 const WebCore::IntSize& fixedLayoutSize() const { return m_fixedLayoutSize; };
642 bool hasHorizontalScrollbar() const { return m_mainFrameHasHorizontalScrollbar; }
643 bool hasVerticalScrollbar() const { return m_mainFrameHasVerticalScrollbar; }
645 bool isPinnedToLeftSide() const { return m_mainFrameIsPinnedToLeftSide; }
646 bool isPinnedToRightSide() const { return m_mainFrameIsPinnedToRightSide; }
648 void setPaginationMode(WebCore::Page::Pagination::Mode);
649 WebCore::Page::Pagination::Mode paginationMode() const { return m_paginationMode; }
650 void setPaginationBehavesLikeColumns(bool);
651 bool paginationBehavesLikeColumns() const { return m_paginationBehavesLikeColumns; }
652 void setPageLength(double);
653 double pageLength() const { return m_pageLength; }
654 void setGapBetweenPages(double);
655 double gapBetweenPages() const { return m_gapBetweenPages; }
656 unsigned pageCount() const { return m_pageCount; }
659 // Called by the web process through a message.
660 void registerWebProcessAccessibilityToken(const CoreIPC::DataReference&);
661 // Called by the UI process when it is ready to send its tokens to the web process.
662 void registerUIProcessAccessibilityTokens(const CoreIPC::DataReference& elemenToken, const CoreIPC::DataReference& windowToken);
663 bool readSelectionFromPasteboard(const String& pasteboardName);
664 String stringSelectionForPasteboard();
665 PassRefPtr<WebCore::SharedBuffer> dataSelectionForPasteboard(const String& pasteboardType);
666 void makeFirstResponder();
668 ColorSpaceData colorSpace();
671 void pageScaleFactorDidChange(double);
673 void setMemoryCacheClientCallsEnabled(bool);
676 void findString(const String&, FindOptions, unsigned maxMatchCount);
677 void findStringMatches(const String&, FindOptions, unsigned maxMatchCount);
678 void getImageForFindMatch(int32_t matchIndex);
679 void selectFindMatch(int32_t matchIndex);
680 void didGetImageForFindMatch(const ShareableBitmap::Handle& contentImageHandle, uint32_t matchIndex);
682 void countStringMatches(const String&, FindOptions, unsigned maxMatchCount);
683 void didCountStringMatches(const String&, uint32_t matchCount);
684 void setFindIndicator(const WebCore::FloatRect& selectionRectInWindowCoordinates, const Vector<WebCore::FloatRect>& textRectsInSelectionRectCoordinates, float contentImageScaleFactor, const ShareableBitmap::Handle& contentImageHandle, bool fadeOut, bool animate);
685 void didFindString(const String&, uint32_t matchCount);
686 void didFailToFindString(const String&);
687 void didFindStringMatches(const String&, Vector<Vector<WebCore::IntRect> > matchRects, int32_t firstIndexAfterSelection);
689 void didInstallOrUninstallPageOverlay(bool);
692 void getContentsAsString(PassRefPtr<StringCallback>);
694 void getContentsAsMHTMLData(PassRefPtr<DataCallback>, bool useBinaryEncoding);
696 void getMainResourceDataOfFrame(WebFrameProxy*, PassRefPtr<DataCallback>);
697 void getResourceDataFromFrame(WebFrameProxy*, WebURL*, PassRefPtr<DataCallback>);
698 void getRenderTreeExternalRepresentation(PassRefPtr<StringCallback>);
699 void getSelectionOrContentsAsString(PassRefPtr<StringCallback>);
700 void getSourceForFrame(WebFrameProxy*, PassRefPtr<StringCallback>);
701 void getWebArchiveOfFrame(WebFrameProxy*, PassRefPtr<DataCallback>);
702 void runJavaScriptInMainFrame(const String&, PassRefPtr<ScriptValueCallback>);
703 void forceRepaint(PassRefPtr<VoidCallback>);
705 #if ENABLE(WEB_INTENTS)
706 void deliverIntentToFrame(WebFrameProxy*, WebIntentData*);
709 float headerHeight(WebFrameProxy*);
710 float footerHeight(WebFrameProxy*);
711 void drawHeader(WebFrameProxy*, const WebCore::FloatRect&);
712 void drawFooter(WebFrameProxy*, const WebCore::FloatRect&);
714 #if ENABLE(SCREEN_ORIENTATION_SUPPORT) && ENABLE(TIZEN_SCREEN_ORIENTATION_SUPPORT)
715 void lockOrientation(int orientation, bool& result);
716 void unlockOrientation();
721 void performDictionaryLookupAtLocation(const WebCore::FloatPoint&);
724 void receivedPolicyDecision(WebCore::PolicyAction, WebFrameProxy*, uint64_t listenerID);
726 void backForwardRemovedItem(uint64_t itemID);
728 #if ENABLE(DRAG_SUPPORT)
729 // Drag and drop support.
730 void dragEntered(WebCore::DragData*, const String& dragStorageName = String());
731 void dragUpdated(WebCore::DragData*, const String& dragStorageName = String());
732 void dragExited(WebCore::DragData*, const String& dragStorageName = String());
733 #if ENABLE(TIZEN_DRAG_SUPPORT)
734 void performDrag(WebCore::DragData*, const String& dragStorageName = String());
736 void performDrag(WebCore::DragData*, const String& dragStorageName, const SandboxExtension::Handle&, const SandboxExtension::HandleArray&);
739 void didPerformDragControllerAction(WebCore::DragSession);
740 void dragEnded(const WebCore::IntPoint& clientPosition, const WebCore::IntPoint& globalPosition, uint64_t operation);
742 void setDragImage(const WebCore::IntPoint& clientPosition, const ShareableBitmap::Handle& dragImageHandle, bool isLinkDrag);
743 void setPromisedData(const String& pasteboardName, const SharedMemory::Handle& imageHandle, uint64_t imageSize, const String& filename, const String& extension,
744 const String& title, const String& url, const String& visibleURL, const SharedMemory::Handle& archiveHandle, uint64_t archiveSize);
747 void startDragDrop(const WebCore::IntPoint& imagePoint, const WebCore::IntPoint& dragPoint, uint64_t okEffect, const HashMap<UINT, Vector<String> >& dataMap, uint64_t fileSize, const String& pathname, const SharedMemory::Handle& fileContentHandle, const WebCore::IntSize& dragImageSize, const SharedMemory::Handle& dragImageHandle, bool isLinkDrag);
749 #if PLATFORM(QT) || PLATFORM(GTK) || ENABLE(TIZEN_DRAG_SUPPORT)
750 void startDrag(const WebCore::DragData&, const ShareableBitmap::Handle& dragImage);
754 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*);
755 void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, OwnPtr<CoreIPC::ArgumentEncoder>&);
757 void processDidBecomeUnresponsive();
758 void interactionOccurredWhileProcessUnresponsive();
759 void processDidBecomeResponsive();
760 void processDidCrash();
762 #if USE(ACCELERATED_COMPOSITING)
763 virtual void enterAcceleratedCompositingMode(const LayerTreeContext&);
764 virtual void exitAcceleratedCompositingMode();
765 virtual void updateAcceleratedCompositingMode(const LayerTreeContext&);
770 enum UndoOrRedo { Undo, Redo };
771 void addEditCommand(WebEditCommandProxy*);
772 void removeEditCommand(WebEditCommandProxy*);
773 bool isValidEditCommand(WebEditCommandProxy*);
774 void registerEditCommand(PassRefPtr<WebEditCommandProxy>, UndoOrRedo);
777 void registerKeypressCommandName(const String& name) { m_knownKeypressCommandNames.add(name); }
778 bool isValidKeypressCommandName(const String& name) const { return m_knownKeypressCommandNames.contains(name); }
781 WebProcessProxy* process() const;
782 PlatformProcessIdentifier processIdentifier() const;
784 WebPageGroup* pageGroup() const { return m_pageGroup.get(); }
788 const String& urlAtProcessExit() const { return m_urlAtProcessExit; }
789 WebFrameProxy::LoadState loadStateAtProcessExit() const { return m_loadStateAtProcessExit; }
791 #if ENABLE(DRAG_SUPPORT)
792 WebCore::DragSession dragSession() const { return m_currentDragSession; }
793 void resetDragOperation() { m_currentDragSession = WebCore::DragSession(); }
796 void preferencesDidChange();
798 #if ENABLE(CONTEXT_MENUS)
799 // Called by the WebContextMenuProxy.
800 void contextMenuItemSelected(const WebContextMenuItemData&);
803 // Called by the WebOpenPanelResultListenerProxy.
804 void didChooseFilesForOpenPanel(const Vector<String>&);
805 void didCancelForOpenPanel();
807 WebPageCreationParameters creationParameters() const;
810 void findZoomableAreaForPoint(const WebCore::IntPoint&, const WebCore::IntSize&);
811 void didReceiveMessageFromNavigatorQtObject(const String&);
814 #if PLATFORM(QT) || PLATFORM(EFL)
815 void handleDownloadRequest(DownloadProxy*);
818 void findZoomableAreaForPoint(const WebCore::IntPoint&, const WebCore::IntSize&);
819 #endif // #if OS(TIZEN)
821 void advanceToNextMisspelling(bool startBeforeSelection) const;
822 void changeSpellingToWord(const String& word) const;
824 void uppercaseWord();
825 void lowercaseWord();
826 void capitalizeWord();
830 bool isSmartInsertDeleteEnabled() const { return m_isSmartInsertDeleteEnabled; }
831 void setSmartInsertDeleteEnabled(bool);
835 String accessibilityPlugID() const { return m_accessibilityPlugID; }
838 void setCanRunModal(bool);
841 void beginPrinting(WebFrameProxy*, const PrintInfo&);
843 void computePagesForPrinting(WebFrameProxy*, const PrintInfo&, PassRefPtr<ComputedPagesCallback>);
844 #if PLATFORM(MAC) || PLATFORM(WIN)
845 void drawRectToPDF(WebFrameProxy*, const PrintInfo&, const WebCore::IntRect&, PassRefPtr<DataCallback>);
846 void drawPagesToPDF(WebFrameProxy*, const PrintInfo&, uint32_t first, uint32_t count, PassRefPtr<DataCallback>);
848 void drawPagesForPrinting(WebFrameProxy*, const PrintInfo&, PassRefPtr<PrintFinishedCallback>);
851 const String& pendingAPIRequestURL() const { return m_pendingAPIRequestURL; }
853 void flashBackingStoreUpdates(const Vector<WebCore::IntRect>& updateRects);
856 void handleAlternativeTextUIResult(const String& result);
859 static void setDebugPaintFlags(WKPageDebugPaintFlags flags) { s_debugPaintFlags = flags; }
860 static WKPageDebugPaintFlags debugPaintFlags() { return s_debugPaintFlags; }
862 // Color to be used with kWKDebugFlashViewUpdates.
863 static WebCore::Color viewUpdatesFlashColor();
865 // Color to be used with kWKDebugFlashBackingStoreUpdates.
866 static WebCore::Color backingStoreUpdatesFlashColor();
868 void saveDataToFileInDownloadsFolder(const String& suggestedFilename, const String& mimeType, const String& originatingURLString, WebData*);
870 void linkClicked(const String&, const WebMouseEvent&);
872 WebCore::IntRect visibleScrollerThumbRect() const { return m_visibleScrollerThumbRect; }
874 uint64_t renderTreeSize() const { return m_renderTreeSize; }
876 void setShouldSendEventsSynchronously(bool sync) { m_shouldSendEventsSynchronously = sync; };
877 #if ENABLE(TIZEN_INPUT_TAG_EXTENSION) || ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
878 void setFocusedInputElementValue(const String& inputValue);
879 String getFocusedInputElementValue();
882 #if ENABLE(TIZEN_DATALIST_ELEMENT)
883 Vector<String> getFocusedInputElementDataList();
886 void printMainFrame();
888 #if ENABLE(TIZEN_RECORDING_SURFACE_SET)
889 void recordingSurfaceSetEnableSet(bool enable);
892 #if ENABLE(TIZEN_REGISTER_PROTOCOL_HANDLER)
893 void registerProtocolHandler(const String& scheme, const String& baseURL, const String& url, const String& title);
895 #if ENABLE(TIZEN_CUSTOM_SCHEME_HANDLER)
896 void isProtocolHandlerRegistered(const String& scheme, const String& baseURL, const String& url, unsigned int& result);
897 void unregisterProtocolHandler(const String& scheme, const String& baseURL, const String& url);
899 #if ENABLE(TIZEN_REGISTER_CONTENT_HANDLER)
900 void registerContentHandler(const String& mimeType, const String& baseURL, const String& url, const String& title);
901 void isContentHandlerRegistered(const String& mimeType, const String& baseURL, const String& url, unsigned int& result);
902 void unregisterContentHandler(const String& mimeType, const String& baseURL, const String& url);
905 #if ENABLE(TIZEN_SEARCH_PROVIDER)
906 void addSearchProvider(const String& baseURL, const String& engineURL);
907 void isSearchProviderInstalled(const String& baseURL, const String& engineURL, uint64_t& result);
910 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
911 void getStandaloneStatus(bool& standalone);
912 void getWebAppCapable(PassRefPtr<BooleanCallback>);
913 void getWebAppIconURL(PassRefPtr<StringCallback>);
914 void getWebAppIconURLs(PassRefPtr<DictionaryCallback>);
917 void setMediaVolume(float);
920 void replyJavaScriptAlert();
921 void replyJavaScriptConfirm(bool result);
922 void replyJavaScriptPrompt(const String& result);
923 #if ENABLE(TIZEN_SUPPORT_BEFORE_UNLOAD_CONFIRM_PANEL)
924 void replyBeforeUnloadConfirmPanel(bool result);
928 #if ENABLE(TIZEN_CERTIFICATE_HANDLING)
929 void replyPolicyForCertificateError(bool result);
932 // WebPopupMenuProxy::Client
933 virtual NativeWebMouseEvent* currentlyProcessedMouseDownEvent();
935 #if ENABLE(TIZEN_PAGE_VISIBILITY_API)
936 void setPageVisibility(WebCore::PageVisibilityState, bool isInitialState);
939 #if ENABLE(TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION)
940 bool scrollOverflow(const WebCore::FloatPoint&);
941 bool setPressedNodeAtPoint(const WebCore::IntPoint&, bool checkOverflowLayer, WebLayerID&);
942 void setLoadingFinished(const bool isLoadingFinished) { m_isLoadingFinished = isLoadingFinished; }
943 bool isLoadingFinished() const { return m_isLoadingFinished; }
944 bool askOverflow() const { return m_askOverflow; }
945 void setOverflowResult(bool pressed, WebLayerID webLayerID);
948 #if ENABLE(TIZEN_ISF_PORT)
949 void setInputMethodState(bool active);
950 int getCursorOffset();
951 void getSurroundingTextAndCursorOffset(String&, int&);
952 WebCore::IntRect getSelectionRect(bool);
953 void deleteSurroundingText(int, int);
955 void didCancelComposition();
958 void setBackgroundColor(double red, double green, double blue, double alpha);
959 #if ENABLE(TIZEN_WEBKIT2_TILED_AC)
960 bool makeContextCurrent();
964 void didRenderFrame();
967 #if ENABLE(TIZEN_WEBKIT2_GET_TEXT_STYLE_FOR_SELECTION)
968 void getTextStyleStateForSelection();
969 void didGetTextStyleStateForSelection(int underlineState, int italicState, int boldState);
972 #if PLATFORM(GTK) && USE(TEXTURE_MAPPER_GL)
973 void widgetMapped(uint64_t nativeWindowId);
976 void setSuppressVisibilityUpdates(bool flag) { m_suppressVisibilityUpdates = flag; }
977 bool suppressVisibilityUpdates() { return m_suppressVisibilityUpdates; }
979 #if ENABLE(TIZEN_INPUT_COLOR_PICKER) // wait for upstream
980 #if ENABLE(INPUT_TYPE_COLOR)
981 void setColorChooserColor(const WebCore::Color&);
982 void endColorChooser();
986 #if ENABLE(TIZEN_MULTIPLE_SELECT)
987 void valueChangedForPopupMenuMultiple(WebPopupMenuProxy*, Vector<int32_t> newSelectedIndex);
990 #if ENABLE(TIZEN_NATIVE_MEMORY_SNAPSHOT)
991 void dumpMemorySnapshot();
994 #if ENABLE(TIZEN_OFFLINE_PAGE_SAVE)
995 void saveSerializedHTMLDataForMainPage(const String& serializedData, const String& fileName);
996 void saveSubresourcesData(Vector<WebSubresourceTizen> subresourceData);
997 void startOfflinePageSave(String subresourceFolderName);
1000 #if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
1001 bool selectClosestWord(const WebCore::IntPoint&, bool isStartedTextSelectionFromOutside);
1002 bool setLeftSelection(const WebCore::IntPoint&);
1003 bool setRightSelection(const WebCore::IntPoint&);
1004 bool getSelectionHandlers(WebCore::IntRect& leftRect, WebCore::IntRect& rightRect);
1005 String getSelectionText();
1006 bool selectionRangeClear();
1007 bool scrollContentByCharacter(const WebCore::IntPoint&, WebCore::SelectionDirection direction);
1010 #if ENABLE(TIZEN_LINK_MAGNIFIER)
1011 void getLinkMagnifierRect(const WebCore::IntPoint&, const WebCore::IntSize&);
1012 void openLink(const WebCore::IntPoint&);
1015 #if ENABLE(TIZEN_SCREEN_READER)
1016 void raiseTapEvent(const WebCore::IntPoint&);
1017 bool moveScreenReaderFocus(bool);
1018 void moveScreenReaderFocusByPoint(const WebCore::IntPoint&);
1019 void recalcScreenReaderFocusRect();
1020 void clearScreenReader();
1022 void didScreenReaderFocusRectChanged(const WebCore::IntRect&);
1023 void didScreenReaderTextChanged(const String&);
1026 #if ENABLE(TIZEN_CSP)
1027 void setContentSecurityPolicy(const String& policy, WebCore::ContentSecurityPolicy::HeaderType type);
1030 #if ENABLE(TIZEN_APPLICATION_CACHE)
1031 void replyApplicationCachePermission(bool allow);
1034 #if ENABLE(TIZEN_INDEXED_DATABASE)
1035 void replyExceededIndexedDatabaseQuota(bool allow);
1038 #if ENABLE(TIZEN_SQL_DATABASE)
1039 void replyExceededDatabaseQuota(bool allow);
1043 WebPageProxy(PageClient*, PassRefPtr<WebProcessProxy>, WebPageGroup*, uint64_t pageID);
1045 virtual Type type() const { return APIType; }
1047 // WebPopupMenuProxy::Client
1048 virtual void valueChangedForPopupMenu(WebPopupMenuProxy*, int32_t newSelectedIndex);
1049 virtual void setTextFromItemForPopupMenu(WebPopupMenuProxy*, int32_t index);
1051 virtual void failedToShowPopupMenu();
1054 virtual void changeSelectedIndex(int32_t newSelectedIndex);
1055 virtual void closePopupMenu();
1058 // Implemented in generated WebPageProxyMessageReceiver.cpp
1059 void didReceiveWebPageProxyMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*);
1060 void didReceiveSyncWebPageProxyMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, OwnPtr<CoreIPC::ArgumentEncoder>&);
1062 void didCreateMainFrame(uint64_t frameID);
1063 void didCreateSubframe(uint64_t frameID, uint64_t parentFrameID);
1064 void didSaveFrameToPageCache(uint64_t frameID);
1065 void didRestoreFrameFromPageCache(uint64_t frameID, uint64_t parentFrameID);
1067 void didStartProvisionalLoadForFrame(uint64_t frameID, const String& url, const String& unreachableURL, CoreIPC::ArgumentDecoder*);
1068 void didReceiveServerRedirectForProvisionalLoadForFrame(uint64_t frameID, const String&, CoreIPC::ArgumentDecoder*);
1069 void didFailProvisionalLoadForFrame(uint64_t frameID, const WebCore::ResourceError&, CoreIPC::ArgumentDecoder*);
1070 void didCommitLoadForFrame(uint64_t frameID, const String& mimeType, bool frameHasCustomRepresentation, const PlatformCertificateInfo&, CoreIPC::ArgumentDecoder*);
1071 void didFinishDocumentLoadForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1072 void didFinishLoadForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1073 void didFailLoadForFrame(uint64_t frameID, const WebCore::ResourceError&, CoreIPC::ArgumentDecoder*);
1074 void didSameDocumentNavigationForFrame(uint64_t frameID, uint32_t sameDocumentNavigationType, const String&, CoreIPC::ArgumentDecoder*);
1075 void didReceiveTitleForFrame(uint64_t frameID, const String&, CoreIPC::ArgumentDecoder*);
1076 void didFirstLayoutForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1077 void didFirstVisuallyNonEmptyLayoutForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1078 void didNewFirstVisuallyNonEmptyLayout(CoreIPC::ArgumentDecoder*);
1079 void didRemoveFrameFromHierarchy(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1080 void didDisplayInsecureContentForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1081 void didRunInsecureContentForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1082 void didDetectXSSForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1083 void frameDidBecomeFrameSet(uint64_t frameID, bool);
1084 void didStartProgress();
1085 void didChangeProgress(double);
1086 void didFinishProgress();
1088 #if ENABLE(TIZEN_PLUGIN_CUSTOM_REQUEST)
1089 void processPluginCustomRequest(const String& request, const String& msg);
1092 #if ENABLE(WEB_INTENTS)
1093 void didReceiveIntentForFrame(uint64_t frameID, const IntentData&, CoreIPC::ArgumentDecoder*);
1095 #if ENABLE(WEB_INTENTS_TAG)
1096 void registerIntentServiceForFrame(uint64_t frameID, const IntentServiceInfo&, CoreIPC::ArgumentDecoder*);
1099 #if ENABLE(TIZEN_DOWNLOAD_ATTRIBUTE)
1100 // Called by the web process through a message when the download need to be initiated from the web process.
1101 void startDownload(const WebCore::ResourceRequest&, const String& suggestedName = String());
1104 void decidePolicyForNavigationAction(uint64_t frameID, uint32_t navigationType, uint32_t modifiers, int32_t mouseButton, const WebCore::ResourceRequest&, uint64_t listenerID, CoreIPC::ArgumentDecoder*, bool& receivedPolicyAction, uint64_t& policyAction, uint64_t& downloadID);
1105 void decidePolicyForNewWindowAction(uint64_t frameID, uint32_t navigationType, uint32_t modifiers, int32_t mouseButton, const WebCore::ResourceRequest&, const String& frameName, uint64_t listenerID, CoreIPC::ArgumentDecoder*);
1106 void decidePolicyForResponse(uint64_t frameID, const WebCore::ResourceResponse&, const WebCore::ResourceRequest&, uint64_t listenerID, CoreIPC::ArgumentDecoder* arguments, bool& receivedPolicyAction, uint64_t& policyAction, uint64_t& downloadID);
1107 void unableToImplementPolicy(uint64_t frameID, const WebCore::ResourceError&, CoreIPC::ArgumentDecoder* arguments);
1109 #if ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
1110 void willSubmitForm(uint64_t frameID, uint64_t sourceFrameID, const StringPairVector& textFieldValues, bool containsPasswordData, uint64_t listenerID, CoreIPC::ArgumentDecoder*);
1112 void willSubmitForm(uint64_t frameID, uint64_t sourceFrameID, const StringPairVector& textFieldValues, uint64_t listenerID, CoreIPC::ArgumentDecoder*);
1115 // Resource load client
1116 void didInitiateLoadForResource(uint64_t frameID, uint64_t resourceIdentifier, const WebCore::ResourceRequest&, bool pageIsProvisionallyLoading);
1117 void didSendRequestForResource(uint64_t frameID, uint64_t resourceIdentifier, const WebCore::ResourceRequest&, const WebCore::ResourceResponse& redirectResponse);
1118 void didReceiveResponseForResource(uint64_t frameID, uint64_t resourceIdentifier, const WebCore::ResourceResponse&);
1119 void didReceiveContentLengthForResource(uint64_t frameID, uint64_t resourceIdentifier, uint64_t contentLength);
1120 void didFinishLoadForResource(uint64_t frameID, uint64_t resourceIdentifier);
1121 void didFailLoadForResource(uint64_t frameID, uint64_t resourceIdentifier, const WebCore::ResourceError&);
1124 void createNewPage(const WebCore::ResourceRequest&, const WebCore::WindowFeatures&, uint32_t modifiers, int32_t mouseButton, uint64_t& newPageID, WebPageCreationParameters&);
1126 void closePage(bool stopResponsivenessTimer);
1128 void runJavaScriptAlert(uint64_t frameID, const String&, PassRefPtr<Messages::WebPageProxy::RunJavaScriptAlert::DelayedReply>);
1129 void runJavaScriptConfirm(uint64_t frameID, const String&, PassRefPtr<Messages::WebPageProxy::RunJavaScriptConfirm::DelayedReply>);
1130 void runJavaScriptPrompt(uint64_t frameID, const String&, const String&, PassRefPtr<Messages::WebPageProxy::RunJavaScriptPrompt::DelayedReply>);
1132 void runJavaScriptAlert(uint64_t frameID, const String&);
1133 void runJavaScriptConfirm(uint64_t frameID, const String&, bool& result);
1134 void runJavaScriptPrompt(uint64_t frameID, const String&, const String&, String& result);
1136 void shouldInterruptJavaScript(bool& result);
1137 void setStatusText(const String&);
1138 void mouseDidMoveOverElement(const WebHitTestResult::Data& hitTestResultData, uint32_t modifiers, CoreIPC::ArgumentDecoder*);
1139 void unavailablePluginButtonClicked(uint32_t opaquePluginUnavailabilityReason, const String& mimeType, const String& url, const String& pluginsPageURL);
1140 void setToolbarsAreVisible(bool toolbarsAreVisible);
1141 void getToolbarsAreVisible(bool& toolbarsAreVisible);
1142 void setMenuBarIsVisible(bool menuBarIsVisible);
1143 void getMenuBarIsVisible(bool& menuBarIsVisible);
1144 void setStatusBarIsVisible(bool statusBarIsVisible);
1145 void getStatusBarIsVisible(bool& statusBarIsVisible);
1146 void setIsResizable(bool isResizable);
1147 void getIsResizable(bool& isResizable);
1148 void setWindowFrame(const WebCore::FloatRect&);
1149 void getWindowFrame(WebCore::FloatRect&);
1150 void screenToWindow(const WebCore::IntPoint& screenPoint, WebCore::IntPoint& windowPoint);
1151 void windowToScreen(const WebCore::IntRect& viewRect, WebCore::IntRect& result);
1152 #if ENABLE(TIZEN_SUPPORT_BEFORE_UNLOAD_CONFIRM_PANEL)
1153 void runBeforeUnloadConfirmPanel(const String& message, uint64_t frameID, PassRefPtr<Messages::WebPageProxy::RunBeforeUnloadConfirmPanel::DelayedReply>);
1155 void runBeforeUnloadConfirmPanel(const String& message, uint64_t frameID, bool& shouldClose);
1157 void didChangeViewportProperties(const WebCore::ViewportAttributes&);
1158 void pageDidScroll();
1159 void runOpenPanel(uint64_t frameID, const WebCore::FileChooserSettings&);
1160 void printFrame(uint64_t frameID);
1161 #if ENABLE(TIZEN_SQL_DATABASE)
1162 void exceededDatabaseQuota(uint64_t frameID, const String& originIdentifier, const String& displayName, uint64_t expectedUsage, PassRefPtr<Messages::WebPageProxy::ExceededDatabaseQuota::DelayedReply>);
1164 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);
1166 #if ENABLE(TIZEN_APPLICATION_CACHE)
1167 void requestApplicationCachePermission(uint64_t frameID, const String& originIdentifier, PassRefPtr<Messages::WebPageProxy::RequestApplicationCachePermission::DelayedReply>);
1169 void requestGeolocationPermissionForFrame(uint64_t geolocationID, uint64_t frameID, String originIdentifier);
1171 void notifyScrollerThumbIsVisibleInRect(const WebCore::IntRect&);
1172 void recommendedScrollbarStyleDidChange(int32_t newStyle);
1173 void didChangeScrollbarsForMainFrame(bool hasHorizontalScrollbar, bool hasVerticalScrollbar);
1174 void didChangeScrollOffsetPinningForMainFrame(bool pinnedToLeftSide, bool pinnedToRightSide);
1176 void didChangeScrollPositionForMainFrame(const WebCore::IntPoint&);
1178 void didChangePageCount(unsigned);
1179 void didFailToInitializePlugin(const String& mimeType);
1180 void didBlockInsecurePluginVersion(const String& mimeType, const String& urlString);
1181 void setCanShortCircuitHorizontalWheelEvents(bool canShortCircuitHorizontalWheelEvents) { m_canShortCircuitHorizontalWheelEvents = canShortCircuitHorizontalWheelEvents; }
1183 void reattachToWebProcess();
1184 void reattachToWebProcessWithItem(WebBackForwardListItem*);
1186 void requestNotificationPermission(uint64_t notificationID, const String& originString);
1188 void showNotification(const String& title, const String& body, const String& iconURL, const String& tag, const String& originString, uint64_t notificationID);
1190 #if ENABLE(TIZEN_MEDIA_STREAM)
1191 void requestUserMediaPermission(uint64_t userMediaID);
1194 #if USE(TILED_BACKING_STORE)
1195 void pageDidRequestScroll(const WebCore::IntPoint&);
1198 #if ENABLE(TIZEN_WEBKIT2_HISTORICAL_RESTORE_VISIBLE_CONTENT_RECT)
1199 void pageDidRequestRestoreVisibleContentRect(const WebCore::IntPoint&, float);
1202 #if PLATFORM(QT) || OS(TIZEN)
1203 void didChangeContentsSize(const WebCore::IntSize&);
1204 void didFindZoomableArea(const WebCore::IntPoint&, const WebCore::IntRect&);
1206 #if ENABLE(TOUCH_EVENTS)
1207 void needTouchEvents(bool);
1210 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
1211 void didGetWebAppCapable(const bool capable, uint64_t callbackID);
1212 void didGetWebAppIconURL(const String& iconURL, uint64_t callbackID);
1213 void didGetWebAppIconURLs(const StringPairVector& iconURLs, uint64_t callbackID);
1215 #if ENABLE(TIZEN_ICON_DATABASE)
1216 void didReceiveIcon();
1219 #if ENABLE(INPUT_TYPE_COLOR)
1220 void showColorChooser(const WebCore::Color& initialColor);
1221 #if !ENABLE(TIZEN_INPUT_COLOR_PICKER) // wait for upstream
1222 void setColorChooserColor(const WebCore::Color&);
1223 void endColorChooser();
1225 void didChooseColor(const WebCore::Color&);
1226 void didEndColorChooser();
1229 void editorStateChanged(const EditorState&);
1231 // Back/Forward list management
1232 void backForwardAddItem(uint64_t itemID);
1233 void backForwardGoToItem(uint64_t itemID, SandboxExtension::Handle&);
1234 void backForwardItemAtIndex(int32_t index, uint64_t& itemID);
1235 void backForwardBackListCount(int32_t& count);
1236 void backForwardForwardListCount(int32_t& count);
1237 void backForwardClear();
1240 void registerEditCommandForUndo(uint64_t commandID, uint32_t editAction);
1241 void clearAllEditCommands();
1242 void canUndoRedo(uint32_t action, bool& result);
1243 void executeUndoRedo(uint32_t action, bool& result);
1245 // Keyboard handling
1247 void interpretQueuedKeyEvent(const EditorState&, bool& handled, Vector<WebCore::KeypressCommand>&);
1248 void executeSavedCommandBySelector(const String& selector, bool& handled);
1252 void getEditorCommandsForKeyEvent(const AtomicString&, Vector<String>&);
1253 void bindAccessibilityTree(const String&);
1256 void getEditorCommandsForKeyEvent(Vector<String>&);
1260 void showPopupMenu(const WebCore::IntRect& rect, uint64_t textDirection, const Vector<WebPopupItem>& items, int32_t selectedIndex, const PlatformPopupMenuData&);
1261 void hidePopupMenu();
1263 void setPopupMenuSelectedIndex(int32_t);
1265 #if ENABLE(TIZEN_WEBKIT2_POPUP_INTERNAL)
1266 void updatePopupMenu(uint64_t textDirection, const Vector<WebPopupItem>& items, int32_t selectedIndex);
1269 #if ENABLE(CONTEXT_MENUS)
1271 void showContextMenu(const WebCore::IntPoint& menuLocation, const WebHitTestResult::Data&, const Vector<WebContextMenuItemData>&, CoreIPC::ArgumentDecoder*);
1272 void internalShowContextMenu(const WebCore::IntPoint& menuLocation, const WebHitTestResult::Data&, const Vector<WebContextMenuItemData>&, CoreIPC::ArgumentDecoder*);
1275 // Search popup results
1276 void saveRecentSearches(const String&, const Vector<String>&);
1277 void loadRecentSearches(const String&, Vector<String>&);
1281 void getIsSpeaking(bool&);
1282 void speak(const String&);
1283 void stopSpeaking();
1286 void searchWithSpotlight(const String&);
1289 void didPerformDictionaryLookup(const String&, const DictionaryPopupInfo&);
1292 // Spelling and grammar.
1293 int64_t spellDocumentTag();
1294 #if USE(UNIFIED_TEXT_CHECKING)
1295 void checkTextOfParagraph(const String& text, uint64_t checkingTypes, Vector<WebCore::TextCheckingResult>& results);
1297 void checkSpellingOfString(const String& text, int32_t& misspellingLocation, int32_t& misspellingLength);
1298 void checkGrammarOfString(const String& text, Vector<WebCore::GrammarDetail>&, int32_t& badGrammarLocation, int32_t& badGrammarLength);
1299 void spellingUIIsShowing(bool&);
1300 void updateSpellingUIWithMisspelledWord(const String& misspelledWord);
1301 void updateSpellingUIWithGrammarString(const String& badGrammarPhrase, const WebCore::GrammarDetail&);
1302 void getGuessesForWord(const String& word, const String& context, Vector<String>& guesses);
1304 #if ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
1305 void textChangeInTextField(const String&, const String&);
1308 void learnWord(const String& word);
1309 void ignoreWord(const String& word);
1311 void setFocus(bool focused);
1312 void takeFocus(uint32_t direction);
1313 void setToolTip(const String&);
1314 void setCursor(const WebCore::Cursor&);
1315 void setCursorHiddenUntilMouseMoves(bool);
1317 void didReceiveEvent(uint32_t opaqueType, bool handled);
1318 void stopResponsivenessTimer();
1320 void voidCallback(uint64_t);
1321 void dataCallback(const CoreIPC::DataReference&, uint64_t);
1322 void stringCallback(const String&, uint64_t);
1323 void scriptValueCallback(const CoreIPC::DataReference&, uint64_t);
1324 void computedPagesCallback(const Vector<WebCore::IntRect>&, double totalScaleFactorForPrinting, uint64_t);
1325 void validateCommandCallback(const String&, bool, int, uint64_t);
1327 void printFinishedCallback(const WebCore::ResourceError&, uint64_t);
1330 void focusedFrameChanged(uint64_t frameID);
1331 void frameSetLargestFrameChanged(uint64_t frameID);
1333 void canAuthenticateAgainstProtectionSpaceInFrame(uint64_t frameID, const WebCore::ProtectionSpace&, bool& canAuthenticate);
1334 void didReceiveAuthenticationChallenge(uint64_t frameID, const WebCore::AuthenticationChallenge&, uint64_t challengeID);
1336 void didFinishLoadingDataForCustomRepresentation(const String& suggestedFilename, const CoreIPC::DataReference&);
1339 void pluginFocusOrWindowFocusChanged(uint64_t pluginComplexTextInputIdentifier, bool pluginHasFocusAndWindowHasFocus);
1340 void setPluginComplexTextInputState(uint64_t pluginComplexTextInputIdentifier, uint64_t complexTextInputState);
1343 void clearPendingAPIRequestURL() { m_pendingAPIRequestURL = String(); }
1344 void setPendingAPIRequestURL(const String& pendingAPIRequestURL) { m_pendingAPIRequestURL = pendingAPIRequestURL; }
1346 bool maybeInitializeSandboxExtensionHandle(const WebCore::KURL&, SandboxExtension::Handle&);
1349 void substitutionsPanelIsShowing(bool&);
1350 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
1351 void showCorrectionPanel(int32_t panelType, const WebCore::FloatRect& boundingBoxOfReplacedString, const String& replacedString, const String& replacementString, const Vector<String>& alternativeReplacementStrings);
1352 void dismissCorrectionPanel(int32_t reason);
1353 void dismissCorrectionPanelSoon(int32_t reason, String& result);
1354 void recordAutocorrectionResponse(int32_t responseType, const String& replacedString, const String& replacementString);
1355 #endif // __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
1357 #if USE(DICTATION_ALTERNATIVES)
1358 void showDictationAlternativeUI(const WebCore::FloatRect& boundingBoxOfDictatedText, uint64_t dictationContext);
1359 void dismissDictationAlternativeUI();
1360 void removeDictationAlternatives(uint64_t dictationContext);
1361 void dictationAlternatives(uint64_t dictationContext, Vector<String>& result);
1363 #endif // PLATFORM(MAC)
1366 void didReceiveURIRequest(String uriString, uint64_t requestID);
1369 void clearLoadDependentCallbacks();
1371 void performDragControllerAction(DragControllerAction, WebCore::DragData*, const String& dragStorageName, const SandboxExtension::Handle&, const SandboxExtension::HandleArray&);
1373 void updateBackingStoreDiscardableState();
1376 void scheduleChildWindowGeometryUpdate(const WindowGeometry&);
1379 void setRenderTreeSize(uint64_t treeSize) { m_renderTreeSize = treeSize; }
1381 #if PLUGIN_ARCHITECTURE(X11)
1382 void createPluginContainer(uint64_t& windowID);
1383 void windowedPluginGeometryDidChange(const WebCore::IntRect& frameRect, const WebCore::IntRect& clipRect, uint64_t windowID);
1386 void processNextQueuedWheelEvent();
1387 void sendWheelEvent(const WebWheelEvent&);
1389 #if ENABLE(TIZEN_CERTIFICATE_HANDLING)
1390 void decidePolicyForCertificateError(const String& url, const String& certificate, int error, PassRefPtr<Messages::WebPageProxy::DecidePolicyForCertificateError::DelayedReply>);
1393 #if ENABLE(TIZEN_WEBKIT2_ROTATION_WHILE_JAVASCRIPT_POPUP)
1394 bool isWaitingForJavaScriptPopupReply();
1397 #if ENABLE(TIZEN_LINK_MAGNIFIER)
1398 void didGetLinkMagnifierRect(const WebCore::IntPoint&, const WebCore::IntRect&);
1401 #if ENABLE(TIZEN_INDEXED_DATABASE)
1402 void exceededIndexedDatabaseQuota(uint64_t frameID, const String& originIdentifier, int64_t currentUsage, PassRefPtr<Messages::WebPageProxy::ExceededIndexedDatabaseQuota::DelayedReply> reply);
1405 PageClient* m_pageClient;
1406 WebLoaderClient m_loaderClient;
1407 WebPolicyClient m_policyClient;
1408 WebFormClient m_formClient;
1409 WebResourceLoadClient m_resourceLoadClient;
1410 WebUIClient m_uiClient;
1411 WebFindClient m_findClient;
1412 WebFindMatchesClient m_findMatchesClient;
1413 #if ENABLE(CONTEXT_MENUS)
1414 WebPageContextMenuClient m_contextMenuClient;
1417 WebTizenClient m_tizenClient;
1420 OwnPtr<DrawingAreaProxy> m_drawingArea;
1421 RefPtr<WebProcessProxy> m_process;
1422 RefPtr<WebPageGroup> m_pageGroup;
1423 RefPtr<WebFrameProxy> m_mainFrame;
1424 RefPtr<WebFrameProxy> m_focusedFrame;
1425 RefPtr<WebFrameProxy> m_frameSetLargestFrame;
1428 String m_applicationNameForUserAgent;
1429 String m_customUserAgent;
1430 String m_customTextEncodingName;
1432 #if ENABLE(INSPECTOR)
1433 RefPtr<WebInspectorProxy> m_inspector;
1436 #if ENABLE(FULLSCREEN_API)
1437 RefPtr<WebFullScreenManagerProxy> m_fullScreenManager;
1440 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
1441 HashMap<uint64_t, RefPtr<BooleanCallback> > m_booleanCallbacks;
1442 HashMap<uint64_t, RefPtr<DictionaryCallback> > m_dictionaryCallbacks;
1444 HashMap<uint64_t, RefPtr<VoidCallback> > m_voidCallbacks;
1445 HashMap<uint64_t, RefPtr<DataCallback> > m_dataCallbacks;
1446 HashMap<uint64_t, RefPtr<StringCallback> > m_stringCallbacks;
1447 HashSet<uint64_t> m_loadDependentStringCallbackIDs;
1448 HashMap<uint64_t, RefPtr<ScriptValueCallback> > m_scriptValueCallbacks;
1449 HashMap<uint64_t, RefPtr<ComputedPagesCallback> > m_computedPagesCallbacks;
1450 HashMap<uint64_t, RefPtr<ValidateCommandCallback> > m_validateCommandCallbacks;
1452 HashMap<uint64_t, RefPtr<PrintFinishedCallback> > m_printFinishedCallbacks;
1454 #if ENABLE(TIZEN_WEB_STORAGE)
1455 HashMap<uint64_t, RefPtr<WebStorageQuotaCallback> > m_quotaCallbacks;
1458 HashSet<WebEditCommandProxy*> m_editCommandSet;
1461 HashSet<String> m_knownKeypressCommandNames;
1464 RefPtr<WebPopupMenuProxy> m_activePopupMenu;
1465 RefPtr<WebContextMenuProxy> m_activeContextMenu;
1466 WebHitTestResult::Data m_activeContextMenuHitTestResultData;
1467 RefPtr<WebOpenPanelResultListenerProxy> m_openPanelResultListener;
1468 GeolocationPermissionRequestManagerProxy m_geolocationPermissionRequestManager;
1469 NotificationPermissionRequestManagerProxy m_notificationPermissionRequestManager;
1470 #if ENABLE(TIZEN_MEDIA_STREAM)
1471 UserMediaPermissionRequestManagerProxy m_userMediaPermissionRequestManager;
1473 double m_estimatedProgress;
1475 // Whether the web page is contained in a top-level window.
1478 // Whether the page is visible; if the backing view is visible and inserted into a window.
1482 bool m_canGoForward;
1483 RefPtr<WebBackForwardList> m_backForwardList;
1485 bool m_maintainsInactiveSelection;
1489 String m_urlAtProcessExit;
1490 WebFrameProxy::LoadState m_loadStateAtProcessExit;
1492 EditorState m_editorState;
1494 double m_textZoomFactor;
1495 double m_pageZoomFactor;
1496 double m_pageScaleFactor;
1497 float m_intrinsicDeviceScaleFactor;
1498 float m_customDeviceScaleFactor;
1500 LayerHostingMode m_layerHostingMode;
1502 bool m_drawsBackground;
1503 bool m_drawsTransparentBackground;
1505 bool m_areMemoryCacheClientCallsEnabled;
1507 bool m_useFixedLayout;
1508 WebCore::IntSize m_fixedLayoutSize;
1510 WebCore::Page::Pagination::Mode m_paginationMode;
1511 bool m_paginationBehavesLikeColumns;
1512 double m_pageLength;
1513 double m_gapBetweenPages;
1515 // If the process backing the web page is alive and kicking.
1518 // Whether WebPageProxy::close() has been called on this page.
1521 // Whether it can run modal child web pages.
1524 bool m_isInPrintingMode;
1525 bool m_isPerformingDOMPrintOperation;
1527 bool m_inDecidePolicyForResponse;
1528 bool m_syncMimeTypePolicyActionIsValid;
1529 WebCore::PolicyAction m_syncMimeTypePolicyAction;
1530 uint64_t m_syncMimeTypePolicyDownloadID;
1532 bool m_inDecidePolicyForNavigationAction;
1533 bool m_syncNavigationActionPolicyActionIsValid;
1534 WebCore::PolicyAction m_syncNavigationActionPolicyAction;
1535 uint64_t m_syncNavigationActionPolicyDownloadID;
1537 #if ENABLE(TIZEN_WEBKIT2_ROTATION_WHILE_JAVASCRIPT_POPUP)
1538 #if ENABLE(GESTURE_EVENTS)
1539 Deque<QueuedUIEvents<WebGestureEvent> > m_gestureEventQueue;
1541 Deque<QueuedUIEvents<NativeWebKeyboardEvent> > m_keyEventQueue;
1543 #if ENABLE(GESTURE_EVENTS)
1544 Deque<WebGestureEvent> m_gestureEventQueue;
1546 Deque<NativeWebKeyboardEvent> m_keyEventQueue;
1548 Deque<NativeWebWheelEvent> m_wheelEventQueue;
1549 Deque<OwnPtr<Vector<NativeWebWheelEvent> > > m_currentlyProcessedWheelEvents;
1551 bool m_processingMouseMoveEvent;
1552 OwnPtr<NativeWebMouseEvent> m_nextMouseMoveEvent;
1553 OwnPtr<NativeWebMouseEvent> m_currentlyProcessedMouseDownEvent;
1555 #if ENABLE(TOUCH_EVENTS)
1556 bool m_needTouchEvents;
1557 #if ENABLE(TIZEN_WEBKIT2_ROTATION_WHILE_JAVASCRIPT_POPUP)
1558 Deque<QueuedUIEvents<NativeWebTouchEvent> > m_touchEventQueue;
1560 Deque<QueuedTouchEvents> m_touchEventQueue;
1563 #if ENABLE(INPUT_TYPE_COLOR)
1564 RefPtr<WebColorChooserProxy> m_colorChooser;
1565 #if ENABLE(TIZEN_INPUT_COLOR_PICKER) // wait for upstream
1566 RefPtr<WebColorPickerResultListenerProxy> m_colorPickerResultListener;
1569 #if ENABLE(TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION)
1570 bool m_isLoadingFinished; //if the page loading is finished, then set to true.
1576 bool m_isPageSuspended;
1579 bool m_isSmartInsertDeleteEnabled;
1583 String m_accessibilityPlugID;
1586 int64_t m_spellDocumentTag;
1587 bool m_hasSpellDocumentTag;
1588 unsigned m_pendingLearnOrIgnoreWordMessageCount;
1590 bool m_mainFrameHasCustomRepresentation;
1592 #if ENABLE(DRAG_SUPPORT)
1593 WebCore::DragSession m_currentDragSession;
1596 String m_pendingAPIRequestURL;
1598 bool m_mainFrameHasHorizontalScrollbar;
1599 bool m_mainFrameHasVerticalScrollbar;
1601 // Whether horizontal wheel events can be handled directly for swiping purposes.
1602 bool m_canShortCircuitHorizontalWheelEvents;
1604 bool m_mainFrameIsPinnedToLeftSide;
1605 bool m_mainFrameIsPinnedToRightSide;
1608 WebCore::IntPoint m_scrollPosition;
1609 WebCore::IntSize m_contentsSize;
1611 unsigned m_pageCount;
1613 WebCore::IntRect m_visibleScrollerThumbRect;
1615 uint64_t m_renderTreeSize;
1617 static WKPageDebugPaintFlags s_debugPaintFlags;
1619 bool m_shouldSendEventsSynchronously;
1621 bool m_suppressVisibilityUpdates;
1623 float m_mediaVolume;
1626 WTF::HashSet<RefPtr<QtRefCountedNetworkRequestData> > m_applicationSchemeRequests;
1629 #if ENABLE(PAGE_VISIBILITY_API)
1630 WebCore::PageVisibilityState m_visibilityState;
1634 RefPtr<Messages::WebPageProxy::RunJavaScriptAlert::DelayedReply> m_alertReply;
1635 RefPtr<Messages::WebPageProxy::RunJavaScriptConfirm::DelayedReply> m_confirmReply;
1636 RefPtr<Messages::WebPageProxy::RunJavaScriptPrompt::DelayedReply> m_promptReply;
1637 #if ENABLE(TIZEN_SUPPORT_BEFORE_UNLOAD_CONFIRM_PANEL)
1638 RefPtr<Messages::WebPageProxy::RunBeforeUnloadConfirmPanel::DelayedReply> m_beforeUnloadConfirmPanelReply;
1640 #if ENABLE(TIZEN_APPLICATION_CACHE)
1641 RefPtr<Messages::WebPageProxy::RequestApplicationCachePermission::DelayedReply> m_applicationCacheReply;
1643 #if ENABLE(TIZEN_SQL_DATABASE)
1644 RefPtr<Messages::WebPageProxy::ExceededDatabaseQuota::DelayedReply> m_exceededDatabaseQuotaReply;
1648 #if ENABLE(TIZEN_CERTIFICATE_HANDLING)
1649 RefPtr<Messages::WebPageProxy::DecidePolicyForCertificateError::DelayedReply> m_allowedReply;
1652 #if ENABLE(TIZEN_REDUCE_KEY_LAGGING)
1653 Ecore_Timer* m_pageContentResumeTimer;
1656 #if ENABLE(TIZEN_ISF_PORT)
1657 bool m_didCancelCompositionFromWebProcess;
1660 #if ENABLE(TIZEN_INDEXED_DATABASE)
1661 RefPtr<Messages::WebPageProxy::ExceededIndexedDatabaseQuota::DelayedReply> m_exceededIndexedDatabaseQuotaReply;
1665 } // namespace WebKit
1667 #endif // WebPageProxy_h