Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / javascript_app_modal_dialog_views.h
index e18d772..d5d43dc 100644 (file)
 
 class JavaScriptAppModalDialog;
 
+#if defined(USE_X11) && !defined(OS_CHROMEOS)
+class JavascriptAppModalEventBlockerX11;
+#endif
+
 namespace views {
 class MessageBoxView;
 }
@@ -55,6 +59,11 @@ class JavaScriptAppModalDialogViews : public NativeAppModalDialog,
   // The message box view whose commands we handle.
   views::MessageBoxView* message_box_view_;
 
+#if defined(USE_X11) && !defined(OS_CHROMEOS)
+  // Blocks events to other browser windows while the dialog is open.
+  scoped_ptr<JavascriptAppModalEventBlockerX11> event_blocker_x11_;
+#endif
+
   DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialogViews);
 };