Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: chrome/browser/ui/autofill/autofill_popup_controller.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h" 15 #include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h"
16 #include "third_party/skia/include/core/SkColor.h" 16 #include "third_party/skia/include/core/SkColor.h"
17 17
18 namespace gfx {
19 class Point;
20 class Rect;
21 }
22
23 namespace autofill { 18 namespace autofill {
24 19
25 class AutofillPopupLayoutModel; 20 class AutofillPopupLayoutModel;
26 struct Suggestion; 21 struct Suggestion;
27 22
28 // This interface provides data to an AutofillPopupView. 23 // This interface provides data to an AutofillPopupView.
29 class AutofillPopupController : public AutofillPopupViewDelegate { 24 class AutofillPopupController : public AutofillPopupViewDelegate {
30 public: 25 public:
31 // Recalculates the height and width of the popup and triggers a redraw. 26 // Recalculates the height and width of the popup and triggers a redraw.
32 virtual void UpdateBoundsAndRedrawPopup() = 0; 27 virtual void UpdateBoundsAndRedrawPopup() = 0;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 60
66 virtual const AutofillPopupLayoutModel& layout_model() const = 0; 61 virtual const AutofillPopupLayoutModel& layout_model() const = 0;
67 62
68 protected: 63 protected:
69 ~AutofillPopupController() override {} 64 ~AutofillPopupController() override {}
70 }; 65 };
71 66
72 } // namespace autofill 67 } // namespace autofill
73 68
74 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ 69 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698