| Index: chrome/browser/ui/views/extensions/device_permissions_dialog_view.h
|
| diff --git a/chrome/browser/ui/views/extensions/device_permissions_dialog_view.h b/chrome/browser/ui/views/extensions/device_permissions_dialog_view.h
|
| deleted file mode 100644
|
| index 8cfced867bcba12228585d814dcfb47007575655..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/views/extensions/device_permissions_dialog_view.h
|
| +++ /dev/null
|
| @@ -1,47 +0,0 @@
|
| -// Copyright 2014 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_VIEWS_EXTENSIONS_DEVICE_PERMISSIONS_DIALOG_VIEW_H_
|
| -#define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_DEVICE_PERMISSIONS_DIALOG_VIEW_H_
|
| -
|
| -#include "extensions/browser/api/device_permissions_prompt.h"
|
| -#include "ui/views/controls/table/table_view_observer.h"
|
| -#include "ui/views/window/dialog_delegate.h"
|
| -
|
| -namespace views {
|
| -class TableView;
|
| -}
|
| -
|
| -class DevicePermissionsTableModel;
|
| -
|
| -// Displays a device permissions selector prompt as a modal dialog constrained
|
| -// to the window/tab displaying the given web contents.
|
| -class DevicePermissionsDialogView : public views::DialogDelegateView,
|
| - public views::TableViewObserver {
|
| - public:
|
| - DevicePermissionsDialogView(
|
| - scoped_refptr<extensions::DevicePermissionsPrompt::Prompt> prompt);
|
| - ~DevicePermissionsDialogView() override;
|
| -
|
| - // views::DialogDelegateView:
|
| - base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
|
| - bool IsDialogButtonEnabled(ui::DialogButton button) const override;
|
| - ui::ModalType GetModalType() const override;
|
| - base::string16 GetWindowTitle() const override;
|
| - void DeleteDelegate() override;
|
| - bool Accept() override;
|
| - gfx::Size GetPreferredSize() const override;
|
| -
|
| - // views::TableViewObserver:
|
| - void OnSelectionChanged() override;
|
| -
|
| - private:
|
| - scoped_refptr<extensions::DevicePermissionsPrompt::Prompt> prompt_;
|
| -
|
| - // Displays the list of devices.
|
| - views::TableView* table_view_;
|
| - std::unique_ptr<DevicePermissionsTableModel> table_model_;
|
| -};
|
| -
|
| -#endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_DEVICE_PERMISSIONS_DIALOG_VIEW_H_
|
|
|