diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/page/Page.h')
-rw-r--r-- | src/3rdparty/webkit/WebCore/page/Page.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/3rdparty/webkit/WebCore/page/Page.h b/src/3rdparty/webkit/WebCore/page/Page.h index de2b3f6..eedd24c 100644 --- a/src/3rdparty/webkit/WebCore/page/Page.h +++ b/src/3rdparty/webkit/WebCore/page/Page.h @@ -60,7 +60,7 @@ namespace WebCore { class PageGroup; class PluginData; class ProgressTracker; - class Selection; + class VisibleSelection; class SelectionController; #if ENABLE(DOM_STORAGE) class SessionStorage; @@ -70,7 +70,6 @@ namespace WebCore { class WMLPageState; #endif - enum TextCaseSensitivity { TextCaseSensitive, TextCaseInsensitive }; enum FindDirection { FindDirectionForward, FindDirectionBackward }; class Page : Noncopyable { @@ -138,7 +137,7 @@ namespace WebCore { OwnPtr<SchedulePairHashSet> m_scheduledRunLoopPairs; #endif - const Selection& selection() const; + const VisibleSelection& selection() const; void setDefersLoading(bool); bool defersLoading() const { return m_defersLoading; } @@ -154,13 +153,12 @@ namespace WebCore { float mediaVolume() const { return m_mediaVolume; } void setMediaVolume(float volume); + // Notifications when the Page starts and stops being presented via a native window. + void didMoveOnscreen(); + void willMoveOffscreen(); + void userStyleSheetLocationChanged(); const String& userStyleSheet() const; - - void changePendingUnloadEventCount(int delta); - unsigned pendingUnloadEventCount(); - void changePendingBeforeUnloadEventCount(int delta); - unsigned pendingBeforeUnloadEventCount(); static void setDebuggerForAllPages(JSC::Debugger*); void setDebugger(JSC::Debugger*); @@ -197,6 +195,9 @@ namespace WebCore { void setMemoryCacheClientCallsEnabled(bool); bool areMemoryCacheClientCallsEnabled() const { return m_areMemoryCacheClientCallsEnabled; } + void setJavaScriptURLsAreAllowed(bool); + bool javaScriptURLsAreAllowed() const; + private: void initGroup(); @@ -205,7 +206,7 @@ namespace WebCore { OwnPtr<DragController> m_dragController; OwnPtr<FocusController> m_focusController; OwnPtr<ContextMenuController> m_contextMenuController; - OwnPtr<InspectorController> m_inspectorController; + RefPtr<InspectorController> m_inspectorController; OwnPtr<Settings> m_settings; OwnPtr<ProgressTracker> m_progress; @@ -228,7 +229,9 @@ namespace WebCore { bool m_cookieEnabled; bool m_areMemoryCacheClientCallsEnabled; float m_mediaVolume; - + + bool m_javaScriptURLsAreAllowed; + InspectorController* m_parentInspectorController; String m_userStyleSheetPath; @@ -240,9 +243,6 @@ namespace WebCore { PageGroup* m_group; JSC::Debugger* m_debugger; - - unsigned m_pendingUnloadEventCount; - unsigned m_pendingBeforeUnloadEventCount; double m_customHTMLTokenizerTimeDelay; int m_customHTMLTokenizerChunkSize; |