Chromium Code Reviews| Index: chrome/browser/website_settings.h |
| diff --git a/chrome/browser/website_settings.h b/chrome/browser/website_settings.h |
| index 15e15815414f43b7ba4a9dc2eee28372f4f99813..7a8d650f5f92022aab3f09ab5c4db4d9bd43c5cd 100644 |
| --- a/chrome/browser/website_settings.h |
| +++ b/chrome/browser/website_settings.h |
| @@ -15,6 +15,9 @@ |
| #include "chrome/common/content_settings_types.h" |
| #include "googleurl/src/gurl.h" |
| #include "ui/gfx/native_widget_types.h" |
| +#if defined(TOOLKIT_VIEWS) |
| +#include "ui/views/view.h" |
| +#endif |
| namespace content { |
| class CertStore; |
| @@ -71,11 +74,20 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver { |
| // currently active profile and |ssl| contains the |SSLStatus| of the |
| // connection to the website in the currently active tab that is wrapped by |
| // the |tab_contents_wrapper|. |
| +#if defined(TOOLKIT_VIEWS) |
| + static void Show(views::View* anchor_view, |
|
Ben Goodger (Google)
2012/05/29 19:54:20
think about how to make Show() work in a cross pla
markusheintz_
2012/06/05 17:02:12
After a small refactoring: http://codereview.chrom
|
| + Profile* profile, |
| + TabContentsWrapper* tab_contents_wrapper, |
| + const GURL& url, |
| + const content::SSLStatus& ssl); |
| +#elif defined(TOOLKIT_GTK) |
| static void Show(gfx::NativeWindow parent, |
| Profile* profile, |
| TabContentsWrapper* tab_contents_wrapper, |
| const GURL& url, |
| const content::SSLStatus& ssl); |
| +#endif |
| + |
| // Creates a WebsiteSettings for the passed |url| using the given |ssl| status |
| // object to determine the status of the site's connection. The |