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

Unified Diff: chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa_creator.mm

Issue 1473393003: Add chooser permission UI code for Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wpu_1
Patch Set: merged changes from master to fix merge conflicts 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa_creator.mm
diff --git a/chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa_creator.mm b/chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa_creator.mm
new file mode 100644
index 0000000000000000000000000000000000000000..7bc4cafbe7bb5055efe684720bd47e9ab23c18d5
--- /dev/null
+++ b/chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa_creator.mm
@@ -0,0 +1,17 @@
+// Copyright 2015 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.
+
+#include "chrome/browser/ui/website_settings/chooser_bubble_delegate.h"
+
+#import "chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa.h"
+
+// static
+scoped_ptr<BubbleUi> ChooserBubbleDelegate::CreateBubbleUi(
+ Browser* browser,
+ ChooserOptions* chooser_options,
+ ChooserBubbleDelegate* chooser_bubble_delegate) {
+ scoped_ptr<BubbleUi> bubble_ui(new ChooserBubbleUiCocoa(
+ browser, chooser_options, chooser_bubble_delegate));
+ return bubble_ui.Pass();
+}

Powered by Google App Engine
This is Rietveld 408576698