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

Side by Side Diff: chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc

Issue 270003002: [Password Generation] Update suggested text. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/google_chrome_strings.grd ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/password_generation_popup_controller_impl.h " 5 #include "chrome/browser/ui/autofill/password_generation_popup_controller_impl.h "
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include "base/strings/string_split.h" 9 #include "base/strings/string_split.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "base/strings/utf_string_conversion_utils.h" 11 #include "base/strings/utf_string_conversion_utils.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "chrome/browser/ui/autofill/password_generation_popup_observer.h" 13 #include "chrome/browser/ui/autofill/password_generation_popup_observer.h"
14 #include "chrome/browser/ui/autofill/password_generation_popup_view.h" 14 #include "chrome/browser/ui/autofill/password_generation_popup_view.h"
15 #include "chrome/browser/ui/autofill/popup_constants.h" 15 #include "chrome/browser/ui/autofill/popup_constants.h"
16 #include "chrome/browser/ui/browser.h" 16 #include "chrome/browser/ui/browser.h"
17 #include "chrome/browser/ui/browser_finder.h" 17 #include "chrome/browser/ui/browser_finder.h"
18 #include "chrome/common/url_constants.h" 18 #include "chrome/common/url_constants.h"
19 #include "components/autofill/content/common/autofill_messages.h" 19 #include "components/autofill/content/common/autofill_messages.h"
20 #include "components/autofill/core/browser/password_generator.h" 20 #include "components/autofill/core/browser/password_generator.h"
21 #include "components/password_manager/core/browser/password_manager.h" 21 #include "components/password_manager/core/browser/password_manager.h"
22 #include "content/public/browser/native_web_keyboard_event.h" 22 #include "content/public/browser/native_web_keyboard_event.h"
23 #include "content/public/browser/render_view_host.h" 23 #include "content/public/browser/render_view_host.h"
24 #include "content/public/browser/web_contents.h" 24 #include "content/public/browser/web_contents.h"
25 #include "grit/chromium_strings.h"
25 #include "grit/generated_resources.h" 26 #include "grit/generated_resources.h"
27 #include "grit/google_chrome_strings.h"
26 #include "ui/base/l10n/l10n_util.h" 28 #include "ui/base/l10n/l10n_util.h"
27 #include "ui/base/resource/resource_bundle.h" 29 #include "ui/base/resource/resource_bundle.h"
28 #include "ui/events/keycodes/keyboard_codes.h" 30 #include "ui/events/keycodes/keyboard_codes.h"
29 #include "ui/gfx/rect_conversions.h" 31 #include "ui/gfx/rect_conversions.h"
30 #include "ui/gfx/text_utils.h" 32 #include "ui/gfx/text_utils.h"
31 33
32 namespace autofill { 34 namespace autofill {
33 35
34 base::WeakPtr<PasswordGenerationPopupControllerImpl> 36 base::WeakPtr<PasswordGenerationPopupControllerImpl>
35 PasswordGenerationPopupControllerImpl::GetOrCreate( 37 PasswordGenerationPopupControllerImpl::GetOrCreate(
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 349
348 const base::string16& PasswordGenerationPopupControllerImpl::HelpText() { 350 const base::string16& PasswordGenerationPopupControllerImpl::HelpText() {
349 return help_text_; 351 return help_text_;
350 } 352 }
351 353
352 const gfx::Range& PasswordGenerationPopupControllerImpl::HelpTextLinkRange() { 354 const gfx::Range& PasswordGenerationPopupControllerImpl::HelpTextLinkRange() {
353 return link_range_; 355 return link_range_;
354 } 356 }
355 357
356 } // namespace autofill 358 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/app/google_chrome_strings.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698