equal
deleted
inserted
replaced
26 #include <brctldefs.h> |
26 #include <brctldefs.h> |
27 #include "PageScaler.h" |
27 #include "PageScaler.h" |
28 #include "Timer.h" |
28 #include "Timer.h" |
29 #include <MemoryManager.h> |
29 #include <MemoryManager.h> |
30 #include <stmgesturelistener.h> |
30 #include <stmgesturelistener.h> |
|
31 #include <kjs_window.h> |
31 |
32 |
32 namespace WebCore |
33 namespace WebCore |
33 { |
34 { |
34 class String; |
35 class String; |
35 class Page; |
36 class Page; |
37 class FormState; |
38 class FormState; |
38 class Element; |
39 class Element; |
39 class Frame; |
40 class Frame; |
40 } |
41 } |
41 |
42 |
42 namespace KJS |
|
43 { |
|
44 class PausedTimeouts; |
|
45 } |
|
46 |
43 |
47 class CPluginHandler; |
44 class CPluginHandler; |
48 class WebPreferences; |
45 class WebPreferences; |
49 class WebBackForwardList; |
46 class WebBackForwardList; |
50 class WebScriptObject; |
47 class WebScriptObject; |
538 void wait(double t); |
535 void wait(double t); |
539 |
536 |
540 // JavaScript timers - pause and resume |
537 // JavaScript timers - pause and resume |
541 void pauseJsTimers(); |
538 void pauseJsTimers(); |
542 void resumeJsTimers(); |
539 void resumeJsTimers(); |
543 bool jsTimersPaused() { return (m_jsTimeouts) ? true : false; } |
540 bool jsTimersPaused() { return m_jsPaused; } |
544 void resetJsTimers() { m_jsTimeouts = 0; } |
541 void resetJsTimers(); |
545 |
542 |
546 WebCoreGraphicsContext* getGraphicsContext() {return m_webcorecontext; } |
543 WebCoreGraphicsContext* getGraphicsContext() {return m_webcorecontext; } |
547 private: |
544 private: |
548 WebCore::Page* m_page; |
545 WebCore::Page* m_page; |
549 WebFrameView* m_frameView; |
546 WebFrameView* m_frameView; |
643 CPeriodic *m_checkerBoardDestroyTimer; |
640 CPeriodic *m_checkerBoardDestroyTimer; |
644 |
641 |
645 TBool m_isPinchZoomOut; |
642 TBool m_isPinchZoomOut; |
646 |
643 |
647 // JavaScript (DOMWindowTimer) timers |
644 // JavaScript (DOMWindowTimer) timers |
648 KJS::PausedTimeouts* m_jsTimeouts; |
645 Vector<std::pair<RefPtr<WebCore::Frame>, KJS::PausedTimeouts*>, 16> *m_pausedTimeouts; |
|
646 TBool m_jsPaused; |
649 |
647 |
650 TBool m_scrollingstatus; |
648 TBool m_scrollingstatus; |
651 }; |
649 }; |
652 |
650 |
653 #endif |
651 #endif |