| 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 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 if (!help_app_.get()) | 482 if (!help_app_.get()) |
| 483 help_app_ = new HelpAppLauncher(parent_window); | 483 help_app_ = new HelpAppLauncher(parent_window); |
| 484 help_app_->ShowHelpTopic(HelpAppLauncher::HELP_STATS_USAGE); | 484 help_app_->ShowHelpTopic(HelpAppLauncher::HELP_STATS_USAGE); |
| 485 } else if (source == system_security_settings_link_) { | 485 } else if (source == system_security_settings_link_) { |
| 486 TpmInfoView* view = | 486 TpmInfoView* view = |
| 487 new TpmInfoView(actor_->screen()->GetTpmPasswordStorage()); | 487 new TpmInfoView(actor_->screen()->GetTpmPasswordStorage()); |
| 488 view->Init(); | 488 view->Init(); |
| 489 views::Window* window = browser::CreateViewsWindow(parent_window, | 489 views::Window* window = browser::CreateViewsWindow(parent_window, |
| 490 gfx::Rect(), | 490 gfx::Rect(), |
| 491 view); | 491 view); |
| 492 window->SetIsAlwaysOnTop(true); | 492 window->SetAlwaysOnTop(true); |
| 493 window->Show(); | 493 window->Show(); |
| 494 } | 494 } |
| 495 } | 495 } |
| 496 | 496 |
| 497 //////////////////////////////////////////////////////////////////////////////// | 497 //////////////////////////////////////////////////////////////////////////////// |
| 498 // TabContentsDelegate implementation: | 498 // TabContentsDelegate implementation: |
| 499 | 499 |
| 500 // Convenience function. Queries |eula_view| for HTML title and, if it | 500 // Convenience function. Queries |eula_view| for HTML title and, if it |
| 501 // is ready, assigns it to |eula_label| and returns true so the caller | 501 // is ready, assigns it to |eula_label| and returns true so the caller |
| 502 // view calls Layout(). | 502 // view calls Layout(). |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 | 561 |
| 562 bool EulaView::CloseOnEscape() { | 562 bool EulaView::CloseOnEscape() { |
| 563 return true; | 563 return true; |
| 564 } | 564 } |
| 565 | 565 |
| 566 bool EulaView::FadeInOnShow() { | 566 bool EulaView::FadeInOnShow() { |
| 567 return false; | 567 return false; |
| 568 } | 568 } |
| 569 | 569 |
| 570 } // namespace chromeos | 570 } // namespace chromeos |
| OLD | NEW |