WebCore/page/Page.h
changeset 2 303757a437d3
parent 0 4f2f89ce4247
equal deleted inserted replaced
0:4f2f89ce4247 2:303757a437d3
   157         void setSpeechInputClient(SpeechInputClient* client) { m_speechInputClient = client; }
   157         void setSpeechInputClient(SpeechInputClient* client) { m_speechInputClient = client; }
   158         SpeechInputClient* speechInputClient() const { return m_speechInputClient; }
   158         SpeechInputClient* speechInputClient() const { return m_speechInputClient; }
   159 #endif
   159 #endif
   160         Settings* settings() const { return m_settings.get(); }
   160         Settings* settings() const { return m_settings.get(); }
   161         ProgressTracker* progress() const { return m_progress.get(); }
   161         ProgressTracker* progress() const { return m_progress.get(); }
       
   162 
       
   163 
       
   164         enum ViewMode {
       
   165             ViewModeInvalid,
       
   166             ViewModeWindowed,
       
   167             ViewModeFloating,
       
   168             ViewModeFullscreen,
       
   169             ViewModeMaximized,
       
   170             ViewModeMinimized
       
   171         };
       
   172         static ViewMode stringToViewMode(const String&);
       
   173 
       
   174         ViewMode viewMode() const { return m_viewMode; }
       
   175         void setViewMode(ViewMode);
   162         
   176         
   163         void setTabKeyCyclesThroughElements(bool b) { m_tabKeyCyclesThroughElements = b; }
   177         void setTabKeyCyclesThroughElements(bool b) { m_tabKeyCyclesThroughElements = b; }
   164         bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughElements; }
   178         bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughElements; }
   165 
   179 
   166         bool findString(const String&, TextCaseSensitivity, FindDirection, bool shouldWrap);
   180         bool findString(const String&, TextCaseSensitivity, FindDirection, bool shouldWrap);
   331 #endif
   345 #endif
   332 
   346 
   333 #if ENABLE(NOTIFICATIONS)
   347 #if ENABLE(NOTIFICATIONS)
   334         NotificationPresenter* m_notificationPresenter;
   348         NotificationPresenter* m_notificationPresenter;
   335 #endif
   349 #endif
       
   350 
       
   351         ViewMode m_viewMode;
   336     };
   352     };
   337 
   353 
   338 } // namespace WebCore
   354 } // namespace WebCore
   339     
   355     
   340 #endif // Page_h
   356 #endif // Page_h