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 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_VIEW_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_VIEW_VIEWS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "chrome/browser/ui/autofill/autofill_popup_view.h" | 11 #include "chrome/browser/ui/autofill/autofill_popup_view.h" |
12 #include "chrome/browser/ui/views/autofill/autofill_popup_base_view.h" | 12 #include "chrome/browser/ui/views/autofill/autofill_popup_base_view.h" |
13 | 13 |
| 14 namespace autofill { |
| 15 |
14 class AutofillPopupController; | 16 class AutofillPopupController; |
15 | 17 |
16 namespace autofill { | |
17 | |
18 // Views toolkit implementation for AutofillPopupView. | 18 // Views toolkit implementation for AutofillPopupView. |
19 class AutofillPopupViewViews : public AutofillPopupBaseView, | 19 class AutofillPopupViewViews : public AutofillPopupBaseView, |
20 public AutofillPopupView { | 20 public AutofillPopupView { |
21 public: | 21 public: |
22 AutofillPopupViewViews(AutofillPopupController* controller, | 22 AutofillPopupViewViews(AutofillPopupController* controller, |
23 views::Widget* parent_widget); | 23 views::Widget* parent_widget); |
24 | 24 |
25 private: | 25 private: |
26 ~AutofillPopupViewViews() override; | 26 ~AutofillPopupViewViews() override; |
27 | 27 |
(...skipping 12 matching lines...) Expand all Loading... |
40 const gfx::Rect& entry_rect); | 40 const gfx::Rect& entry_rect); |
41 | 41 |
42 AutofillPopupController* controller_; // Weak reference. | 42 AutofillPopupController* controller_; // Weak reference. |
43 | 43 |
44 DISALLOW_COPY_AND_ASSIGN(AutofillPopupViewViews); | 44 DISALLOW_COPY_AND_ASSIGN(AutofillPopupViewViews); |
45 }; | 45 }; |
46 | 46 |
47 } // namespace autofill | 47 } // namespace autofill |
48 | 48 |
49 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_VIEW_VIEWS_H_ | 49 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_VIEW_VIEWS_H_ |
OLD | NEW |