| 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 22 matching lines...) Expand all Loading... |
| 33 #include "grit/chromium_strings.h" | 33 #include "grit/chromium_strings.h" |
| 34 #include "grit/generated_resources.h" | 34 #include "grit/generated_resources.h" |
| 35 #include "grit/locale_settings.h" | 35 #include "grit/locale_settings.h" |
| 36 #include "grit/theme_resources.h" | 36 #include "grit/theme_resources.h" |
| 37 #include "ui/base/l10n/l10n_util.h" | 37 #include "ui/base/l10n/l10n_util.h" |
| 38 #include "ui/base/resource/resource_bundle.h" | 38 #include "ui/base/resource/resource_bundle.h" |
| 39 #include "views/controls/button/checkbox.h" | 39 #include "views/controls/button/checkbox.h" |
| 40 #include "views/controls/label.h" | 40 #include "views/controls/label.h" |
| 41 #include "views/controls/throbber.h" | 41 #include "views/controls/throbber.h" |
| 42 #include "views/grid_layout.h" | 42 #include "views/grid_layout.h" |
| 43 #include "views/layout/layout_constants.h" |
| 43 #include "views/layout/layout_manager.h" | 44 #include "views/layout/layout_manager.h" |
| 44 #include "views/standard_layout.h" | |
| 45 #include "views/widget/widget_gtk.h" | 45 #include "views/widget/widget_gtk.h" |
| 46 #include "views/window/dialog_delegate.h" | 46 #include "views/window/dialog_delegate.h" |
| 47 #include "views/window/window.h" | 47 #include "views/window/window.h" |
| 48 | 48 |
| 49 using views::WidgetGtk; | 49 using views::WidgetGtk; |
| 50 | 50 |
| 51 namespace { | 51 namespace { |
| 52 | 52 |
| 53 const int kBorderSize = 10; | 53 const int kBorderSize = 10; |
| 54 const int kCheckboxWidth = 20; | 54 const int kCheckboxWidth = 20; |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 bool EulaView::OnKeyPressed(const views::KeyEvent&) { | 533 bool EulaView::OnKeyPressed(const views::KeyEvent&) { |
| 534 // Close message bubble if shown. bubble_ will be set to NULL in callback. | 534 // Close message bubble if shown. bubble_ will be set to NULL in callback. |
| 535 if (bubble_) { | 535 if (bubble_) { |
| 536 bubble_->Close(); | 536 bubble_->Close(); |
| 537 return true; | 537 return true; |
| 538 } | 538 } |
| 539 return false; | 539 return false; |
| 540 } | 540 } |
| 541 | 541 |
| 542 } // namespace chromeos | 542 } // namespace chromeos |
| OLD | NEW |