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

Side by Side Diff: extensions/browser/ui/extension_chooser_dialog.cc

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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "extensions/browser/ui/extension_chooser_dialog.h"
6
7 #include "content/public/browser/web_contents.h"
8 #include "extensions/browser/api/runtime/runtime_api.h"
9
10 namespace extensions {
11
12 ExtensionChooserDialog::ExtensionChooserDialog(
13 content::WebContents* web_contents)
14 : web_contents_(web_contents) {}
15
16 ExtensionChooserDialog::~ExtensionChooserDialog() {}
17
18 void ExtensionChooserDialog::OpenHelpCenterUrl() const {
19 content::BrowserContext* browser_context = web_contents_->GetBrowserContext();
20 RuntimeAPI::GetFactoryInstance()
21 ->Get(browser_context)
22 ->OpenURL(GetHelpCenterUrl());
23 }
24
25 void ExtensionChooserDialog::ShowDialog(
26 ChooserController* chooser_controller) const {}
27
28 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698