webengine/osswebengine/WebCore/platform/symbian/StaticObjectsContainer.h
changeset 5 10e98eab6f85
parent 1 7c90e6132015
child 10 a359256acfc6
equal deleted inserted replaced
1:7c90e6132015 5:10e98eab6f85
    17 
    17 
    18 
    18 
    19 #ifndef __STATICOBJECTCONTAINER_H__
    19 #ifndef __STATICOBJECTCONTAINER_H__
    20 #define __STATICOBJECTCONTAINER_H__
    20 #define __STATICOBJECTCONTAINER_H__
    21 
    21 
       
    22 #include <Browser_Platform_Variant.hrh>
    22 #include <e32base.h>
    23 #include <e32base.h>
    23 #include <e32std.h>
    24 #include <e32std.h>
    24 #include <wtf/Noncopyable.h>
    25 #include <wtf/Noncopyable.h>
    25 #include <wtf/HashMap.h>
    26 #include <wtf/HashMap.h>
    26 #include <../bidi.h>
    27 #include <../bidi.h>
    32 class WebSurface;
    33 class WebSurface;
    33 class WebCursor;
    34 class WebCursor;
    34 class PluginHandler;
    35 class PluginHandler;
    35 class WebCannedImages;
    36 class WebCannedImages;
    36 class CBrCtl;
    37 class CBrCtl;
       
    38 class MWidgetEngineBridge;
       
    39 class MDeviceBridge;
    37 
    40 
    38 namespace WebCore {
    41 namespace WebCore {
    39 
    42 class RenderThemeSymbian;
       
    43 class RenderTheme;
    40 typedef enum
    44 typedef enum
    41     {
    45     {
    42     ELowScreenResolution,
    46     ELowScreenResolution,
    43     EMediumScreenResolution,
    47     EMediumScreenResolution,
    44     EHighScreenResolution
    48     EHighScreenResolution
    66     WebCursor* webCursor();
    70     WebCursor* webCursor();
    67     WebCannedImages* webCannedImages();
    71     WebCannedImages* webCannedImages();
    68     PluginHandler* pluginHandler();
    72     PluginHandler* pluginHandler();
    69     void setPluginFullscreen(bool val) { m_pluginFullscreen = val; }
    73     void setPluginFullscreen(bool val) { m_pluginFullscreen = val; }
    70     bool isPluginFullscreen() { return m_pluginFullscreen; }
    74     bool isPluginFullscreen() { return m_pluginFullscreen; }
    71 
    75 #if defined(BRDO_LIW_FF)
       
    76     MDeviceBridge* getDeviceBridgeL();
       
    77 #endif     
       
    78     MWidgetEngineBridge* getWidgetEngineBridgeL();
       
    79     RenderTheme* theme();
       
    80     
    72     virtual ~StaticObjectsContainer();
    81     virtual ~StaticObjectsContainer();
    73 
    82 
    74     void ref(CBrCtl& brctl);
    83     void ref(CBrCtl& brctl);
    75     void deref(CBrCtl& brctl);
    84     void deref(CBrCtl& brctl);
    76     void setCapabilities (unsigned int capabilities)    {m_capabilities = capabilities;}
    85     void setCapabilities (unsigned int capabilities)    {m_capabilities = capabilities;}
    99     unsigned int            m_capabilities;
   108     unsigned int            m_capabilities;
   100     Vector<CBrCtl*>         m_activeBrCtls;
   109     Vector<CBrCtl*>         m_activeBrCtls;
   101     OOMHandler*             m_oomHandler;
   110     OOMHandler*             m_oomHandler;
   102     bool                    m_fullScreenMode;
   111     bool                    m_fullScreenMode;
   103     bool                    m_pluginFullscreen;
   112     bool                    m_pluginFullscreen;
       
   113     RLibrary                m_widgetLibrary;
       
   114 #if defined(BRDO_LIW_FF)
       
   115     RLibrary                m_deviceLibrary;
       
   116 #endif
       
   117     RenderThemeSymbian*	    m_symbianTheme;
   104 };
   118 };
   105 
   119 
   106 }
   120 }
   107 
   121 
   108 #endif //!__STATICOBJECTCONTAINER_H__
   122 #endif //!__STATICOBJECTCONTAINER_H__