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_PASSWORD_GENERATION_POPUP_VIEW_TESTER_H_ 6#define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_TESTER_H_ 7 8#include "base/memory/scoped_ptr.h" 9#include "ui/gfx/geometry/point.h" 10 11namespace autofill { 12 13class PasswordGenerationPopupView; 14 15// Helps test a PasswordGenerationPopupView. 16class PasswordGenerationPopupViewTester { 17 public: 18 static scoped_ptr<PasswordGenerationPopupViewTester> For( 19 PasswordGenerationPopupView* view); 20 21 virtual ~PasswordGenerationPopupViewTester() {} 22 23 virtual void SimulateMouseMovementAt(const gfx::Point& point) = 0; 24}; 25 26} // namespace autofill 27 28#endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_TESTER_H_ 29