Fix, When the language is changed, the window not to do the show and active
[platform/framework/web/crosswalk-tizen.git] / runtime / browser / web_application.h
index d0af1aa..9dcaa08 100755 (executable)
@@ -41,6 +41,9 @@ class WebApplication : public WebView::EventListener {
  public:
   WebApplication(NativeWindow* window,
                  common::ApplicationData* app_data);
+  WebApplication(NativeWindow* window,
+                 common::ApplicationData* app_data,
+                 Ewk_Context* context);
   virtual ~WebApplication();
 
   void AppControl(std::unique_ptr<common::AppControl> appcontrol);
@@ -98,6 +101,9 @@ class WebApplication : public WebView::EventListener {
   virtual void OnRotaryEvent(
       WebView* view, RotaryEventType type);
 #endif  // ROTARY_EVENT_FEATURE_SUPPORT
+#ifdef MANUAL_ROTATE_FEATURE_SUPPORT
+  virtual void OnRotatePrepared(WebView* view);
+#endif // MANUAL_ROTATE_FEATURE_SUPPORT
 
  private:
   bool Initialize();
@@ -112,6 +118,7 @@ class WebApplication : public WebView::EventListener {
   bool debug_mode_;
   bool verbose_mode_;
   Ewk_Context* ewk_context_;
+  bool has_ownership_of_ewk_context_;
   NativeWindow* window_;
   std::string appid_;
   std::string app_data_path_;
@@ -124,6 +131,8 @@ class WebApplication : public WebView::EventListener {
   int security_model_version_;
   std::string csp_rule_;
   std::string csp_report_rule_;
+  bool lang_changed_mode_;
+
 };
 
 }  // namespace runtime