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

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

Issue 1407093007: Autofill: Add legal message footer to save credit card bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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 #include "chrome/browser/ui/views/website_settings/website_settings_popup_view.h " 5 #include "chrome/browser/ui/views/website_settings/website_settings_popup_view.h "
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 web_contents_->OpenURL(content::OpenURLParams( 903 web_contents_->OpenURL(content::OpenURLParams(
904 GURL(chrome::kChromeUIContentSettingsURL), content::Referrer(), 904 GURL(chrome::kChromeUIContentSettingsURL), content::Referrer(),
905 NEW_FOREGROUND_TAB, ui::PAGE_TRANSITION_LINK, false)); 905 NEW_FOREGROUND_TAB, ui::PAGE_TRANSITION_LINK, false));
906 presenter_->RecordWebsiteSettingsAction( 906 presenter_->RecordWebsiteSettingsAction(
907 WebsiteSettings::WEBSITE_SETTINGS_SITE_SETTINGS_OPENED); 907 WebsiteSettings::WEBSITE_SETTINGS_SITE_SETTINGS_OPENED);
908 } else { 908 } else {
909 NOTREACHED(); 909 NOTREACHED();
910 } 910 }
911 } 911 }
912 912
913 void WebsiteSettingsPopupView::StyledLabelLinkClicked(const gfx::Range& range, 913 void WebsiteSettingsPopupView::StyledLabelLinkClicked(views::StyledLabel* label,
914 const gfx::Range& range,
914 int event_flags) { 915 int event_flags) {
915 presenter_->RecordWebsiteSettingsAction( 916 presenter_->RecordWebsiteSettingsAction(
916 WebsiteSettings::WEBSITE_SETTINGS_SECURITY_DETAILS_OPENED); 917 WebsiteSettings::WEBSITE_SETTINGS_SECURITY_DETAILS_OPENED);
917 DevToolsWindow::OpenDevToolsWindow(web_contents_, 918 DevToolsWindow::OpenDevToolsWindow(web_contents_,
918 DevToolsToggleAction::ShowSecurityPanel()); 919 DevToolsToggleAction::ShowSecurityPanel());
919 } 920 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/website_settings/website_settings_popup_view.h ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698