| 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 #include "components/app_modal/views/javascript_app_modal_dialog_views.h" | 5 #include "components/app_modal/views/javascript_app_modal_dialog_views.h" |
| 6 | 6 |
| 7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 8 #include "components/app_modal/javascript_app_modal_dialog.h" | 8 #include "components/app_modal/javascript_app_modal_dialog.h" |
| 9 #include "components/constrained_window/constrained_window_views.h" | 9 #include "components/constrained_window/constrained_window_views.h" |
| 10 #include "grit/components_strings.h" | 10 #include "components/strings/grit/components_strings.h" |
| 11 #include "ui/base/l10n/l10n_util.h" | 11 #include "ui/base/l10n/l10n_util.h" |
| 12 #include "ui/events/keycodes/keyboard_codes.h" | 12 #include "ui/events/keycodes/keyboard_codes.h" |
| 13 #include "ui/views/controls/message_box_view.h" | 13 #include "ui/views/controls/message_box_view.h" |
| 14 #include "ui/views/controls/textfield/textfield.h" | 14 #include "ui/views/controls/textfield/textfield.h" |
| 15 #include "ui/views/widget/widget.h" | 15 #include "ui/views/widget/widget.h" |
| 16 #include "ui/views/window/dialog_client_view.h" | 16 #include "ui/views/window/dialog_client_view.h" |
| 17 | 17 |
| 18 namespace app_modal { | 18 namespace app_modal { |
| 19 | 19 |
| 20 //////////////////////////////////////////////////////////////////////////////// | 20 //////////////////////////////////////////////////////////////////////////////// |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 152 |
| 153 views::Widget* JavaScriptAppModalDialogViews::GetWidget() { | 153 views::Widget* JavaScriptAppModalDialogViews::GetWidget() { |
| 154 return message_box_view_->GetWidget(); | 154 return message_box_view_->GetWidget(); |
| 155 } | 155 } |
| 156 | 156 |
| 157 const views::Widget* JavaScriptAppModalDialogViews::GetWidget() const { | 157 const views::Widget* JavaScriptAppModalDialogViews::GetWidget() const { |
| 158 return message_box_view_->GetWidget(); | 158 return message_box_view_->GetWidget(); |
| 159 } | 159 } |
| 160 | 160 |
| 161 } // namespace app_modal | 161 } // namespace app_modal |
| OLD | NEW |