Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: chrome/browser/ui/website_settings/chooser_bubble_delegate.h

Issue 1408193003: Add chrome side webusb permission UI code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed some redundant code Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 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_WEBSITE_SETTINGS_CHOOSER_BUBBLE_DELEGATE_H_
6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_CHOOSER_BUBBLE_DELEGATE_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/ui/website_settings/chooser_options.h"
10 #include "components/bubble/bubble_delegate.h"
11
12 class ChooserBubbleUiView;
13
14 class ChooserBubbleDelegate : public BubbleDelegate {
15 public:
16 ChooserBubbleDelegate();
17 ~ChooserBubbleDelegate() override;
18
19 // BubbleDelegate:
20 std::string GetName() const override;
21
22 virtual void Select(int index) = 0;
23 virtual void Cancel() = 0;
24
25 protected:
26 scoped_ptr<ChooserOptions> chooser_options_;
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(ChooserBubbleDelegate);
30 };
31
32 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_CHOOSER_BUBBLE_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698