| Index: chrome/browser/ui/website_settings/mock_permission_bubble_view.h
|
| diff --git a/chrome/browser/ui/website_settings/mock_permission_bubble_view.h b/chrome/browser/ui/website_settings/mock_permission_bubble_view.h
|
| deleted file mode 100644
|
| index 745299aff70130a7a7d28e455bd44708333fa12d..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/website_settings/mock_permission_bubble_view.h
|
| +++ /dev/null
|
| @@ -1,43 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_MOCK_PERMISSION_BUBBLE_VIEW_H_
|
| -#define CHROME_BROWSER_UI_WEBSITE_SETTINGS_MOCK_PERMISSION_BUBBLE_VIEW_H_
|
| -
|
| -#include "chrome/browser/ui/website_settings/permission_bubble_view.h"
|
| -
|
| -class MockPermissionBubbleFactory;
|
| -class PermissionRequestManager;
|
| -
|
| -// Provides a skeleton class for unit and browser testing when trying to test
|
| -// the bubble manager logic. Should not be used for anything that requires
|
| -// actual UI.
|
| -// Use the MockPermissionBubbleFactory to create this.
|
| -class MockPermissionBubbleView : public PermissionBubbleView {
|
| - public:
|
| - ~MockPermissionBubbleView() override;
|
| -
|
| - // PermissionBubbleView:
|
| - void SetDelegate(Delegate* delegate) override {}
|
| - void Show(const std::vector<PermissionRequest*>& requests,
|
| - const std::vector<bool>& accept_state) override;
|
| - bool CanAcceptRequestUpdate() override;
|
| - void Hide() override;
|
| - bool IsVisible() override;
|
| - void UpdateAnchorPosition() override;
|
| - gfx::NativeWindow GetNativeWindow() override;
|
| -
|
| - private:
|
| - friend class MockPermissionBubbleFactory;
|
| -
|
| - MockPermissionBubbleView(MockPermissionBubbleFactory* factory,
|
| - PermissionRequestManager* manager);
|
| -
|
| - MockPermissionBubbleFactory* factory_;
|
| - PermissionRequestManager* manager_;
|
| - bool can_update_ui_;
|
| - bool is_visible_;
|
| -};
|
| -
|
| -#endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_MOCK_PERMISSION_BUBBLE_VIEW_H_
|
|
|