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(TIZEN_WEBKIT2_NOTIFY_SUSPEND_BY_REMOTE_WEB_INSPECTOR)
316 bool isContentSuspendedByInspector() { return m_contentSuspendedByInspector; }
319 #if ENABLE(INSPECTOR)
320 WebInspectorProxy* inspector();
323 #if ENABLE(FULLSCREEN_API)
324 WebFullScreenManagerProxy* fullScreenManager();
327 #if ENABLE(CONTEXT_MENUS)
328 void initializeContextMenuClient(const WKPageContextMenuClient*);
330 void initializeFindClient(const WKPageFindClient*);
331 void initializeFindMatchesClient(const WKPageFindMatchesClient*);
332 void initializeFormClient(const WKPageFormClient*);
333 void initializeLoaderClient(const WKPageLoaderClient*);
334 void initializePolicyClient(const WKPagePolicyClient*);
335 void initializeResourceLoadClient(const WKPageResourceLoadClient*);
336 void initializeUIClient(const WKPageUIClient*);
338 void initializeTizenClient(const WKPageTizenClient*);
341 void initializeWebPage();
345 bool isClosed() const { return m_isClosed; }
347 void loadURL(const String&);
348 void loadURLRequest(WebURLRequest*);
349 void loadHTMLString(const String& htmlString, const String& baseURL);
350 void loadAlternateHTMLString(const String& htmlString, const String& baseURL, const String& unreachableURL);
351 void loadPlainTextString(const String& string);
352 void loadWebArchiveData(const WebData*);
354 void loadContentsbyMimeType(const WebData*, const String& mimeType, const String& encoding, const String& baseURL);
358 void reload(bool reloadFromOrigin);
361 bool canGoForward() const;
363 bool canGoBack() const;
365 void goToBackForwardItem(WebBackForwardListItem*);
366 void tryRestoreScrollPosition();
367 void didChangeBackForwardList(WebBackForwardListItem* addedItem, Vector<RefPtr<APIObject> >* removedItems);
368 void shouldGoToBackForwardListItem(uint64_t itemID, bool& shouldGoToBackForwardListItem);
369 void willGoToBackForwardListItem(uint64_t itemID, CoreIPC::ArgumentDecoder* arguments);
371 String activeURL() const;
372 String provisionalURL() const;
373 String committedURL() const;
375 bool willHandleHorizontalScrollEvents() const;
377 bool canShowMIMEType(const String& mimeType) const;
379 bool drawsBackground() const { return m_drawsBackground; }
380 void setDrawsBackground(bool);
382 bool drawsTransparentBackground() const { return m_drawsTransparentBackground; }
383 void setDrawsTransparentBackground(bool);
385 void viewWillStartLiveResize();
386 void viewWillEndLiveResize();
388 void setInitialFocus(bool forward, bool isKeyboardEventValid, const WebKeyboardEvent&);
389 void setWindowResizerSize(const WebCore::IntSize&);
391 void clearSelection();
393 void setViewNeedsDisplay(const WebCore::IntRect&);
395 void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
398 ViewWindowIsActive = 1 << 0,
399 ViewIsFocused = 1 << 1,
400 ViewIsVisible = 1 << 2,
401 ViewIsInWindow = 1 << 3,
403 typedef unsigned ViewStateFlags;
404 void viewStateDidChange(ViewStateFlags flags);
406 WebCore::IntSize viewSize() const;
407 bool isViewVisible() const { return m_isVisible; }
408 bool isViewWindowActive() const;
410 void executeEditCommand(const String& commandName);
412 void executeEditCommandWithArgument(const String& commandName, const String& argument);
414 void validateCommand(const String& commandName, PassRefPtr<ValidateCommandCallback>);
416 const EditorState& editorState() const { return m_editorState; }
417 bool canDelete() const { return hasSelectedRange() && isContentEditable(); }
418 bool hasSelectedRange() const { return m_editorState.selectionIsRange; }
419 bool isContentEditable() const { return m_editorState.isContentEditable; }
421 bool maintainsInactiveSelection() const { return m_maintainsInactiveSelection; }
422 void setMaintainsInactiveSelection(bool);
424 void registerApplicationScheme(const String& scheme);
425 void resolveApplicationSchemeRequest(QtNetworkRequestData);
426 void sendApplicationSchemeReply(const QQuickNetworkReply*);
427 void authenticationRequiredRequest(const String& hostname, const String& realm, const String& prefilledUsername, String& username, String& password);
428 void certificateVerificationRequest(const String& hostname, bool& ignoreErrors);
429 void proxyAuthenticationRequiredRequest(const String& hostname, uint16_t port, const String& prefilledUsername, String& username, String& password);
430 void setUserScripts(const Vector<String>&);
431 #endif // PLATFORM(QT).
433 void setThemePath(const String&);
437 void setComposition(const String& text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd);
438 void confirmComposition(const String& compositionString, int64_t selectionStart, int64_t selectionLength);
439 void cancelComposition();
442 void updateWindowIsVisible(bool windowIsVisible);
443 void windowAndViewFramesChanged(const WebCore::IntRect& windowFrameInScreenCoordinates, const WebCore::IntRect& viewFrameInWindowCoordinates, const WebCore::IntPoint& accessibilityViewCoordinates);
445 void setComposition(const String& text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd);
446 void confirmComposition();
447 void cancelComposition();
448 bool insertText(const String& text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd);
449 bool insertDictatedText(const String& text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd, const Vector<WebCore::TextAlternativeWithRange>& dictationAlternatives);
450 void getMarkedRange(uint64_t& location, uint64_t& length);
451 void getSelectedRange(uint64_t& location, uint64_t& length);
452 void getAttributedSubstringFromRange(uint64_t location, uint64_t length, AttributedString&);
453 uint64_t characterIndexForPoint(const WebCore::IntPoint);
454 WebCore::IntRect firstRectForCharacterRange(uint64_t, uint64_t);
455 bool executeKeypressCommands(const Vector<WebCore::KeypressCommand>&);
457 void sendComplexTextInputToPlugin(uint64_t pluginComplexTextInputIdentifier, const String& textInput);
458 CGContextRef containingWindowGraphicsContext();
459 bool shouldDelayWindowOrderingForEvent(const WebMouseEvent&);
460 bool acceptsFirstMouse(int eventNumber, const WebMouseEvent&);
463 WKView* wkView() const;
467 void didChangeCompositionSelection(bool);
468 void confirmComposition(const String&);
469 void setComposition(const String&, Vector<WebCore::CompositionUnderline>&, int);
470 WebCore::IntRect firstRectForCharacterInSelectedRange(int);
471 String getSelectedText();
473 bool gestureWillBegin(const WebCore::IntPoint&);
474 void gestureDidScroll(const WebCore::IntSize&);
475 void gestureDidEnd();
477 void setGestureReachedScrollingLimit(bool);
479 HWND nativeWindow() const;
482 void handleInputMethodKeydown(bool& handled);
483 void confirmComposition(const String&);
484 void setComposition(const String&, Vector<WebCore::CompositionUnderline>&, int);
485 void cancelComposition();
488 GtkWidget* viewWidget();
491 Evas_Object* viewWidget();
495 #if ENABLE(TIZEN_REDUCE_KEY_LAGGING)
496 static Eina_Bool pageContentResumeTimerFired(void* data);
498 #if ENABLE(TIZEN_TEXT_CARET_HANDLING_WK2)
499 void setCaretPosition(const WebCore::IntPoint&);
500 void getCaretPosition(WebCore::IntRect&);
502 bool scrollMainFrameBy(const WebCore::IntSize&);
503 void scrollMainFrameTo(const WebCore::IntPoint&);
504 WebCore::IntPoint& scrollPosition() { return m_scrollPosition; }
505 WebCore::IntSize& contentsSize() { return m_contentsSize; }
506 PassRefPtr<WebImage> createSnapshot(const WebCore::IntRect&, float);
508 void requestUpdateFormNavigation();
510 void updateFormNavigation(int length, int offset);
511 void focusedNodeChanged(const WebCore::IntRect&);
513 #if ENABLE(TIZEN_WEB_STORAGE)
514 #if ENABLE(TIZEN_WEBKIT2_NUMBER_TYPE_SUPPORT)
515 void getWebStorageQuotaBytes(PassRefPtr<WebStorageQuotaCallback>);
516 void didGetWebStorageQuotaBytes(const uint32_t quota, uint64_t callbackID);
518 void setWebStorageQuotaBytes(uint32_t quota);
521 #if ENABLE(TIZEN_WEBKIT2_HIT_TEST)
522 #if ENABLE(TOUCH_ADJUSTMENT)
523 WebHitTestResult::Data hitTestResultAtPoint(const WebCore::IntPoint&, int hitTestMode = WebHitTestResult::HitTestModeDefault, const WebCore::IntSize& area = WebCore::IntSize());
525 WebHitTestResult::Data hitTestResultAtPoint(const WebCore::IntPoint&, int hitTestMode = WebHitTestResult::HitTestModeDefault);
528 #if ENABLE(TIZEN_CONTEXT_MENU_WEBKIT_2)
529 void hideContextMenu();
530 String contextMenuAbsoluteLinkURLString();
531 String contextMenuAbsoluteImageURLString();
533 #if ENABLE(TIZEN_CLIPBOARD) || ENABLE(TIZEN_PASTEBOARD)
534 void setClipboardData(const String& data, const String& type);
535 void clearClipboardData();
537 #if ENABLE(TIZEN_WEBKIT2_CLIPBOARD_HELPER)
538 void didSelectPasteMenuFromContextMenu(const String& data, const String& type);
539 void pasteContextMenuSelected();
541 #if ENABLE(TIZEN_WEBKIT2_CONTEXT_MENU_CLIPBOARD)
542 void clipboardContextMenuSelected();
543 void executePasteFromClipboardItem(const String& data, const String& type);
545 #if ENABLE(TIZEN_REMOTE_WEB_INSPECTOR)
546 uint32_t startInspectorServer(uint32_t port);
547 bool stopInspectorServer();
549 #if ENABLE(TIZEN_MOBILE_WEB_PRINT)
550 void createPagesToPDF(const WebCore::IntSize&, const WebCore::IntSize&, const String&);
553 void scale(double, const WebCore::IntPoint&);
554 void scaleImage(double, const WebCore::IntPoint&);
555 double scaleFactor();
557 #if ENABLE(TIZEN_ORIENTATION_EVENTS)
558 void sendOrientationChangeEvent(int orientation);
561 void suspendPainting();
562 void resumePainting();
564 void suspendJavaScriptAndResource();
565 void resumeJavaScriptAndResource();
567 void suspendAnimations();
568 void resumeAnimations();
570 #if ENABLE(TIZEN_PLUGIN_SUSPEND_RESUME)
571 void suspendPlugin();
575 #if ENABLE(TIZEN_WEBKIT2_TILED_AC)
576 void purgeBackingStoresOfInactiveView();
579 #endif // #if OS(TIZEN)
581 #if USE(TILED_BACKING_STORE)
582 void setViewportSize(const WebCore::IntSize&);
585 void handleMouseEvent(const NativeWebMouseEvent&);
586 void handleWheelEvent(const NativeWebWheelEvent&);
587 void handleKeyboardEvent(const NativeWebKeyboardEvent&);
588 #if ENABLE(GESTURE_EVENTS)
589 void handleGestureEvent(const WebGestureEvent&);
591 #if ENABLE(TOUCH_EVENTS)
592 void handleTouchEvent(const NativeWebTouchEvent&);
594 void handlePotentialActivation(const WebCore::IntPoint& touchPoint, const WebCore::IntSize& touchArea);
598 void scrollBy(WebCore::ScrollDirection, WebCore::ScrollGranularity);
599 void centerSelectionInVisibleArea();
601 String pageTitle() const;
602 const String& toolTip() const { return m_toolTip; }
604 void setUserAgent(const String&);
605 const String& userAgent() const { return m_userAgent; }
606 void setApplicationNameForUserAgent(const String&);
607 const String& applicationNameForUserAgent() const { return m_applicationNameForUserAgent; }
608 void setCustomUserAgent(const String&);
609 const String& customUserAgent() const { return m_customUserAgent; }
610 static String standardUserAgent(const String& applicationName = String());
611 #if ENABLE(TIZEN_CUSTOM_HEADERS)
612 void addCustomHeader(const String&, const String&);
613 void removeCustomHeader(const String&);
614 void clearCustomHeaders();
617 bool supportsTextEncoding() const;
618 void setCustomTextEncodingName(const String&);
619 String customTextEncodingName() const { return m_customTextEncodingName; }
621 void resumeActiveDOMObjectsAndAnimations();
622 void suspendActiveDOMObjectsAndAnimations();
624 double estimatedProgress() const;
626 void terminateProcess();
628 typedef bool (*WebPageProxySessionStateFilterCallback)(WKPageRef, WKStringRef type, WKTypeRef object, void* context);
629 PassRefPtr<WebData> sessionStateData(WebPageProxySessionStateFilterCallback, void* context) const;
630 void restoreFromSessionStateData(WebData*);
632 bool supportsTextZoom() const;
633 double textZoomFactor() const { return m_mainFrameHasCustomRepresentation ? 1 : m_textZoomFactor; }
634 void setTextZoomFactor(double);
635 double pageZoomFactor() const;
636 void setPageZoomFactor(double);
637 void setPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor);
639 void scalePage(double scale, const WebCore::IntPoint& origin);
640 double pageScaleFactor() const { return m_pageScaleFactor; }
642 float deviceScaleFactor() const;
643 void setIntrinsicDeviceScaleFactor(float);
644 void setCustomDeviceScaleFactor(float);
645 void windowScreenDidChange(PlatformDisplayID);
647 LayerHostingMode layerHostingMode() const { return m_layerHostingMode; }
649 void setUseFixedLayout(bool);
650 void setFixedLayoutSize(const WebCore::IntSize&);
651 bool useFixedLayout() const { return m_useFixedLayout; };
652 const WebCore::IntSize& fixedLayoutSize() const { return m_fixedLayoutSize; };
654 bool hasHorizontalScrollbar() const { return m_mainFrameHasHorizontalScrollbar; }
655 bool hasVerticalScrollbar() const { return m_mainFrameHasVerticalScrollbar; }
657 bool isPinnedToLeftSide() const { return m_mainFrameIsPinnedToLeftSide; }
658 bool isPinnedToRightSide() const { return m_mainFrameIsPinnedToRightSide; }
660 void setPaginationMode(WebCore::Page::Pagination::Mode);
661 WebCore::Page::Pagination::Mode paginationMode() const { return m_paginationMode; }
662 void setPaginationBehavesLikeColumns(bool);
663 bool paginationBehavesLikeColumns() const { return m_paginationBehavesLikeColumns; }
664 void setPageLength(double);
665 double pageLength() const { return m_pageLength; }
666 void setGapBetweenPages(double);
667 double gapBetweenPages() const { return m_gapBetweenPages; }
668 unsigned pageCount() const { return m_pageCount; }
671 // Called by the web process through a message.
672 void registerWebProcessAccessibilityToken(const CoreIPC::DataReference&);
673 // Called by the UI process when it is ready to send its tokens to the web process.
674 void registerUIProcessAccessibilityTokens(const CoreIPC::DataReference& elemenToken, const CoreIPC::DataReference& windowToken);
675 bool readSelectionFromPasteboard(const String& pasteboardName);
676 String stringSelectionForPasteboard();
677 PassRefPtr<WebCore::SharedBuffer> dataSelectionForPasteboard(const String& pasteboardType);
678 void makeFirstResponder();
680 ColorSpaceData colorSpace();
683 void pageScaleFactorDidChange(double);
685 void setMemoryCacheClientCallsEnabled(bool);
688 void findString(const String&, FindOptions, unsigned maxMatchCount);
689 void findStringMatches(const String&, FindOptions, unsigned maxMatchCount);
690 void getImageForFindMatch(int32_t matchIndex);
691 void selectFindMatch(int32_t matchIndex);
692 void didGetImageForFindMatch(const ShareableBitmap::Handle& contentImageHandle, uint32_t matchIndex);
694 void countStringMatches(const String&, FindOptions, unsigned maxMatchCount);
695 void didCountStringMatches(const String&, uint32_t matchCount);
696 void setFindIndicator(const WebCore::FloatRect& selectionRectInWindowCoordinates, const Vector<WebCore::FloatRect>& textRectsInSelectionRectCoordinates, float contentImageScaleFactor, const ShareableBitmap::Handle& contentImageHandle, bool fadeOut, bool animate);
697 void didFindString(const String&, uint32_t matchCount);
698 void didFailToFindString(const String&);
699 void didFindStringMatches(const String&, Vector<Vector<WebCore::IntRect> > matchRects, int32_t firstIndexAfterSelection);
701 void didInstallOrUninstallPageOverlay(bool);
704 void getContentsAsString(PassRefPtr<StringCallback>);
706 void getContentsAsMHTMLData(PassRefPtr<DataCallback>, bool useBinaryEncoding);
708 void getMainResourceDataOfFrame(WebFrameProxy*, PassRefPtr<DataCallback>);
709 void getResourceDataFromFrame(WebFrameProxy*, WebURL*, PassRefPtr<DataCallback>);
710 void getRenderTreeExternalRepresentation(PassRefPtr<StringCallback>);
711 void getSelectionOrContentsAsString(PassRefPtr<StringCallback>);
712 void getSourceForFrame(WebFrameProxy*, PassRefPtr<StringCallback>);
713 void getWebArchiveOfFrame(WebFrameProxy*, PassRefPtr<DataCallback>);
714 void runJavaScriptInMainFrame(const String&, PassRefPtr<ScriptValueCallback>);
715 void forceRepaint(PassRefPtr<VoidCallback>);
717 #if ENABLE(WEB_INTENTS)
718 void deliverIntentToFrame(WebFrameProxy*, WebIntentData*);
721 float headerHeight(WebFrameProxy*);
722 float footerHeight(WebFrameProxy*);
723 void drawHeader(WebFrameProxy*, const WebCore::FloatRect&);
724 void drawFooter(WebFrameProxy*, const WebCore::FloatRect&);
726 #if ENABLE(SCREEN_ORIENTATION_SUPPORT) && ENABLE(TIZEN_SCREEN_ORIENTATION_SUPPORT)
727 void lockOrientation(int orientation, bool& result);
728 void unlockOrientation();
733 void performDictionaryLookupAtLocation(const WebCore::FloatPoint&);
736 void receivedPolicyDecision(WebCore::PolicyAction, WebFrameProxy*, uint64_t listenerID);
738 void backForwardRemovedItem(uint64_t itemID);
740 #if ENABLE(DRAG_SUPPORT)
741 // Drag and drop support.
742 void dragEntered(WebCore::DragData*, const String& dragStorageName = String());
743 void dragUpdated(WebCore::DragData*, const String& dragStorageName = String());
744 void dragExited(WebCore::DragData*, const String& dragStorageName = String());
745 #if ENABLE(TIZEN_DRAG_SUPPORT)
746 void performDrag(WebCore::DragData*, const String& dragStorageName = String());
748 void performDrag(WebCore::DragData*, const String& dragStorageName, const SandboxExtension::Handle&, const SandboxExtension::HandleArray&);
751 void didPerformDragControllerAction(WebCore::DragSession);
752 void dragEnded(const WebCore::IntPoint& clientPosition, const WebCore::IntPoint& globalPosition, uint64_t operation);
754 void setDragImage(const WebCore::IntPoint& clientPosition, const ShareableBitmap::Handle& dragImageHandle, bool isLinkDrag);
755 void setPromisedData(const String& pasteboardName, const SharedMemory::Handle& imageHandle, uint64_t imageSize, const String& filename, const String& extension,
756 const String& title, const String& url, const String& visibleURL, const SharedMemory::Handle& archiveHandle, uint64_t archiveSize);
759 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);
761 #if PLATFORM(QT) || PLATFORM(GTK) || ENABLE(TIZEN_DRAG_SUPPORT)
762 void startDrag(const WebCore::DragData&, const ShareableBitmap::Handle& dragImage);
766 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*);
767 void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, OwnPtr<CoreIPC::ArgumentEncoder>&);
769 void processDidBecomeUnresponsive();
770 void interactionOccurredWhileProcessUnresponsive();
771 void processDidBecomeResponsive();
772 void processDidCrash();
774 #if USE(ACCELERATED_COMPOSITING)
775 virtual void enterAcceleratedCompositingMode(const LayerTreeContext&);
776 virtual void exitAcceleratedCompositingMode();
777 virtual void updateAcceleratedCompositingMode(const LayerTreeContext&);
782 enum UndoOrRedo { Undo, Redo };
783 void addEditCommand(WebEditCommandProxy*);
784 void removeEditCommand(WebEditCommandProxy*);
785 bool isValidEditCommand(WebEditCommandProxy*);
786 void registerEditCommand(PassRefPtr<WebEditCommandProxy>, UndoOrRedo);
789 void registerKeypressCommandName(const String& name) { m_knownKeypressCommandNames.add(name); }
790 bool isValidKeypressCommandName(const String& name) const { return m_knownKeypressCommandNames.contains(name); }
793 WebProcessProxy* process() const;
794 PlatformProcessIdentifier processIdentifier() const;
796 WebPageGroup* pageGroup() const { return m_pageGroup.get(); }
800 const String& urlAtProcessExit() const { return m_urlAtProcessExit; }
801 WebFrameProxy::LoadState loadStateAtProcessExit() const { return m_loadStateAtProcessExit; }
803 #if ENABLE(DRAG_SUPPORT)
804 WebCore::DragSession dragSession() const { return m_currentDragSession; }
805 void resetDragOperation() { m_currentDragSession = WebCore::DragSession(); }
808 void preferencesDidChange();
810 #if ENABLE(CONTEXT_MENUS)
811 // Called by the WebContextMenuProxy.
812 void contextMenuItemSelected(const WebContextMenuItemData&);
815 // Called by the WebOpenPanelResultListenerProxy.
816 void didChooseFilesForOpenPanel(const Vector<String>&);
817 void didCancelForOpenPanel();
819 WebPageCreationParameters creationParameters() const;
822 void findZoomableAreaForPoint(const WebCore::IntPoint&, const WebCore::IntSize&);
823 void didReceiveMessageFromNavigatorQtObject(const String&);
826 #if PLATFORM(QT) || PLATFORM(EFL)
827 void handleDownloadRequest(DownloadProxy*);
830 void findZoomableAreaForPoint(const WebCore::IntPoint&, const WebCore::IntSize&);
831 #endif // #if OS(TIZEN)
833 void advanceToNextMisspelling(bool startBeforeSelection) const;
834 void changeSpellingToWord(const String& word) const;
836 void uppercaseWord();
837 void lowercaseWord();
838 void capitalizeWord();
842 bool isSmartInsertDeleteEnabled() const { return m_isSmartInsertDeleteEnabled; }
843 void setSmartInsertDeleteEnabled(bool);
847 String accessibilityPlugID() const { return m_accessibilityPlugID; }
850 void setCanRunModal(bool);
853 void beginPrinting(WebFrameProxy*, const PrintInfo&);
855 void computePagesForPrinting(WebFrameProxy*, const PrintInfo&, PassRefPtr<ComputedPagesCallback>);
856 #if PLATFORM(MAC) || PLATFORM(WIN)
857 void drawRectToPDF(WebFrameProxy*, const PrintInfo&, const WebCore::IntRect&, PassRefPtr<DataCallback>);
858 void drawPagesToPDF(WebFrameProxy*, const PrintInfo&, uint32_t first, uint32_t count, PassRefPtr<DataCallback>);
860 void drawPagesForPrinting(WebFrameProxy*, const PrintInfo&, PassRefPtr<PrintFinishedCallback>);
863 const String& pendingAPIRequestURL() const { return m_pendingAPIRequestURL; }
865 void flashBackingStoreUpdates(const Vector<WebCore::IntRect>& updateRects);
868 void handleAlternativeTextUIResult(const String& result);
871 static void setDebugPaintFlags(WKPageDebugPaintFlags flags) { s_debugPaintFlags = flags; }
872 static WKPageDebugPaintFlags debugPaintFlags() { return s_debugPaintFlags; }
874 // Color to be used with kWKDebugFlashViewUpdates.
875 static WebCore::Color viewUpdatesFlashColor();
877 // Color to be used with kWKDebugFlashBackingStoreUpdates.
878 static WebCore::Color backingStoreUpdatesFlashColor();
880 void saveDataToFileInDownloadsFolder(const String& suggestedFilename, const String& mimeType, const String& originatingURLString, WebData*);
882 void linkClicked(const String&, const WebMouseEvent&);
884 WebCore::IntRect visibleScrollerThumbRect() const { return m_visibleScrollerThumbRect; }
886 uint64_t renderTreeSize() const { return m_renderTreeSize; }
888 void setShouldSendEventsSynchronously(bool sync) { m_shouldSendEventsSynchronously = sync; };
889 #if ENABLE(TIZEN_INPUT_TAG_EXTENSION) || ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
890 void setFocusedInputElementValue(const String& inputValue);
891 String getFocusedInputElementValue();
894 #if ENABLE(TIZEN_DATALIST_ELEMENT)
895 Vector<String> getFocusedInputElementDataList();
898 void printMainFrame();
900 #if ENABLE(TIZEN_REGISTER_PROTOCOL_HANDLER)
901 void registerProtocolHandler(const String& scheme, const String& baseURL, const String& url, const String& title);
903 #if ENABLE(TIZEN_CUSTOM_SCHEME_HANDLER)
904 void isProtocolHandlerRegistered(const String& scheme, const String& baseURL, const String& url, unsigned int& result);
905 void unregisterProtocolHandler(const String& scheme, const String& baseURL, const String& url);
907 #if ENABLE(TIZEN_REGISTER_CONTENT_HANDLER)
908 void registerContentHandler(const String& mimeType, const String& baseURL, const String& url, const String& title);
909 void isContentHandlerRegistered(const String& mimeType, const String& baseURL, const String& url, unsigned int& result);
910 void unregisterContentHandler(const String& mimeType, const String& baseURL, const String& url);
913 #if ENABLE(TIZEN_SEARCH_PROVIDER)
914 void addSearchProvider(const String& baseURL, const String& engineURL);
915 void isSearchProviderInstalled(const String& baseURL, const String& engineURL, uint64_t& result);
918 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
919 void getStandaloneStatus(bool& standalone);
920 void getWebAppCapable(PassRefPtr<BooleanCallback>);
921 void getWebAppIconURL(PassRefPtr<StringCallback>);
922 void getWebAppIconURLs(PassRefPtr<DictionaryCallback>);
925 void setMediaVolume(float);
928 void replyJavaScriptAlert();
929 void replyJavaScriptConfirm(bool result);
930 void replyJavaScriptPrompt(const String& result);
931 #if ENABLE(TIZEN_SUPPORT_BEFORE_UNLOAD_CONFIRM_PANEL)
932 void replyBeforeUnloadConfirmPanel(bool result);
936 #if ENABLE(TIZEN_ON_AUTHENTICATION_REQUESTED)
937 void replyReceiveAuthenticationChallengeInFrame(bool result);
940 #if ENABLE(TIZEN_CERTIFICATE_HANDLING)
941 void replyPolicyForCertificateError(bool result);
944 // WebPopupMenuProxy::Client
945 virtual NativeWebMouseEvent* currentlyProcessedMouseDownEvent();
947 #if ENABLE(TIZEN_PAGE_VISIBILITY_API)
948 void setPageVisibility(WebCore::PageVisibilityState, bool isInitialState);
951 #if ENABLE(TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION)
952 bool scrollOverflow(const WebCore::FloatPoint&);
953 bool setPressedNodeAtPoint(const WebCore::IntPoint&, bool checkOverflowLayer, WebLayerID&);
954 void setLoadingFinished(const bool isLoadingFinished) { m_isLoadingFinished = isLoadingFinished; }
955 bool isLoadingFinished() const { return m_isLoadingFinished; }
956 bool askOverflow() const { return m_askOverflow; }
957 void setOverflowResult(bool pressed, WebLayerID webLayerID);
960 #if ENABLE(TIZEN_ISF_PORT)
961 void prepareKeyDownEvent();
962 int getCursorOffset();
963 void getSurroundingTextAndCursorOffset(String&, int&);
964 WebCore::IntRect getSelectionRect(bool);
965 void deleteSurroundingText(int, int);
967 void didCancelComposition();
968 void removeInputMethodContext(uintptr_t);
971 void setBackgroundColor(double red, double green, double blue, double alpha);
972 #if ENABLE(TIZEN_WEBKIT2_TILED_AC)
973 bool makeContextCurrent();
977 void didRenderFrame();
980 #if PLATFORM(GTK) && USE(TEXTURE_MAPPER_GL)
981 void widgetMapped(uint64_t nativeWindowId);
984 void setSuppressVisibilityUpdates(bool flag) { m_suppressVisibilityUpdates = flag; }
985 bool suppressVisibilityUpdates() { return m_suppressVisibilityUpdates; }
987 #if ENABLE(TIZEN_INPUT_COLOR_PICKER) // wait for upstream
988 #if ENABLE(INPUT_TYPE_COLOR)
989 void setColorChooserColor(const WebCore::Color&);
990 void endColorChooser();
994 #if ENABLE(TIZEN_MULTIPLE_SELECT)
995 void valueChangedForPopupMenuMultiple(WebPopupMenuProxy*, Vector<int32_t> newSelectedIndex);
998 #if ENABLE(TIZEN_NATIVE_MEMORY_SNAPSHOT)
999 void dumpMemorySnapshot();
1002 #if ENABLE(TIZEN_OFFLINE_PAGE_SAVE)
1003 void saveSerializedHTMLDataForMainPage(const String& serializedData, const String& fileName);
1004 void saveSubresourcesData(Vector<WebSubresourceTizen> subresourceData);
1005 void startOfflinePageSave(String subresourceFolderName);
1008 #if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
1009 bool selectClosestWord(const WebCore::IntPoint&);
1010 int setLeftSelection(const WebCore::IntPoint&, const int direction);
1011 int setRightSelection(const WebCore::IntPoint&, const int direction);
1012 bool getSelectionHandlers(WebCore::IntRect& leftRect, WebCore::IntRect& rightRect);
1013 String getSelectionText();
1014 bool selectionRangeClear();
1015 bool scrollContentByCharacter(const WebCore::IntPoint&, WebCore::SelectionDirection direction);
1016 bool scrollContentByLine(const WebCore::IntPoint&, WebCore::SelectionDirection direction);
1019 #if ENABLE(TIZEN_LINK_MAGNIFIER)
1020 void getLinkMagnifierRect(const WebCore::IntPoint&, const WebCore::IntSize&);
1021 void openLink(const WebCore::IntPoint&);
1024 #if ENABLE(TIZEN_SCREEN_READER)
1025 bool moveScreenReaderFocus(bool);
1026 void moveScreenReaderFocusByPoint(const WebCore::IntPoint&);
1027 void clearScreenReaderFocus();
1028 bool raiseTapEvent(const WebCore::IntPoint&);
1029 void adjustScreenReaderFocusedObjectValue(bool);
1030 void recalcScreenReaderFocusRect();
1031 void clearScreenReader();
1033 void didScreenReaderFocusRectChanged(const WebCore::IntRect&);
1034 void didScreenReaderTextChanged(const String&);
1037 #if ENABLE(TIZEN_CSP)
1038 void setContentSecurityPolicy(const String& policy, WebCore::ContentSecurityPolicy::HeaderType type);
1041 #if ENABLE(TIZEN_APPLICATION_CACHE)
1042 void replyApplicationCachePermission(bool allow);
1045 #if ENABLE(TIZEN_INDEXED_DATABASE)
1046 void replyExceededIndexedDatabaseQuota(bool allow);
1049 #if ENABLE(TIZEN_SQL_DATABASE)
1050 void replyExceededDatabaseQuota(bool allow);
1053 #if ENABLE(TIZEN_FILE_SYSTEM)
1054 void replyExceededLocalFileSystemQuota(bool allow);
1057 #if ENABLE(TIZEN_USE_SETTINGS_FONT)
1058 void useSettingsFont();
1062 WebPageProxy(PageClient*, PassRefPtr<WebProcessProxy>, WebPageGroup*, uint64_t pageID);
1064 virtual Type type() const { return APIType; }
1066 // WebPopupMenuProxy::Client
1067 virtual void valueChangedForPopupMenu(WebPopupMenuProxy*, int32_t newSelectedIndex);
1068 virtual void setTextFromItemForPopupMenu(WebPopupMenuProxy*, int32_t index);
1070 virtual void failedToShowPopupMenu();
1073 virtual void changeSelectedIndex(int32_t newSelectedIndex);
1074 virtual void closePopupMenu();
1077 // Implemented in generated WebPageProxyMessageReceiver.cpp
1078 void didReceiveWebPageProxyMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*);
1079 void didReceiveSyncWebPageProxyMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, OwnPtr<CoreIPC::ArgumentEncoder>&);
1081 void didCreateMainFrame(uint64_t frameID);
1082 void didCreateSubframe(uint64_t frameID, uint64_t parentFrameID);
1083 void didSaveFrameToPageCache(uint64_t frameID);
1084 void didRestoreFrameFromPageCache(uint64_t frameID, uint64_t parentFrameID);
1086 void didStartProvisionalLoadForFrame(uint64_t frameID, const String& url, const String& unreachableURL, CoreIPC::ArgumentDecoder*);
1087 void didReceiveServerRedirectForProvisionalLoadForFrame(uint64_t frameID, const String&, CoreIPC::ArgumentDecoder*);
1088 void didFailProvisionalLoadForFrame(uint64_t frameID, const WebCore::ResourceError&, CoreIPC::ArgumentDecoder*);
1089 void didCommitLoadForFrame(uint64_t frameID, const String& mimeType, bool frameHasCustomRepresentation, const PlatformCertificateInfo&, CoreIPC::ArgumentDecoder*);
1090 void didFinishDocumentLoadForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1091 void didFinishLoadForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1092 void didFailLoadForFrame(uint64_t frameID, const WebCore::ResourceError&, CoreIPC::ArgumentDecoder*);
1093 void didSameDocumentNavigationForFrame(uint64_t frameID, uint32_t sameDocumentNavigationType, const String&, CoreIPC::ArgumentDecoder*);
1094 void didReceiveTitleForFrame(uint64_t frameID, const String&, CoreIPC::ArgumentDecoder*);
1095 void didFirstLayoutForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1096 void didFirstVisuallyNonEmptyLayoutForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1097 void didNewFirstVisuallyNonEmptyLayout(CoreIPC::ArgumentDecoder*);
1098 void didRemoveFrameFromHierarchy(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1099 void didDisplayInsecureContentForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1100 void didRunInsecureContentForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1101 void didDetectXSSForFrame(uint64_t frameID, CoreIPC::ArgumentDecoder*);
1102 void frameDidBecomeFrameSet(uint64_t frameID, bool);
1103 void didStartProgress();
1104 void didChangeProgress(double);
1105 void didFinishProgress();
1107 #if ENABLE(TIZEN_PLUGIN_CUSTOM_REQUEST)
1108 void processPluginCustomRequest(const String& request, const String& msg);
1111 #if ENABLE(WEB_INTENTS)
1112 void didReceiveIntentForFrame(uint64_t frameID, const IntentData&, CoreIPC::ArgumentDecoder*);
1114 #if ENABLE(WEB_INTENTS_TAG)
1115 void registerIntentServiceForFrame(uint64_t frameID, const IntentServiceInfo&, CoreIPC::ArgumentDecoder*);
1118 #if ENABLE(TIZEN_DOWNLOAD_ATTRIBUTE)
1119 // Called by the web process through a message when the download need to be initiated from the web process.
1120 void startDownload(const WebCore::ResourceRequest&, const String& suggestedName = String());
1123 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);
1124 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*);
1125 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);
1126 void unableToImplementPolicy(uint64_t frameID, const WebCore::ResourceError&, CoreIPC::ArgumentDecoder* arguments);
1128 #if ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
1129 void willSubmitForm(uint64_t frameID, uint64_t sourceFrameID, const StringPairVector& textFieldValues, bool containsPasswordData, uint64_t listenerID, CoreIPC::ArgumentDecoder*);
1131 void willSubmitForm(uint64_t frameID, uint64_t sourceFrameID, const StringPairVector& textFieldValues, uint64_t listenerID, CoreIPC::ArgumentDecoder*);
1134 // Resource load client
1135 void didInitiateLoadForResource(uint64_t frameID, uint64_t resourceIdentifier, const WebCore::ResourceRequest&, bool pageIsProvisionallyLoading);
1136 void didSendRequestForResource(uint64_t frameID, uint64_t resourceIdentifier, const WebCore::ResourceRequest&, const WebCore::ResourceResponse& redirectResponse);
1137 void didReceiveResponseForResource(uint64_t frameID, uint64_t resourceIdentifier, const WebCore::ResourceResponse&);
1138 void didReceiveContentLengthForResource(uint64_t frameID, uint64_t resourceIdentifier, uint64_t contentLength);
1139 void didFinishLoadForResource(uint64_t frameID, uint64_t resourceIdentifier);
1140 void didFailLoadForResource(uint64_t frameID, uint64_t resourceIdentifier, const WebCore::ResourceError&);
1143 void createNewPage(const WebCore::ResourceRequest&, const WebCore::WindowFeatures&, uint32_t modifiers, int32_t mouseButton, uint64_t& newPageID, WebPageCreationParameters&);
1145 void closePage(bool stopResponsivenessTimer);
1147 void runJavaScriptAlert(uint64_t frameID, const String&, PassRefPtr<Messages::WebPageProxy::RunJavaScriptAlert::DelayedReply>);
1148 void runJavaScriptConfirm(uint64_t frameID, const String&, PassRefPtr<Messages::WebPageProxy::RunJavaScriptConfirm::DelayedReply>);
1149 void runJavaScriptPrompt(uint64_t frameID, const String&, const String&, PassRefPtr<Messages::WebPageProxy::RunJavaScriptPrompt::DelayedReply>);
1151 void runJavaScriptAlert(uint64_t frameID, const String&);
1152 void runJavaScriptConfirm(uint64_t frameID, const String&, bool& result);
1153 void runJavaScriptPrompt(uint64_t frameID, const String&, const String&, String& result);
1155 void shouldInterruptJavaScript(bool& result);
1156 void setStatusText(const String&);
1157 void mouseDidMoveOverElement(const WebHitTestResult::Data& hitTestResultData, uint32_t modifiers, CoreIPC::ArgumentDecoder*);
1158 void unavailablePluginButtonClicked(uint32_t opaquePluginUnavailabilityReason, const String& mimeType, const String& url, const String& pluginsPageURL);
1159 void setToolbarsAreVisible(bool toolbarsAreVisible);
1160 void getToolbarsAreVisible(bool& toolbarsAreVisible);
1161 void setMenuBarIsVisible(bool menuBarIsVisible);
1162 void getMenuBarIsVisible(bool& menuBarIsVisible);
1163 void setStatusBarIsVisible(bool statusBarIsVisible);
1164 void getStatusBarIsVisible(bool& statusBarIsVisible);
1165 void setIsResizable(bool isResizable);
1166 void getIsResizable(bool& isResizable);
1167 void setWindowFrame(const WebCore::FloatRect&);
1168 void getWindowFrame(WebCore::FloatRect&);
1169 void screenToWindow(const WebCore::IntPoint& screenPoint, WebCore::IntPoint& windowPoint);
1170 void windowToScreen(const WebCore::IntRect& viewRect, WebCore::IntRect& result);
1171 #if ENABLE(TIZEN_SUPPORT_BEFORE_UNLOAD_CONFIRM_PANEL)
1172 void runBeforeUnloadConfirmPanel(const String& message, uint64_t frameID, PassRefPtr<Messages::WebPageProxy::RunBeforeUnloadConfirmPanel::DelayedReply>);
1174 void runBeforeUnloadConfirmPanel(const String& message, uint64_t frameID, bool& shouldClose);
1176 void didChangeViewportProperties(const WebCore::ViewportAttributes&);
1177 void pageDidScroll();
1178 void runOpenPanel(uint64_t frameID, const WebCore::FileChooserSettings&);
1179 void printFrame(uint64_t frameID);
1180 #if ENABLE(TIZEN_SQL_DATABASE)
1181 void exceededDatabaseQuota(uint64_t frameID, const String& originIdentifier, const String& displayName, uint64_t expectedUsage, PassRefPtr<Messages::WebPageProxy::ExceededDatabaseQuota::DelayedReply>);
1183 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);
1185 #if ENABLE(TIZEN_APPLICATION_CACHE)
1186 void requestApplicationCachePermission(uint64_t frameID, const String& originIdentifier, PassRefPtr<Messages::WebPageProxy::RequestApplicationCachePermission::DelayedReply>);
1188 void requestGeolocationPermissionForFrame(uint64_t geolocationID, uint64_t frameID, String originIdentifier);
1190 void notifyScrollerThumbIsVisibleInRect(const WebCore::IntRect&);
1191 void recommendedScrollbarStyleDidChange(int32_t newStyle);
1192 void didChangeScrollbarsForMainFrame(bool hasHorizontalScrollbar, bool hasVerticalScrollbar);
1193 void didChangeScrollOffsetPinningForMainFrame(bool pinnedToLeftSide, bool pinnedToRightSide);
1195 void didChangeScrollPositionForMainFrame(const WebCore::IntPoint&);
1197 void didChangePageCount(unsigned);
1198 void didFailToInitializePlugin(const String& mimeType);
1199 void didBlockInsecurePluginVersion(const String& mimeType, const String& urlString);
1200 void setCanShortCircuitHorizontalWheelEvents(bool canShortCircuitHorizontalWheelEvents) { m_canShortCircuitHorizontalWheelEvents = canShortCircuitHorizontalWheelEvents; }
1202 void reattachToWebProcess();
1203 void reattachToWebProcessWithItem(WebBackForwardListItem*);
1205 void requestNotificationPermission(uint64_t notificationID, const String& originString);
1207 void showNotification(const String& title, const String& body, const String& iconURL, const String& tag, const String& originString, uint64_t notificationID);
1209 #if ENABLE(TIZEN_MEDIA_STREAM)
1210 void requestUserMediaPermission(uint64_t userMediaID);
1213 #if USE(TILED_BACKING_STORE)
1214 void pageDidRequestScroll(const WebCore::IntPoint&);
1217 #if ENABLE(TIZEN_WEBKIT2_HISTORICAL_RESTORE_VISIBLE_CONTENT_RECT)
1218 void pageDidRequestRestoreVisibleContentRect(const WebCore::IntPoint&, float);
1221 #if PLATFORM(QT) || OS(TIZEN)
1222 void didChangeContentsSize(const WebCore::IntSize&);
1223 void didFindZoomableArea(const WebCore::IntPoint&, const WebCore::IntRect&);
1225 #if ENABLE(TOUCH_EVENTS)
1226 void needTouchEvents(bool);
1229 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
1230 void didGetWebAppCapable(const bool capable, uint64_t callbackID);
1231 void didGetWebAppIconURL(const String& iconURL, uint64_t callbackID);
1232 void didGetWebAppIconURLs(const StringPairVector& iconURLs, uint64_t callbackID);
1234 #if ENABLE(TIZEN_ICON_DATABASE)
1235 void didReceiveIcon();
1238 #if ENABLE(INPUT_TYPE_COLOR)
1239 void showColorChooser(const WebCore::Color& initialColor);
1240 #if !ENABLE(TIZEN_INPUT_COLOR_PICKER) // wait for upstream
1241 void setColorChooserColor(const WebCore::Color&);
1242 void endColorChooser();
1244 void didChooseColor(const WebCore::Color&);
1245 void didEndColorChooser();
1248 void editorStateChanged(const EditorState&);
1250 // Back/Forward list management
1251 void backForwardAddItem(uint64_t itemID);
1252 void backForwardGoToItem(uint64_t itemID, SandboxExtension::Handle&);
1253 void backForwardItemAtIndex(int32_t index, uint64_t& itemID);
1254 void backForwardBackListCount(int32_t& count);
1255 void backForwardForwardListCount(int32_t& count);
1256 void backForwardClear();
1259 void registerEditCommandForUndo(uint64_t commandID, uint32_t editAction);
1260 void clearAllEditCommands();
1261 void canUndoRedo(uint32_t action, bool& result);
1262 void executeUndoRedo(uint32_t action, bool& result);
1264 // Keyboard handling
1266 void interpretQueuedKeyEvent(const EditorState&, bool& handled, Vector<WebCore::KeypressCommand>&);
1267 void executeSavedCommandBySelector(const String& selector, bool& handled);
1271 void getEditorCommandsForKeyEvent(const AtomicString&, Vector<String>&);
1272 void bindAccessibilityTree(const String&);
1275 void getEditorCommandsForKeyEvent(Vector<String>&);
1279 void showPopupMenu(const WebCore::IntRect& rect, uint64_t textDirection, const Vector<WebPopupItem>& items, int32_t selectedIndex, const PlatformPopupMenuData&);
1280 void hidePopupMenu();
1282 void setPopupMenuSelectedIndex(int32_t);
1284 #if ENABLE(TIZEN_WEBKIT2_POPUP_INTERNAL)
1285 void updatePopupMenu(uint64_t textDirection, const Vector<WebPopupItem>& items, int32_t selectedIndex);
1288 #if ENABLE(CONTEXT_MENUS)
1290 void showContextMenu(const WebCore::IntPoint& menuLocation, const WebHitTestResult::Data&, const Vector<WebContextMenuItemData>&, CoreIPC::ArgumentDecoder*);
1291 void internalShowContextMenu(const WebCore::IntPoint& menuLocation, const WebHitTestResult::Data&, const Vector<WebContextMenuItemData>&, CoreIPC::ArgumentDecoder*);
1294 // Search popup results
1295 void saveRecentSearches(const String&, const Vector<String>&);
1296 void loadRecentSearches(const String&, Vector<String>&);
1300 void getIsSpeaking(bool&);
1301 void speak(const String&);
1302 void stopSpeaking();
1305 void searchWithSpotlight(const String&);
1308 void didPerformDictionaryLookup(const String&, const DictionaryPopupInfo&);
1311 // Spelling and grammar.
1312 int64_t spellDocumentTag();
1313 #if USE(UNIFIED_TEXT_CHECKING)
1314 void checkTextOfParagraph(const String& text, uint64_t checkingTypes, Vector<WebCore::TextCheckingResult>& results);
1316 void checkSpellingOfString(const String& text, int32_t& misspellingLocation, int32_t& misspellingLength);
1317 void checkGrammarOfString(const String& text, Vector<WebCore::GrammarDetail>&, int32_t& badGrammarLocation, int32_t& badGrammarLength);
1318 void spellingUIIsShowing(bool&);
1319 void updateSpellingUIWithMisspelledWord(const String& misspelledWord);
1320 void updateSpellingUIWithGrammarString(const String& badGrammarPhrase, const WebCore::GrammarDetail&);
1321 void getGuessesForWord(const String& word, const String& context, Vector<String>& guesses);
1323 #if ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
1324 void textChangeInTextField(const String&, const String&);
1327 void learnWord(const String& word);
1328 void ignoreWord(const String& word);
1330 void setFocus(bool focused);
1331 void takeFocus(uint32_t direction);
1332 void setToolTip(const String&);
1333 void setCursor(const WebCore::Cursor&);
1334 void setCursorHiddenUntilMouseMoves(bool);
1336 void didReceiveEvent(uint32_t opaqueType, bool handled);
1337 void stopResponsivenessTimer();
1339 void voidCallback(uint64_t);
1340 void dataCallback(const CoreIPC::DataReference&, uint64_t);
1341 void stringCallback(const String&, uint64_t);
1342 void scriptValueCallback(const CoreIPC::DataReference&, uint64_t);
1343 void computedPagesCallback(const Vector<WebCore::IntRect>&, double totalScaleFactorForPrinting, uint64_t);
1344 void validateCommandCallback(const String&, bool, int, uint64_t);
1346 void printFinishedCallback(const WebCore::ResourceError&, uint64_t);
1349 void focusedFrameChanged(uint64_t frameID);
1350 void frameSetLargestFrameChanged(uint64_t frameID);
1352 void canAuthenticateAgainstProtectionSpaceInFrame(uint64_t frameID, const WebCore::ProtectionSpace&, bool& canAuthenticate);
1353 #if ENABLE(TIZEN_ON_AUTHENTICATION_REQUESTED)
1354 void didReceiveAuthenticationChallenge(uint64_t frameID, const WebCore::AuthenticationChallenge&, uint64_t challengeID, PassRefPtr<Messages::WebPageProxy::DidReceiveAuthenticationChallenge::DelayedReply>);
1356 void didReceiveAuthenticationChallenge(uint64_t frameID, const WebCore::AuthenticationChallenge&, uint64_t challengeID);
1359 void didFinishLoadingDataForCustomRepresentation(const String& suggestedFilename, const CoreIPC::DataReference&);
1362 void pluginFocusOrWindowFocusChanged(uint64_t pluginComplexTextInputIdentifier, bool pluginHasFocusAndWindowHasFocus);
1363 void setPluginComplexTextInputState(uint64_t pluginComplexTextInputIdentifier, uint64_t complexTextInputState);
1366 void clearPendingAPIRequestURL() { m_pendingAPIRequestURL = String(); }
1367 void setPendingAPIRequestURL(const String& pendingAPIRequestURL) { m_pendingAPIRequestURL = pendingAPIRequestURL; }
1369 bool maybeInitializeSandboxExtensionHandle(const WebCore::KURL&, SandboxExtension::Handle&);
1372 void substitutionsPanelIsShowing(bool&);
1373 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
1374 void showCorrectionPanel(int32_t panelType, const WebCore::FloatRect& boundingBoxOfReplacedString, const String& replacedString, const String& replacementString, const Vector<String>& alternativeReplacementStrings);
1375 void dismissCorrectionPanel(int32_t reason);
1376 void dismissCorrectionPanelSoon(int32_t reason, String& result);
1377 void recordAutocorrectionResponse(int32_t responseType, const String& replacedString, const String& replacementString);
1378 #endif // __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
1380 #if USE(DICTATION_ALTERNATIVES)
1381 void showDictationAlternativeUI(const WebCore::FloatRect& boundingBoxOfDictatedText, uint64_t dictationContext);
1382 void dismissDictationAlternativeUI();
1383 void removeDictationAlternatives(uint64_t dictationContext);
1384 void dictationAlternatives(uint64_t dictationContext, Vector<String>& result);
1386 #endif // PLATFORM(MAC)
1389 void didReceiveURIRequest(String uriString, uint64_t requestID);
1392 void clearLoadDependentCallbacks();
1394 void performDragControllerAction(DragControllerAction, WebCore::DragData*, const String& dragStorageName, const SandboxExtension::Handle&, const SandboxExtension::HandleArray&);
1396 void updateBackingStoreDiscardableState();
1399 void scheduleChildWindowGeometryUpdate(const WindowGeometry&);
1402 void setRenderTreeSize(uint64_t treeSize) { m_renderTreeSize = treeSize; }
1404 #if PLUGIN_ARCHITECTURE(X11)
1405 void createPluginContainer(uint64_t& windowID);
1406 void windowedPluginGeometryDidChange(const WebCore::IntRect& frameRect, const WebCore::IntRect& clipRect, uint64_t windowID);
1409 void processNextQueuedWheelEvent();
1410 void sendWheelEvent(const WebWheelEvent&);
1412 #if ENABLE(TIZEN_CERTIFICATE_HANDLING)
1413 void decidePolicyForCertificateError(const String& url, const String& certificate, int error, PassRefPtr<Messages::WebPageProxy::DecidePolicyForCertificateError::DelayedReply>);
1416 #if ENABLE(TIZEN_WEBKIT2_ROTATION_WHILE_JAVASCRIPT_POPUP)
1417 bool isWaitingForJavaScriptPopupReply();
1420 #if ENABLE(TIZEN_LINK_MAGNIFIER)
1421 void didGetLinkMagnifierRect(const WebCore::IntPoint&, const WebCore::IntRect&);
1424 #if ENABLE(TIZEN_INDEXED_DATABASE)
1425 void exceededIndexedDatabaseQuota(uint64_t frameID, const String& originIdentifier, int64_t currentUsage, PassRefPtr<Messages::WebPageProxy::ExceededIndexedDatabaseQuota::DelayedReply> reply);
1428 #if ENABLE(TIZEN_FILE_SYSTEM)
1429 void exceededLocalFileSystemQuota(uint64_t frameID, const String& originIdentifier, int64_t currentUsage, PassRefPtr<Messages::WebPageProxy::ExceededLocalFileSystemQuota::DelayedReply> reply);
1432 #if ENABLE(TIZEN_WEBKIT2_NOTIFY_SUSPEND_BY_REMOTE_WEB_INSPECTOR)
1433 void setContentSuspendedByInspector(bool);
1436 PageClient* m_pageClient;
1437 WebLoaderClient m_loaderClient;
1438 WebPolicyClient m_policyClient;
1439 WebFormClient m_formClient;
1440 WebResourceLoadClient m_resourceLoadClient;
1441 WebUIClient m_uiClient;
1442 WebFindClient m_findClient;
1443 WebFindMatchesClient m_findMatchesClient;
1444 #if ENABLE(CONTEXT_MENUS)
1445 WebPageContextMenuClient m_contextMenuClient;
1448 WebTizenClient m_tizenClient;
1451 OwnPtr<DrawingAreaProxy> m_drawingArea;
1452 RefPtr<WebProcessProxy> m_process;
1453 RefPtr<WebPageGroup> m_pageGroup;
1454 RefPtr<WebFrameProxy> m_mainFrame;
1455 RefPtr<WebFrameProxy> m_focusedFrame;
1456 RefPtr<WebFrameProxy> m_frameSetLargestFrame;
1459 String m_applicationNameForUserAgent;
1460 String m_customUserAgent;
1461 String m_customTextEncodingName;
1463 #if ENABLE(INSPECTOR)
1464 RefPtr<WebInspectorProxy> m_inspector;
1467 #if ENABLE(FULLSCREEN_API)
1468 RefPtr<WebFullScreenManagerProxy> m_fullScreenManager;
1471 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
1472 HashMap<uint64_t, RefPtr<BooleanCallback> > m_booleanCallbacks;
1473 HashMap<uint64_t, RefPtr<DictionaryCallback> > m_dictionaryCallbacks;
1475 HashMap<uint64_t, RefPtr<VoidCallback> > m_voidCallbacks;
1476 HashMap<uint64_t, RefPtr<DataCallback> > m_dataCallbacks;
1477 HashMap<uint64_t, RefPtr<StringCallback> > m_stringCallbacks;
1478 HashSet<uint64_t> m_loadDependentStringCallbackIDs;
1479 HashMap<uint64_t, RefPtr<ScriptValueCallback> > m_scriptValueCallbacks;
1480 HashMap<uint64_t, RefPtr<ComputedPagesCallback> > m_computedPagesCallbacks;
1481 HashMap<uint64_t, RefPtr<ValidateCommandCallback> > m_validateCommandCallbacks;
1483 HashMap<uint64_t, RefPtr<PrintFinishedCallback> > m_printFinishedCallbacks;
1485 #if ENABLE(TIZEN_WEB_STORAGE)
1486 HashMap<uint64_t, RefPtr<WebStorageQuotaCallback> > m_quotaCallbacks;
1489 HashSet<WebEditCommandProxy*> m_editCommandSet;
1492 HashSet<String> m_knownKeypressCommandNames;
1495 RefPtr<WebPopupMenuProxy> m_activePopupMenu;
1496 RefPtr<WebContextMenuProxy> m_activeContextMenu;
1497 WebHitTestResult::Data m_activeContextMenuHitTestResultData;
1498 RefPtr<WebOpenPanelResultListenerProxy> m_openPanelResultListener;
1499 GeolocationPermissionRequestManagerProxy m_geolocationPermissionRequestManager;
1500 NotificationPermissionRequestManagerProxy m_notificationPermissionRequestManager;
1501 #if ENABLE(TIZEN_MEDIA_STREAM)
1502 UserMediaPermissionRequestManagerProxy m_userMediaPermissionRequestManager;
1504 double m_estimatedProgress;
1506 // Whether the web page is contained in a top-level window.
1509 // Whether the page is visible; if the backing view is visible and inserted into a window.
1513 bool m_canGoForward;
1514 RefPtr<WebBackForwardList> m_backForwardList;
1516 bool m_maintainsInactiveSelection;
1520 String m_urlAtProcessExit;
1521 WebFrameProxy::LoadState m_loadStateAtProcessExit;
1523 EditorState m_editorState;
1525 double m_textZoomFactor;
1526 double m_pageZoomFactor;
1527 double m_pageScaleFactor;
1528 float m_intrinsicDeviceScaleFactor;
1529 float m_customDeviceScaleFactor;
1531 LayerHostingMode m_layerHostingMode;
1533 bool m_drawsBackground;
1534 bool m_drawsTransparentBackground;
1536 bool m_areMemoryCacheClientCallsEnabled;
1538 bool m_useFixedLayout;
1539 WebCore::IntSize m_fixedLayoutSize;
1541 WebCore::Page::Pagination::Mode m_paginationMode;
1542 bool m_paginationBehavesLikeColumns;
1543 double m_pageLength;
1544 double m_gapBetweenPages;
1546 // If the process backing the web page is alive and kicking.
1549 // Whether WebPageProxy::close() has been called on this page.
1552 // Whether it can run modal child web pages.
1555 bool m_isInPrintingMode;
1556 bool m_isPerformingDOMPrintOperation;
1558 bool m_inDecidePolicyForResponse;
1559 bool m_syncMimeTypePolicyActionIsValid;
1560 WebCore::PolicyAction m_syncMimeTypePolicyAction;
1561 uint64_t m_syncMimeTypePolicyDownloadID;
1563 bool m_inDecidePolicyForNavigationAction;
1564 bool m_syncNavigationActionPolicyActionIsValid;
1565 WebCore::PolicyAction m_syncNavigationActionPolicyAction;
1566 uint64_t m_syncNavigationActionPolicyDownloadID;
1568 #if ENABLE(TIZEN_WEBKIT2_ROTATION_WHILE_JAVASCRIPT_POPUP)
1569 #if ENABLE(GESTURE_EVENTS)
1570 Deque<QueuedUIEvents<WebGestureEvent> > m_gestureEventQueue;
1572 Deque<QueuedUIEvents<NativeWebKeyboardEvent> > m_keyEventQueue;
1574 #if ENABLE(GESTURE_EVENTS)
1575 Deque<WebGestureEvent> m_gestureEventQueue;
1577 Deque<NativeWebKeyboardEvent> m_keyEventQueue;
1579 Deque<NativeWebWheelEvent> m_wheelEventQueue;
1580 Deque<OwnPtr<Vector<NativeWebWheelEvent> > > m_currentlyProcessedWheelEvents;
1582 bool m_processingMouseMoveEvent;
1583 OwnPtr<NativeWebMouseEvent> m_nextMouseMoveEvent;
1584 OwnPtr<NativeWebMouseEvent> m_currentlyProcessedMouseDownEvent;
1586 #if ENABLE(TOUCH_EVENTS)
1587 bool m_needTouchEvents;
1588 #if ENABLE(TIZEN_WEBKIT2_ROTATION_WHILE_JAVASCRIPT_POPUP)
1589 Deque<QueuedUIEvents<NativeWebTouchEvent> > m_touchEventQueue;
1591 Deque<QueuedTouchEvents> m_touchEventQueue;
1594 #if ENABLE(INPUT_TYPE_COLOR)
1595 RefPtr<WebColorChooserProxy> m_colorChooser;
1596 #if ENABLE(TIZEN_INPUT_COLOR_PICKER) // wait for upstream
1597 RefPtr<WebColorPickerResultListenerProxy> m_colorPickerResultListener;
1600 #if ENABLE(TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION)
1601 bool m_isLoadingFinished; //if the page loading is finished, then set to true.
1607 bool m_isPageSuspended;
1610 bool m_isSmartInsertDeleteEnabled;
1614 String m_accessibilityPlugID;
1617 int64_t m_spellDocumentTag;
1618 bool m_hasSpellDocumentTag;
1619 unsigned m_pendingLearnOrIgnoreWordMessageCount;
1621 bool m_mainFrameHasCustomRepresentation;
1623 #if ENABLE(DRAG_SUPPORT)
1624 WebCore::DragSession m_currentDragSession;
1627 #if ENABLE(TIZEN_WEBKIT2_NOTIFY_SUSPEND_BY_REMOTE_WEB_INSPECTOR)
1628 bool m_contentSuspendedByInspector;
1631 String m_pendingAPIRequestURL;
1633 bool m_mainFrameHasHorizontalScrollbar;
1634 bool m_mainFrameHasVerticalScrollbar;
1636 // Whether horizontal wheel events can be handled directly for swiping purposes.
1637 bool m_canShortCircuitHorizontalWheelEvents;
1639 bool m_mainFrameIsPinnedToLeftSide;
1640 bool m_mainFrameIsPinnedToRightSide;
1643 WebCore::IntPoint m_scrollPosition;
1644 WebCore::IntSize m_contentsSize;
1646 unsigned m_pageCount;
1648 WebCore::IntRect m_visibleScrollerThumbRect;
1650 uint64_t m_renderTreeSize;
1652 static WKPageDebugPaintFlags s_debugPaintFlags;
1654 bool m_shouldSendEventsSynchronously;
1656 bool m_suppressVisibilityUpdates;
1658 float m_mediaVolume;
1661 WTF::HashSet<RefPtr<QtRefCountedNetworkRequestData> > m_applicationSchemeRequests;
1664 #if ENABLE(PAGE_VISIBILITY_API)
1665 WebCore::PageVisibilityState m_visibilityState;
1669 RefPtr<Messages::WebPageProxy::RunJavaScriptAlert::DelayedReply> m_alertReply;
1670 RefPtr<Messages::WebPageProxy::RunJavaScriptConfirm::DelayedReply> m_confirmReply;
1671 RefPtr<Messages::WebPageProxy::RunJavaScriptPrompt::DelayedReply> m_promptReply;
1672 #if ENABLE(TIZEN_SUPPORT_BEFORE_UNLOAD_CONFIRM_PANEL)
1673 RefPtr<Messages::WebPageProxy::RunBeforeUnloadConfirmPanel::DelayedReply> m_beforeUnloadConfirmPanelReply;
1675 #if ENABLE(TIZEN_APPLICATION_CACHE)
1676 RefPtr<Messages::WebPageProxy::RequestApplicationCachePermission::DelayedReply> m_applicationCacheReply;
1678 #if ENABLE(TIZEN_SQL_DATABASE)
1679 RefPtr<Messages::WebPageProxy::ExceededDatabaseQuota::DelayedReply> m_exceededDatabaseQuotaReply;
1683 #if ENABLE(TIZEN_ON_AUTHENTICATION_REQUESTED)
1684 RefPtr<Messages::WebPageProxy::DidReceiveAuthenticationChallenge::DelayedReply> m_AuthReply;
1687 #if ENABLE(TIZEN_CERTIFICATE_HANDLING)
1688 RefPtr<Messages::WebPageProxy::DecidePolicyForCertificateError::DelayedReply> m_allowedReply;
1691 #if ENABLE(TIZEN_REDUCE_KEY_LAGGING)
1692 Ecore_Timer* m_pageContentResumeTimer;
1695 #if ENABLE(TIZEN_ISF_PORT)
1696 bool m_didCancelCompositionFromWebProcess;
1699 #if ENABLE(TIZEN_INDEXED_DATABASE)
1700 RefPtr<Messages::WebPageProxy::ExceededIndexedDatabaseQuota::DelayedReply> m_exceededIndexedDatabaseQuotaReply;
1703 #if ENABLE(TIZEN_FILE_SYSTEM)
1704 RefPtr<Messages::WebPageProxy::ExceededLocalFileSystemQuota::DelayedReply> m_exceededLocalFileSystemQuotaReply;
1708 } // namespace WebKit
1710 #endif // WebPageProxy_h