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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 10456017: Add WebsiteSettingsUI for Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index f864c7843441f71d54f03ca2a6d10708d6a07198..99a7a5947845e85d2cc9a3f20d80c02ee7ac75b7 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -59,6 +59,7 @@
#include "chrome/browser/ui/views/tabs/tab_strip.h"
#include "chrome/browser/ui/views/toolbar_view.h"
#include "chrome/browser/ui/views/update_recommended_message_box.h"
+#include "chrome/browser/ui/views/website_settings_popup_view.h"
#include "chrome/browser/ui/webui/feedback_ui.h"
#include "chrome/browser/ui/window_sizer.h"
#include "chrome/common/chrome_notification_types.h"
@@ -1148,6 +1149,9 @@ void BrowserView::ShowWebsiteSettings(Profile* profile,
const GURL& url,
const content::SSLStatus& ssl,
bool show_history) {
+ WebsiteSettingsPopupView::ShowPopup(
+ GetLocationBarView()->location_icon_view(), profile,
+ tab_contents_wrapper, url, ssl);
}
void BrowserView::ShowAppMenu() {

Powered by Google App Engine
This is Rietveld 408576698