| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DIALOG_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h" | 9 #include "components/app_modal_dialogs/native_app_modal_dialog.h" |
| 10 #include "ui/views/window/dialog_delegate.h" | 10 #include "ui/views/window/dialog_delegate.h" |
| 11 | 11 |
| 12 class JavaScriptAppModalDialog; | 12 class JavaScriptAppModalDialog; |
| 13 | 13 |
| 14 #if defined(USE_X11) && !defined(OS_CHROMEOS) | 14 #if defined(USE_X11) && !defined(OS_CHROMEOS) |
| 15 class JavascriptAppModalEventBlockerX11; | 15 class JavascriptAppModalEventBlockerX11; |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 namespace views { | 18 namespace views { |
| 19 class MessageBoxView; | 19 class MessageBoxView; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 #if defined(USE_X11) && !defined(OS_CHROMEOS) | 62 #if defined(USE_X11) && !defined(OS_CHROMEOS) |
| 63 // Blocks events to other browser windows while the dialog is open. | 63 // Blocks events to other browser windows while the dialog is open. |
| 64 scoped_ptr<JavascriptAppModalEventBlockerX11> event_blocker_x11_; | 64 scoped_ptr<JavascriptAppModalEventBlockerX11> event_blocker_x11_; |
| 65 #endif | 65 #endif |
| 66 | 66 |
| 67 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialogViews); | 67 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialogViews); |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 #endif // CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_ | 70 #endif // CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_ |
| OLD | NEW |