91 bool isIframe() const; |
91 bool isIframe() const; |
92 bool isFrameSet() const; |
92 bool isFrameSet() const; |
93 |
93 |
94 void paintRect(WebCoreGraphicsContext& gc, const TRect& r); |
94 void paintRect(WebCoreGraphicsContext& gc, const TRect& r); |
95 |
95 |
96 void notifyPluginsOfScrolling(); |
96 void notifyPluginsOfPositionChange(); |
97 void notifyPluginOfScrolling(WebCore::RenderObject* renderer); |
97 void notifyPluginOfPositionChange(PluginSkin* plg); |
98 PluginSkin* focusedPlugin(); |
98 PluginSkin* focusedPlugin(); |
99 WebFrame* frameAtPoint(const TPoint& pt_); |
99 WebFrame* frameAtPoint(const TPoint& pt_); |
|
100 void reCreatePlugins(); |
100 |
101 |
101 // utility functions |
102 // utility functions |
102 int imageCount(bool visibleOnly_); |
103 int imageCount(bool visibleOnly_); |
103 CArrayFixFlat<TBrCtlImageCarrier>* imageData(bool visibleOnly_); |
104 CArrayFixFlat<TBrCtlImageCarrier>* imageData(bool visibleOnly_); |
104 CArrayFixFlat<TBrCtlSubscribeTo>* findSubscribeTo(); |
105 CArrayFixFlat<TBrCtlSubscribeTo>* findSubscribeTo(); |
105 |
106 |
106 void scalingFactorChanged(int factor); |
107 void scalingFactorChanged(int factor); |
107 void makeVisiblePlugins(TBool visible); |
108 void makeVisiblePlugins(TBool visible); |
108 bool executeScript(const WebCore::String& script); |
109 bool executeScript(const WebCore::String& script); |
109 WebCore::Node* getClosestAnchorElement(const TPoint& pt, TPoint& newPos); |
110 WebCore::Node* getClosestAnchorElement(const TPoint& pt, TPoint& newPos); |
110 |
111 |
111 void setpluginToScroll(bool pluginScroll){m_pluginToScroll=pluginScroll;} |
112 void ScrollOrPinchStatus(bool status); |
112 bool pluginToScroll(){return m_pluginToScroll;} |
113 |
113 |
114 /** |
|
115 * Notify Flash Plugin FocusChangeEvent |
|
116 */ |
|
117 void notifyPluginFocusChangeEvent(TBool visible); |
|
118 |
114 private: |
119 private: |
115 WebFrame(const WebFrame&); // not implemented |
120 WebFrame(const WebFrame&); // not implemented |
116 WebFrame& operator=(const WebFrame&); // not implemented |
121 WebFrame& operator=(const WebFrame&); // not implemented |
117 |
122 |
118 WebFrameView* m_view; // the frame view |
123 WebFrameView* m_view; // the frame view |