OLD | NEW |
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/ui/views/password_generation_bubble_view.h" | 5 #include "chrome/browser/ui/views/password_generation_bubble_view.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "chrome/browser/password_manager/password_manager.h" | 8 #include "chrome/browser/password_manager/password_manager.h" |
9 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" |
10 #include "chrome/browser/ui/browser_list.h" | 10 #include "chrome/browser/ui/browser_list.h" |
11 #include "chrome/common/url_constants.h" | 11 #include "chrome/common/url_constants.h" |
12 #include "components/autofill/browser/password_generator.h" | 12 #include "components/autofill/browser/password_generator.h" |
13 #include "components/autofill/common/autofill_messages.h" | 13 #include "components/autofill/core/common/autofill_messages.h" |
14 #include "components/autofill/common/password_generation_util.h" | 14 #include "components/autofill/core/common/password_generation_util.h" |
15 #include "content/public/browser/page_navigator.h" | 15 #include "content/public/browser/page_navigator.h" |
16 #include "content/public/browser/render_view_host.h" | 16 #include "content/public/browser/render_view_host.h" |
17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
18 #include "grit/generated_resources.h" | 18 #include "grit/generated_resources.h" |
19 #include "grit/theme_resources.h" | 19 #include "grit/theme_resources.h" |
20 #include "third_party/skia/include/core/SkPaint.h" | 20 #include "third_party/skia/include/core/SkPaint.h" |
21 #include "ui/base/l10n/l10n_util.h" | 21 #include "ui/base/l10n/l10n_util.h" |
22 #include "ui/base/resource/resource_bundle.h" | 22 #include "ui/base/resource/resource_bundle.h" |
23 #include "ui/base/theme_provider.h" | 23 #include "ui/base/theme_provider.h" |
24 #include "ui/gfx/canvas.h" | 24 #include "ui/gfx/canvas.h" |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 return false; | 242 return false; |
243 } | 243 } |
244 | 244 |
245 views::View* PasswordGenerationBubbleView::GetInitiallyFocusedView() { | 245 views::View* PasswordGenerationBubbleView::GetInitiallyFocusedView() { |
246 return textfield_; | 246 return textfield_; |
247 } | 247 } |
248 | 248 |
249 void PasswordGenerationBubbleView::WindowClosing() { | 249 void PasswordGenerationBubbleView::WindowClosing() { |
250 autofill::password_generation::LogUserActions(actions_); | 250 autofill::password_generation::LogUserActions(actions_); |
251 } | 251 } |
OLD | NEW |