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

Unified Diff: chrome/browser/extensions/bluetooth_chrome_extension_chooser_dialog.h

Issue 2005443002: Implement bluetooth chooser for Chrome Apps on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor_chooser_bubble_ui_cocoa
Patch Set: rebase and display app name on the chooser title Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/bluetooth_chrome_extension_chooser_dialog.h
diff --git a/chrome/browser/extensions/bluetooth_chrome_extension_chooser_dialog.h b/chrome/browser/extensions/bluetooth_chrome_extension_chooser_dialog.h
new file mode 100644
index 0000000000000000000000000000000000000000..b66622ba7162d861c857600ea86c425ea0c37c8b
--- /dev/null
+++ b/chrome/browser/extensions/bluetooth_chrome_extension_chooser_dialog.h
@@ -0,0 +1,25 @@
+// Copyright 2016 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_EXTENSIONS_BLUETOOTH_CHROME_EXTENSION_CHOOSER_DIALOG_H_
+#define CHROME_BROWSER_EXTENSIONS_BLUETOOTH_CHROME_EXTENSION_CHOOSER_DIALOG_H_
+
+#include "base/macros.h"
+
+#include "chrome/browser/extensions/chrome_extension_chooser_dialog.h"
+
+// Bluetooth implementation of ChromeExtensionChooserDialog.
+class BluetoothChromeExtensionChooserDialog
+ : public ChromeExtensionChooserDialog {
+ public:
+ explicit BluetoothChromeExtensionChooserDialog(
+ content::WebContents* web_contents);
+ ~BluetoothChromeExtensionChooserDialog() override;
+
+ GURL GetHelpCenterUrl() const override;
Reilly Grant (use Gerrit) 2016/05/23 19:36:49 Can you move this virtual function to ChooserContr
juncai 2016/05/27 21:30:36 Done.
+
+ DISALLOW_COPY_AND_ASSIGN(BluetoothChromeExtensionChooserDialog);
+};
+
+#endif // CHROME_BROWSER_EXTENSIONS_BLUETOOTH_CHROME_EXTENSION_CHOOSER_DIALOG_H_

Powered by Google App Engine
This is Rietveld 408576698