Add ability to gather metrics to BubbleManager.
[chromium-blink-merge.git] / chrome / browser / ui / autofill / password_generation_popup_view_tester.h
blob7355cc3283afa236da35eb0458fe9c5ce1006911
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.
5 #ifndef CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_TESTER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_TESTER_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "ui/gfx/geometry/point.h"
11 namespace autofill {
13 class PasswordGenerationPopupView;
15 // Helps test a PasswordGenerationPopupView.
16 class PasswordGenerationPopupViewTester {
17 public:
18 static scoped_ptr<PasswordGenerationPopupViewTester> For(
19 PasswordGenerationPopupView* view);
21 virtual ~PasswordGenerationPopupViewTester() {}
23 virtual void SimulateMouseMovementAt(const gfx::Point& point) = 0;
26 } // namespace autofill
28 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_TESTER_H_