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

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

Issue 1408193003: Add chrome side webusb permission UI code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address sky@'s comments, added TODO to chrome_bubble_manager.cc Created 5 years 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 | « chrome/browser/ui/website_settings/chooser_bubble_delegate.h ('k') | chrome/browser/usb/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/ui/website_settings/chooser_bubble_delegate.h"
6
7 #if defined(OS_MACOSX)
8 #include "components/bubble/bubble_ui.h"
9 #endif
10
11 ChooserBubbleDelegate::ChooserBubbleDelegate(Browser* browser)
12 : browser_(browser) {}
13
14 ChooserBubbleDelegate::~ChooserBubbleDelegate() {}
15
16 std::string ChooserBubbleDelegate::GetName() const {
17 return "ChooserBubble";
18 }
19
20 // TODO(juncai): Add chooser bubble ui cocoa code for Mac.
21 // Please refer to http://crbug.com/492204 for more information.
22 #if defined(OS_MACOSX)
23 scoped_ptr<BubbleUi> ChooserBubbleDelegate::BuildBubbleUi() {
24 return scoped_ptr<BubbleUi>();
25 }
26 #endif
OLDNEW
« no previous file with comments | « chrome/browser/ui/website_settings/chooser_bubble_delegate.h ('k') | chrome/browser/usb/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698