Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2378503002: Observe visibility of password inputs, for HTTP-bad phase 1 (Closed)
Patch Set: fix browser-side binding Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/password_manager/DEPS » ('j') | components/password_manager/DEPS » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 2934 matching lines...) Expand 10 before | Expand all | Expand 10 after
2945 2945
2946 registry->AddInterface( 2946 registry->AddInterface(
2947 base::Bind(&autofill::ContentAutofillDriverFactory::BindAutofillDriver, 2947 base::Bind(&autofill::ContentAutofillDriverFactory::BindAutofillDriver,
2948 render_frame_host)); 2948 render_frame_host));
2949 2949
2950 registry->AddInterface( 2950 registry->AddInterface(
2951 base::Bind(&password_manager::ContentPasswordManagerDriverFactory:: 2951 base::Bind(&password_manager::ContentPasswordManagerDriverFactory::
2952 BindPasswordManagerDriver, 2952 BindPasswordManagerDriver,
2953 render_frame_host)); 2953 render_frame_host));
2954 2954
2955 registry->AddInterface(
2956 base::Bind(&password_manager::ContentPasswordManagerDriverFactory::
2957 BindSensitiveInputVisibilityService,
2958 render_frame_host));
2959
2955 #if BUILDFLAG(ANDROID_JAVA_UI) 2960 #if BUILDFLAG(ANDROID_JAVA_UI)
2956 ChromeInterfaceRegistrarAndroid::ExposeInterfacesToFrame( 2961 ChromeInterfaceRegistrarAndroid::ExposeInterfacesToFrame(
2957 registry, render_frame_host); 2962 registry, render_frame_host);
2958 #endif 2963 #endif
2959 2964
2960 #if defined(ENABLE_MEDIA_ROUTER) 2965 #if defined(ENABLE_MEDIA_ROUTER)
2961 registry->AddInterface( 2966 registry->AddInterface(
2962 base::Bind(&CastRemotingConnector::CreateRemoterFactory, 2967 base::Bind(&CastRemotingConnector::CreateRemoterFactory,
2963 render_frame_host)); 2968 render_frame_host));
2964 #endif 2969 #endif
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
3213 if (channel <= kMaxDisableEncryptionChannel) { 3218 if (channel <= kMaxDisableEncryptionChannel) {
3214 static const char* const kWebRtcDevSwitchNames[] = { 3219 static const char* const kWebRtcDevSwitchNames[] = {
3215 switches::kDisableWebRtcEncryption, 3220 switches::kDisableWebRtcEncryption,
3216 }; 3221 };
3217 to_command_line->CopySwitchesFrom(from_command_line, 3222 to_command_line->CopySwitchesFrom(from_command_line,
3218 kWebRtcDevSwitchNames, 3223 kWebRtcDevSwitchNames,
3219 arraysize(kWebRtcDevSwitchNames)); 3224 arraysize(kWebRtcDevSwitchNames));
3220 } 3225 }
3221 } 3226 }
3222 #endif // defined(ENABLE_WEBRTC) 3227 #endif // defined(ENABLE_WEBRTC)
OLDNEW
« no previous file with comments | « no previous file | components/password_manager/DEPS » ('j') | components/password_manager/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698