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

Side by Side Diff: chrome/browser/extensions/chrome_extension_chooser_dialog.h

Issue 2033283002: Implement bluetooth chooser for Chrome Apps on non-Mac desktops (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor_ChooserBubbleUiViewDelegate
Patch Set: rebase again Created 4 years, 6 months 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/browser_dialogs_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_CHOOSER_DIALOG_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_CHOOSER_DIALOG_H_
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_CHOOSER_DIALOG_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_CHOOSER_DIALOG_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "build/build_config.h"
10 9
11 class ChooserController; 10 class ChooserController;
12 11
13 namespace content { 12 namespace content {
14 class WebContents; 13 class WebContents;
15 } 14 }
16 15
17 class ChromeExtensionChooserDialog { 16 class ChromeExtensionChooserDialog {
18 public: 17 public:
19 explicit ChromeExtensionChooserDialog(content::WebContents* web_contents) 18 explicit ChromeExtensionChooserDialog(content::WebContents* web_contents)
20 : web_contents_(web_contents) {} 19 : web_contents_(web_contents) {}
21 ~ChromeExtensionChooserDialog() {} 20 ~ChromeExtensionChooserDialog() {}
22 21
23 content::WebContents* web_contents() const { return web_contents_; } 22 content::WebContents* web_contents() const { return web_contents_; }
24 23
25 void ShowDialog(ChooserController* chooser_controller) const; 24 void ShowDialog(ChooserController* chooser_controller) const;
26 25
27 private: 26 private:
27 void ShowDialogImpl(ChooserController* chooser_controller) const;
28
28 content::WebContents* web_contents_; 29 content::WebContents* web_contents_;
29 30
30 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionChooserDialog); 31 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionChooserDialog);
31 }; 32 };
32 33
33 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_CHOOSER_DIALOG_H_ 34 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_CHOOSER_DIALOG_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/browser_dialogs_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698