webengine/osswebengine/WebKit/s60/webview/WebFrame.h
branchRCL_3
changeset 48 79859ed3eea9
parent 47 e1bea15f9a39
child 49 919f36ff910f
equal deleted inserted replaced
47:e1bea15f9a39 48:79859ed3eea9
    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 notifyPluginsOfPositionChange();
    96     void notifyPluginsOfScrolling();
    97     void notifyPluginOfPositionChange(PluginSkin* plg);
    97     void notifyPluginOfScrolling(WebCore::RenderObject* renderer);
    98     PluginSkin* focusedPlugin();
    98     PluginSkin* focusedPlugin();
    99     WebFrame* frameAtPoint(const TPoint& pt_);
    99     WebFrame* frameAtPoint(const TPoint& pt_);
   100     void reCreatePlugins();
       
   101     
   100     
   102     // utility functions
   101     // utility functions
   103     int imageCount(bool visibleOnly_);
   102     int imageCount(bool visibleOnly_);
   104     CArrayFixFlat<TBrCtlImageCarrier>* imageData(bool visibleOnly_);
   103     CArrayFixFlat<TBrCtlImageCarrier>* imageData(bool visibleOnly_);
   105     CArrayFixFlat<TBrCtlSubscribeTo>* findSubscribeTo();
   104     CArrayFixFlat<TBrCtlSubscribeTo>* findSubscribeTo();
   106 
   105 
   107     void scalingFactorChanged(int factor);
   106     void scalingFactorChanged(int factor);
   108     void makeVisiblePlugins(TBool visible);
   107     void makeVisiblePlugins(TBool visible);
   109     bool executeScript(const WebCore::String& script);
   108     bool executeScript(const WebCore::String& script);
   110     WebCore::Node* getClosestAnchorElement(const TPoint& pt, TPoint& newPos);
   109     WebCore::Node* getClosestAnchorElement(const TPoint& pt, TPoint& newPos);
   111 
   110     
   112 	void ScrollOrPinchStatus(bool status);
   111     void setpluginToScroll(bool pluginScroll){m_pluginToScroll=pluginScroll;}
   113 	
   112     bool pluginToScroll(){return m_pluginToScroll;}
   114 	/**
   113     
   115     * Notify Flash Plugin FocusChangeEvent 
       
   116     */
       
   117 	void notifyPluginFocusChangeEvent(TBool visible);
       
   118 
       
   119 private:
   114 private:
   120     WebFrame(const WebFrame&);                    // not implemented
   115     WebFrame(const WebFrame&);                    // not implemented
   121     WebFrame& operator=(const WebFrame&);         // not implemented    
   116     WebFrame& operator=(const WebFrame&);         // not implemented    
   122 
   117 
   123     WebFrameView*                   m_view;              // the frame view
   118     WebFrameView*                   m_view;              // the frame view