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

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc

Issue 2330223002: Remove buttons from internal page info bubble. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
index d9092091d0418245ce9f4ffdd551200b472b9aa4..f31bef51b8a7f3f02eb534444073274204680c63 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
@@ -167,6 +167,7 @@ class InternalPageInfoPopupView : public views::BubbleDialogDelegateView {
views::NonClientFrameView* CreateNonClientFrameView(
views::Widget* widget) override;
void OnWidgetDestroying(views::Widget* widget) override;
+ int GetDialogButtons() const override;
private:
friend class WebsiteSettingsPopupView;
@@ -396,6 +397,10 @@ void InternalPageInfoPopupView::OnWidgetDestroying(views::Widget* widget) {
is_popup_showing = false;
}
+int InternalPageInfoPopupView::GetDialogButtons() const {
+ return ui::DIALOG_BUTTON_NONE;
+}
+
////////////////////////////////////////////////////////////////////////////////
// WebsiteSettingsPopupView
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698