| Index: chrome/browser/ui/website_settings/chooser_bubble_delegate.h
|
| diff --git a/chrome/browser/ui/website_settings/chooser_bubble_delegate.h b/chrome/browser/ui/website_settings/chooser_bubble_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d93161765d6777995a1f1228e79be27ec70b969f
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/website_settings/chooser_bubble_delegate.h
|
| @@ -0,0 +1,32 @@
|
| +// 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_CHOOSER_BUBBLE_DELEGATE_H_
|
| +#define CHROME_BROWSER_UI_WEBSITE_SETTINGS_CHOOSER_BUBBLE_DELEGATE_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "chrome/browser/ui/website_settings/chooser_options.h"
|
| +#include "components/bubble/bubble_delegate.h"
|
| +
|
| +class ChooserBubbleUiView;
|
| +
|
| +class ChooserBubbleDelegate : public BubbleDelegate {
|
| + public:
|
| + ChooserBubbleDelegate();
|
| + ~ChooserBubbleDelegate() override;
|
| +
|
| + // BubbleDelegate:
|
| + std::string GetName() const override;
|
| +
|
| + virtual void Select(int index) = 0;
|
| + virtual void Cancel() = 0;
|
| +
|
| + protected:
|
| + scoped_ptr<ChooserOptions> chooser_options_;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ChooserBubbleDelegate);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_CHOOSER_BUBBLE_DELEGATE_H_
|
|
|