OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/ui/simple_web_view_dialog.h" | 5 #include "chrome/browser/chromeos/login/ui/simple_web_view_dialog.h" |
6 | 6 |
7 #include "ash/common/shell_window_ids.h" | 7 #include "ash/public/cpp/shell_window_ids.h" |
8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "chrome/app/chrome_command_ids.h" | 12 #include "chrome/app/chrome_command_ids.h" |
13 #include "chrome/browser/chromeos/login/helper.h" | 13 #include "chrome/browser/chromeos/login/helper.h" |
14 #include "chrome/browser/chromeos/login/ui/captive_portal_window_proxy.h" | 14 #include "chrome/browser/chromeos/login/ui/captive_portal_window_proxy.h" |
15 #include "chrome/browser/command_updater.h" | 15 #include "chrome/browser/command_updater.h" |
16 #include "chrome/browser/password_manager/chrome_password_manager_client.h" | 16 #include "chrome/browser/password_manager/chrome_password_manager_client.h" |
17 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 | 383 |
384 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) { | 384 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) { |
385 if (reload_) { | 385 if (reload_) { |
386 reload_->ChangeMode( | 386 reload_->ChangeMode( |
387 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD, | 387 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD, |
388 force); | 388 force); |
389 } | 389 } |
390 } | 390 } |
391 | 391 |
392 } // namespace chromeos | 392 } // namespace chromeos |
OLD | NEW |