OLD | NEW |
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/views/autofill/card_unmask_prompt_views.h" | 5 #include "chrome/browser/ui/views/autofill/card_unmask_prompt_views.h" |
6 | 6 |
7 #include "base/location.h" | 7 #include "base/location.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "chrome/browser/ui/autofill/create_card_unmask_prompt_view.h" | 11 #include "chrome/browser/ui/autofill/create_card_unmask_prompt_view.h" |
12 #include "chrome/browser/ui/views/autofill/decorated_textfield.h" | 12 #include "chrome/browser/ui/views/autofill/decorated_textfield.h" |
13 #include "chrome/browser/ui/views/autofill/tooltip_icon.h" | 13 #include "chrome/browser/ui/views/autofill/tooltip_icon.h" |
14 #include "chrome/grit/generated_resources.h" | 14 #include "chrome/grit/generated_resources.h" |
15 #include "components/autofill/core/browser/ui/card_unmask_prompt_controller.h" | 15 #include "components/autofill/core/browser/ui/card_unmask_prompt_controller.h" |
16 #include "components/constrained_window/constrained_window_views.h" | 16 #include "components/constrained_window/constrained_window_views.h" |
17 #include "components/web_modal/web_contents_modal_dialog_host.h" | 17 #include "components/web_modal/web_contents_modal_dialog_host.h" |
18 #include "components/web_modal/web_contents_modal_dialog_manager.h" | 18 #include "components/web_modal/web_contents_modal_dialog_manager.h" |
19 #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h" | 19 #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h" |
20 #include "grit/components_strings.h" | 20 #include "grit/components_strings.h" |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 views::View::OnPaint(canvas); | 526 views::View::OnPaint(canvas); |
527 canvas->Restore(); | 527 canvas->Restore(); |
528 } | 528 } |
529 | 529 |
530 void CardUnmaskPromptViews::FadeOutView::SetAlpha(uint8_t alpha) { | 530 void CardUnmaskPromptViews::FadeOutView::SetAlpha(uint8_t alpha) { |
531 alpha_ = alpha; | 531 alpha_ = alpha; |
532 SchedulePaint(); | 532 SchedulePaint(); |
533 } | 533 } |
534 | 534 |
535 } // namespace autofill | 535 } // namespace autofill |
OLD | NEW |