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

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

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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
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/chromium_strings.h"
26 #include "grit/generated_resources.h" 26 #include "grit/generated_resources.h"
27 #include "grit/google_chrome_strings.h" 27 #include "grit/google_chrome_strings.h"
28 #include "ui/base/l10n/l10n_util.h" 28 #include "ui/base/l10n/l10n_util.h"
29 #include "ui/base/resource/resource_bundle.h"
30 #include "ui/events/keycodes/keyboard_codes.h" 29 #include "ui/events/keycodes/keyboard_codes.h"
31 #include "ui/gfx/rect_conversions.h" 30 #include "ui/gfx/rect_conversions.h"
32 #include "ui/gfx/text_utils.h" 31 #include "ui/gfx/text_utils.h"
33 32
34 namespace autofill { 33 namespace autofill {
35 34
36 base::WeakPtr<PasswordGenerationPopupControllerImpl> 35 base::WeakPtr<PasswordGenerationPopupControllerImpl>
37 PasswordGenerationPopupControllerImpl::GetOrCreate( 36 PasswordGenerationPopupControllerImpl::GetOrCreate(
38 base::WeakPtr<PasswordGenerationPopupControllerImpl> previous, 37 base::WeakPtr<PasswordGenerationPopupControllerImpl> previous,
39 const gfx::RectF& bounds, 38 const gfx::RectF& bounds,
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 266
268 const base::string16& PasswordGenerationPopupControllerImpl::HelpText() { 267 const base::string16& PasswordGenerationPopupControllerImpl::HelpText() {
269 return help_text_; 268 return help_text_;
270 } 269 }
271 270
272 const gfx::Range& PasswordGenerationPopupControllerImpl::HelpTextLinkRange() { 271 const gfx::Range& PasswordGenerationPopupControllerImpl::HelpTextLinkRange() {
273 return link_range_; 272 return link_range_;
274 } 273 }
275 274
276 } // namespace autofill 275 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698