OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/chromeos/login/eula_view.h" | 5 #include "chrome/browser/chromeos/login/eula_view.h" |
6 | 6 |
7 #include <signal.h> | 7 #include <signal.h> |
8 #include <sys/types.h> | 8 #include <sys/types.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/browser/chromeos/login/help_app_launcher.h" | 21 #include "chrome/browser/chromeos/login/help_app_launcher.h" |
22 #include "chrome/browser/chromeos/login/helper.h" | 22 #include "chrome/browser/chromeos/login/helper.h" |
23 #include "chrome/browser/chromeos/login/login_utils.h" | 23 #include "chrome/browser/chromeos/login/login_utils.h" |
24 #include "chrome/browser/chromeos/login/network_screen_delegate.h" | 24 #include "chrome/browser/chromeos/login/network_screen_delegate.h" |
25 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" | 25 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" |
26 #include "chrome/browser/chromeos/login/wizard_controller.h" | 26 #include "chrome/browser/chromeos/login/wizard_controller.h" |
27 #include "chrome/browser/chromeos/metrics_cros_settings_provider.h" | 27 #include "chrome/browser/chromeos/metrics_cros_settings_provider.h" |
28 #include "chrome/browser/profiles/profile_manager.h" | 28 #include "chrome/browser/profiles/profile_manager.h" |
29 #include "chrome/browser/ui/views/dom_view.h" | 29 #include "chrome/browser/ui/views/dom_view.h" |
30 #include "chrome/browser/ui/views/window.h" | 30 #include "chrome/browser/ui/views/window.h" |
31 #include "chrome/common/native_web_keyboard_event.h" | |
32 #include "chrome/common/url_constants.h" | 31 #include "chrome/common/url_constants.h" |
33 #include "content/browser/site_instance.h" | 32 #include "content/browser/site_instance.h" |
34 #include "content/browser/tab_contents/tab_contents.h" | 33 #include "content/browser/tab_contents/tab_contents.h" |
| 34 #include "content/common/native_web_keyboard_event.h" |
35 #include "grit/chromium_strings.h" | 35 #include "grit/chromium_strings.h" |
36 #include "grit/generated_resources.h" | 36 #include "grit/generated_resources.h" |
37 #include "grit/locale_settings.h" | 37 #include "grit/locale_settings.h" |
38 #include "grit/theme_resources.h" | 38 #include "grit/theme_resources.h" |
39 #include "ui/base/l10n/l10n_util.h" | 39 #include "ui/base/l10n/l10n_util.h" |
40 #include "ui/base/resource/resource_bundle.h" | 40 #include "ui/base/resource/resource_bundle.h" |
41 #include "views/controls/button/checkbox.h" | 41 #include "views/controls/button/checkbox.h" |
42 #include "views/controls/label.h" | 42 #include "views/controls/label.h" |
43 #include "views/controls/throbber.h" | 43 #include "views/controls/throbber.h" |
44 #include "views/layout/grid_layout.h" | 44 #include "views/layout/grid_layout.h" |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 bool EulaView::OnKeyPressed(const views::KeyEvent&) { | 526 bool EulaView::OnKeyPressed(const views::KeyEvent&) { |
527 // Close message bubble if shown. bubble_ will be set to NULL in callback. | 527 // Close message bubble if shown. bubble_ will be set to NULL in callback. |
528 if (bubble_) { | 528 if (bubble_) { |
529 bubble_->Close(); | 529 bubble_->Close(); |
530 return true; | 530 return true; |
531 } | 531 } |
532 return false; | 532 return false; |
533 } | 533 } |
534 | 534 |
535 } // namespace chromeos | 535 } // namespace chromeos |
OLD | NEW |