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

Side by Side Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.h

Issue 1280673003: [Mac] Enable MacViews site settings bubble behind --enable-mac-views-dialogs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enabledialogs
Patch Set: Sync Created 5 years, 4 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 25 matching lines...) Expand all
36 class WebsiteSettingsPopupView 36 class WebsiteSettingsPopupView
37 : public PermissionSelectorViewObserver, 37 : public PermissionSelectorViewObserver,
38 public views::BubbleDelegateView, 38 public views::BubbleDelegateView,
39 public views::ButtonListener, 39 public views::ButtonListener,
40 public views::LinkListener, 40 public views::LinkListener,
41 public views::TabbedPaneListener, 41 public views::TabbedPaneListener,
42 public WebsiteSettingsUI { 42 public WebsiteSettingsUI {
43 public: 43 public:
44 ~WebsiteSettingsPopupView() override; 44 ~WebsiteSettingsPopupView() override;
45 45
46 static void ShowPopup(views::View* anchor_view, 46 static views::BubbleDelegateView* ShowPopup(
47 Profile* profile, 47 views::View* anchor_view,
48 content::WebContents* web_contents, 48 Profile* profile,
49 const GURL& url, 49 content::WebContents* web_contents,
50 const content::SSLStatus& ssl); 50 const GURL& url,
51 const content::SSLStatus& ssl);
51 52
52 static bool IsPopupShowing(); 53 static bool IsPopupShowing();
53 54
54 private: 55 private:
55 WebsiteSettingsPopupView(views::View* anchor_view, 56 WebsiteSettingsPopupView(views::View* anchor_view,
56 Profile* profile, 57 Profile* profile,
57 content::WebContents* web_contents, 58 content::WebContents* web_contents,
58 const GURL& url, 59 const GURL& url,
59 const content::SSLStatus& ssl); 60 const content::SSLStatus& ssl);
60 61
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 views::Link* site_settings_link_; 171 views::Link* site_settings_link_;
171 172
172 views::View* connection_info_content_; 173 views::View* connection_info_content_;
173 174
174 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; 175 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_;
175 176
176 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); 177 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView);
177 }; 178 };
178 179
179 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_ H_ 180 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698