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

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/content_setting_bubble_views_mac.h

Issue 1570153003: Use MacViews for ContentSettingBubbles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 (c) 2016 The Chromium Authors. All rights reserved.
tapted 2016/01/11 02:50:57 nit: no `(c)`, more in other files.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
tapted 2016/01/11 02:50:57 #include guards? also stuff under c/b/ui/cocoa do
5 #include "ui/gfx/geometry/point.h"
6 #include "ui/views/widget/widget.h"
7
8 class ContentSettingBubbleModel;
9 namespace content {
10 class WebContents;
11 }
12
13 // This class bridges a views ContentSettingBubbleContents so it can be used by
14 // the Cocoa location bar code.
15 class ContentSettingBubbleBridge {
16 public:
17 ContentSettingBubbleBridge(ContentSettingBubbleModel* model,
tapted 2016/01/11 02:50:57 I think this can just be a standalone function tha
18 content::WebContents* web_contents,
19 const gfx::Point& anchor);
20 ~ContentSettingBubbleBridge();
21
22 void Show();
23 private:
tapted 2016/01/11 02:50:57 nit: blank line before
24 views::Widget* bubble_widget_;
25 };
tapted 2016/01/11 02:50:57 nit: DISALLOW_COPY_AND_ASSIGN(..)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698