| 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/ui/autofill/chrome_autofill_client.h" | 5 #include "chrome/browser/ui/autofill/chrome_autofill_client.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 // not shown (for example, no navigation entry), just launch the Help topic | 398 // not shown (for example, no navigation entry), just launch the Help topic |
| 399 // directly. | 399 // directly. |
| 400 const GURL kSecurityIndicatorHelpCenterUrl( | 400 const GURL kSecurityIndicatorHelpCenterUrl( |
| 401 "https://support.google.com/chrome/?p=ui_security_indicator"); | 401 "https://support.google.com/chrome/?p=ui_security_indicator"); |
| 402 web_contents()->OpenURL(content::OpenURLParams( | 402 web_contents()->OpenURL(content::OpenURLParams( |
| 403 GURL(kSecurityIndicatorHelpCenterUrl), content::Referrer(), | 403 GURL(kSecurityIndicatorHelpCenterUrl), content::Referrer(), |
| 404 WindowOpenDisposition::NEW_FOREGROUND_TAB, ui::PAGE_TRANSITION_LINK, | 404 WindowOpenDisposition::NEW_FOREGROUND_TAB, ui::PAGE_TRANSITION_LINK, |
| 405 false /* is_renderer_initiated */)); | 405 false /* is_renderer_initiated */)); |
| 406 } | 406 } |
| 407 | 407 |
| 408 void ChromeAutofillClient::ShowPasswordsSettingsPage() { |
| 409 chrome::ShowSettingsSubPage( |
| 410 chrome::FindBrowserWithWebContents(web_contents()), |
| 411 chrome::kPasswordManagerSubPage); |
| 412 } |
| 413 |
| 408 } // namespace autofill | 414 } // namespace autofill |
| OLD | NEW |