| 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 "chrome/browser/chromeos/login/simple_web_view_dialog.h" | 5 #include "chrome/browser/chromeos/login/simple_web_view_dialog.h" |
| 6 | 6 |
| 7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "ash/shell_window_ids.h" | 8 #include "ash/shell_window_ids.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
| 11 #include "chrome/app/chrome_command_ids.h" | 11 #include "chrome/app/chrome_command_ids.h" |
| 12 #include "chrome/browser/chromeos/login/captive_portal_window_proxy.h" | 12 #include "chrome/browser/chromeos/login/captive_portal_window_proxy.h" |
| 13 #include "chrome/browser/command_updater.h" |
| 13 #include "chrome/browser/password_manager/password_manager.h" | 14 #include "chrome/browser/password_manager/password_manager.h" |
| 14 #include "chrome/browser/password_manager/password_manager_delegate_impl.h" | 15 #include "chrome/browser/password_manager/password_manager_delegate_impl.h" |
| 15 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
| 16 #include "chrome/browser/ui/browser.h" | 17 #include "chrome/browser/ui/browser.h" |
| 17 #include "chrome/browser/ui/constrained_window_tab_helper.h" | 18 #include "chrome/browser/ui/constrained_window_tab_helper.h" |
| 18 #include "chrome/browser/ui/content_settings/content_setting_bubble_model_delega
te.h" | 19 #include "chrome/browser/ui/content_settings/content_setting_bubble_model_delega
te.h" |
| 19 #include "chrome/browser/ui/toolbar/toolbar_model_impl.h" | 20 #include "chrome/browser/ui/toolbar/toolbar_model_impl.h" |
| 20 #include "chrome/browser/ui/view_ids.h" | 21 #include "chrome/browser/ui/view_ids.h" |
| 21 #include "chrome/browser/ui/views/location_bar/location_icon_view.h" | 22 #include "chrome/browser/ui/views/location_bar/location_icon_view.h" |
| 22 #include "chrome/browser/ui/views/page_info_bubble_view.h" | 23 #include "chrome/browser/ui/views/page_info_bubble_view.h" |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 | 390 |
| 390 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) { | 391 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) { |
| 391 if (reload_) { | 392 if (reload_) { |
| 392 reload_->ChangeMode( | 393 reload_->ChangeMode( |
| 393 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD, | 394 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD, |
| 394 force); | 395 force); |
| 395 } | 396 } |
| 396 } | 397 } |
| 397 | 398 |
| 398 } // namespace chromeos | 399 } // namespace chromeos |
| OLD | NEW |