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/autofill_popup_base_view.h" | 5 #include "chrome/browser/ui/views/autofill/autofill_popup_base_view.h" |
6 | 6 |
7 #include "chrome/browser/ui/autofill/popup_constants.h" | 7 #include "chrome/browser/ui/autofill/popup_constants.h" |
8 #include "ui/gfx/point.h" | 8 #include "ui/gfx/point.h" |
9 #include "ui/gfx/screen.h" | 9 #include "ui/gfx/screen.h" |
10 #include "ui/views/border.h" | 10 #include "ui/views/border.h" |
11 #include "ui/views/event_utils.h" | 11 #include "ui/views/event_utils.h" |
12 #include "ui/views/widget/widget.h" | 12 #include "ui/views/widget/widget.h" |
13 | 13 |
14 #if defined(USE_AURA) | 14 #if defined(USE_AURA) |
15 #include "ui/views/corewm/window_animations.h" | 15 #include "ui/wm/core/window_animations.h" |
16 #endif | 16 #endif |
17 | 17 |
18 namespace autofill { | 18 namespace autofill { |
19 | 19 |
20 const SkColor AutofillPopupBaseView::kBorderColor = | 20 const SkColor AutofillPopupBaseView::kBorderColor = |
21 SkColorSetARGB(0xFF, 0xC7, 0xCA, 0xCE); | 21 SkColorSetARGB(0xFF, 0xC7, 0xCA, 0xCE); |
22 const SkColor AutofillPopupBaseView::kHoveredBackgroundColor = | 22 const SkColor AutofillPopupBaseView::kHoveredBackgroundColor = |
23 SkColorSetARGB(0xFF, 0xCD, 0xCD, 0xCD); | 23 SkColorSetARGB(0xFF, 0xCD, 0xCD, 0xCD); |
24 const SkColor AutofillPopupBaseView::kItemTextColor = | 24 const SkColor AutofillPopupBaseView::kItemTextColor = |
25 SkColorSetARGB(0xFF, 0x7F, 0x7F, 0x7F); | 25 SkColorSetARGB(0xFF, 0x7F, 0x7F, 0x7F); |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 bool AutofillPopupBaseView::ShouldRepostEvent(const ui::MouseEvent& event) { | 232 bool AutofillPopupBaseView::ShouldRepostEvent(const ui::MouseEvent& event) { |
233 return delegate_->ShouldRepostEvent(event); | 233 return delegate_->ShouldRepostEvent(event); |
234 } | 234 } |
235 | 235 |
236 gfx::NativeView AutofillPopupBaseView::container_view() { | 236 gfx::NativeView AutofillPopupBaseView::container_view() { |
237 return delegate_->container_view(); | 237 return delegate_->container_view(); |
238 } | 238 } |
239 | 239 |
240 | 240 |
241 } // namespace autofill | 241 } // namespace autofill |
OLD | NEW |