| 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/utf_string_conversions.h" |    7 #include "base/utf_string_conversions.h" | 
|    8 #include "chrome/browser/autofill/password_generator.h" |    8 #include "chrome/browser/autofill/password_generator.h" | 
|    9 #include "chrome/browser/password_manager/password_manager.h" |    9 #include "chrome/browser/password_manager/password_manager.h" | 
|   10 #include "chrome/browser/ui/browser.h" |   10 #include "chrome/browser/ui/browser.h" | 
|   11 #include "chrome/browser/ui/browser_list.h" |   11 #include "chrome/browser/ui/browser_list.h" | 
|   12 #include "chrome/common/autofill_messages.h" |  | 
|   13 #include "chrome/common/password_generation_util.h" |   12 #include "chrome/common/password_generation_util.h" | 
|   14 #include "chrome/common/url_constants.h" |   13 #include "chrome/common/url_constants.h" | 
 |   14 #include "components/autofill/common/autofill_messages.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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  241   return false; |  241   return false; | 
|  242 } |  242 } | 
|  243  |  243  | 
|  244 views::View* PasswordGenerationBubbleView::GetInitiallyFocusedView() { |  244 views::View* PasswordGenerationBubbleView::GetInitiallyFocusedView() { | 
|  245   return textfield_; |  245   return textfield_; | 
|  246 } |  246 } | 
|  247  |  247  | 
|  248 void PasswordGenerationBubbleView::WindowClosing() { |  248 void PasswordGenerationBubbleView::WindowClosing() { | 
|  249   password_generation::LogUserActions(actions_); |  249   password_generation::LogUserActions(actions_); | 
|  250 } |  250 } | 
| OLD | NEW |