| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_EVENT_BLOCKER_X11_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_EVENT_BLOCKER_X11_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_EVENT_BLOCKER_X11_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_EVENT_BLOCKER_X11_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "ui/events/event_handler.h" | 9 #include "ui/events/event_handler.h" |
| 9 | 10 |
| 10 class BrowserView; | 11 class BrowserView; |
| 11 | 12 |
| 12 namespace aura { | 13 namespace aura { |
| 13 class Window; | 14 class Window; |
| 14 } | 15 } |
| 15 | 16 |
| 16 // JavascriptAppModalEventBlockerX11 blocks events to all browser windows except | 17 // JavascriptAppModalEventBlockerX11 blocks events to all browser windows except |
| 17 // the browser window which hosts |app_modal_window| for the duration of its | 18 // the browser window which hosts |app_modal_window| for the duration of its |
| (...skipping 18 matching lines...) Expand all Loading... |
| 36 // The app modal dialog. | 37 // The app modal dialog. |
| 37 aura::Window* modal_window_; | 38 aura::Window* modal_window_; |
| 38 | 39 |
| 39 // The BrowserView which hosts the app modal dialog. | 40 // The BrowserView which hosts the app modal dialog. |
| 40 BrowserView* browser_view_with_modal_dialog_; | 41 BrowserView* browser_view_with_modal_dialog_; |
| 41 | 42 |
| 42 DISALLOW_COPY_AND_ASSIGN(JavascriptAppModalEventBlockerX11); | 43 DISALLOW_COPY_AND_ASSIGN(JavascriptAppModalEventBlockerX11); |
| 43 }; | 44 }; |
| 44 | 45 |
| 45 #endif // CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_EVENT_BLOCKER_X11_H_ | 46 #endif // CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_EVENT_BLOCKER_X11_H_ |
| OLD | NEW |