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

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

Issue 1570783003: [Autofill] Move functions from the AutofillPopupController to AutofillPopupLayoutModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: size_t -> int Created 4 years, 11 months 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_AUTOFILL_TEST_POPUP_CONTROLLER_COMMON_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_TEST_POPUP_CONTROLLER_COMMON_H_
7
8 #include "chrome/browser/ui/autofill/popup_controller_common.h"
9
10 #include "base/macros.h"
11 #include "ui/gfx/display.h"
12
13 namespace autofill {
14
15 class TestPopupControllerCommon : public PopupControllerCommon {
16 public:
17 TestPopupControllerCommon(const gfx::RectF& element_bounds,
18 base::i18n::TextDirection direction);
19 ~TestPopupControllerCommon() override;
20
21 void set_display(const gfx::Display& display) { display_ = display; }
22
23 protected:
24 // Returns |display_|
25 gfx::Display GetDisplayNearestPoint(const gfx::Point& point) const override;
26
27 private:
28 gfx::Display display_;
29
30 DISALLOW_COPY_AND_ASSIGN(TestPopupControllerCommon);
31 };
32
33 } // namespace autofill
34
35 #endif // CHROME_BROWSER_UI_AUTOFILL_TEST_POPUP_CONTROLLER_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698