X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Finspector%2FInspectorPageAgent.h;h=9be0d878ffdc2dcd8caa7b24ac535723e273746a;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=732b55661673f3c1586b577dcb485f1aa135bec0;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h b/src/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h index 732b556..9be0d87 100644 --- a/src/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h +++ b/src/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h @@ -83,6 +83,7 @@ public: // Settings overrides. void setTextAutosizingEnabled(bool); void setDeviceScaleAdjustment(float); + void setPreferCompositingToLCDTextEnabled(bool); static Vector importsForFrame(LocalFrame*); static bool cachedResourceContent(Resource*, String* result, bool* base64Encoded); @@ -104,12 +105,13 @@ public: virtual void getCookies(ErrorString*, RefPtr >& cookies) OVERRIDE; virtual void deleteCookie(ErrorString*, const String& cookieName, const String& url) OVERRIDE; virtual void getResourceTree(ErrorString*, RefPtr&) OVERRIDE; - virtual void getResourceContent(ErrorString*, const String& frameId, const String& url, PassRefPtr) OVERRIDE; + virtual void getResourceContent(ErrorString*, const String& frameId, const String& url, PassRefPtrWillBeRawPtr) OVERRIDE; virtual void searchInResource(ErrorString*, const String& frameId, const String& url, const String& query, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr >&) OVERRIDE; virtual void setDocumentContent(ErrorString*, const String& frameId, const String& html) OVERRIDE; virtual void setDeviceMetricsOverride(ErrorString*, int width, int height, double deviceScaleFactor, bool mobile, bool fitWindow, const double* optionalScale, const double* optionalOffsetX, const double* optionalOffsetY) OVERRIDE; virtual void clearDeviceMetricsOverride(ErrorString*) OVERRIDE; virtual void resetScrollAndPageScaleFactor(ErrorString*) OVERRIDE; + virtual void setPageScaleFactor(ErrorString*, double pageScaleFactor) OVERRIDE; virtual void setShowPaintRects(ErrorString*, bool show) OVERRIDE; virtual void setShowDebugBorders(ErrorString*, bool show) OVERRIDE; virtual void setShowFPSCounter(ErrorString*, bool show) OVERRIDE; @@ -119,6 +121,8 @@ public: virtual void setScriptExecutionDisabled(ErrorString*, bool) OVERRIDE; virtual void setTouchEmulationEnabled(ErrorString*, bool) OVERRIDE; virtual void setEmulatedMedia(ErrorString*, const String&) OVERRIDE; + virtual void startScreencast(ErrorString*, const String* format, const int* quality, const int* maxWidth, const int* maxHeight) OVERRIDE; + virtual void stopScreencast(ErrorString*) OVERRIDE; virtual void setShowViewportSizeOnResize(ErrorString*, bool show, const bool* showGrid) OVERRIDE; // InspectorInstrumentation API @@ -148,6 +152,7 @@ public: virtual void setFrontend(InspectorFrontend*) OVERRIDE; virtual void clearFrontend() OVERRIDE; virtual void restore() OVERRIDE; + virtual void discardAgent() OVERRIDE; // Cross-agents API Page* page() { return m_page; } @@ -163,6 +168,7 @@ public: const AtomicString& resourceSourceMapURL(const String& url); bool deviceMetricsOverrideEnabled(); void deviceOrPageScaleFactorChanged(); + bool screencastEnabled(); static DocumentLoader* assertDocumentLoader(ErrorString*, LocalFrame*); InspectorResourceContentLoader* resourceContentLoader() { return m_inspectorResourceContentLoader.get(); } void clearEditedResourcesContent(); @@ -181,7 +187,7 @@ private: void updateTouchEventEmulationInPage(bool); bool compositingEnabled(ErrorString*); - void getResourceContentAfterResourcesContentLoaded(const String& frameId, const String& url, PassRefPtr); + void getResourceContentAfterResourcesContentLoaded(const String& frameId, const String& url, PassRefPtrWillBeRawPtr); static bool dataContent(const char* data, unsigned size, const String& textEncodingName, bool withBase64Encode, String* result); @@ -211,11 +217,13 @@ private: bool m_originalTouchEnabled; bool m_originalDeviceSupportsMouse; bool m_originalDeviceSupportsTouch; + int m_originalMaxTouchPoints; bool m_embedderTextAutosizingEnabled; double m_embedderFontScaleFactor; + bool m_embedderPreferCompositingToLCDTextEnabled; - OwnPtr m_inspectorResourceContentLoader; + OwnPtrWillBeMember m_inspectorResourceContentLoader; HashMap m_editedResourceContent; };