// Settings overrides.
void setTextAutosizingEnabled(bool);
void setDeviceScaleAdjustment(float);
+ void setPreferCompositingToLCDTextEnabled(bool);
static Vector<Document*> importsForFrame(LocalFrame*);
static bool cachedResourceContent(Resource*, String* result, bool* base64Encoded);
virtual void getCookies(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Page::Cookie> >& cookies) OVERRIDE;
virtual void deleteCookie(ErrorString*, const String& cookieName, const String& url) OVERRIDE;
virtual void getResourceTree(ErrorString*, RefPtr<TypeBuilder::Page::FrameResourceTree>&) OVERRIDE;
- virtual void getResourceContent(ErrorString*, const String& frameId, const String& url, PassRefPtr<GetResourceContentCallback>) OVERRIDE;
+ virtual void getResourceContent(ErrorString*, const String& frameId, const String& url, PassRefPtrWillBeRawPtr<GetResourceContentCallback>) OVERRIDE;
virtual void searchInResource(ErrorString*, const String& frameId, const String& url, const String& query, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >&) 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;
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
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; }
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();
void updateTouchEventEmulationInPage(bool);
bool compositingEnabled(ErrorString*);
- void getResourceContentAfterResourcesContentLoaded(const String& frameId, const String& url, PassRefPtr<GetResourceContentCallback>);
+ void getResourceContentAfterResourcesContentLoaded(const String& frameId, const String& url, PassRefPtrWillBeRawPtr<GetResourceContentCallback>);
static bool dataContent(const char* data, unsigned size, const String& textEncodingName, bool withBase64Encode, String* result);
bool m_originalTouchEnabled;
bool m_originalDeviceSupportsMouse;
bool m_originalDeviceSupportsTouch;
+ int m_originalMaxTouchPoints;
bool m_embedderTextAutosizingEnabled;
double m_embedderFontScaleFactor;
+ bool m_embedderPreferCompositingToLCDTextEnabled;
- OwnPtr<InspectorResourceContentLoader> m_inspectorResourceContentLoader;
+ OwnPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceContentLoader;
HashMap<String, String> m_editedResourceContent;
};