OLD | NEW |
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 <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
| 13 #include "base/macros.h" |
11 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
12 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
14 #include "chrome/browser/certificate_viewer.h" | 17 #include "chrome/browser/certificate_viewer.h" |
15 #include "chrome/browser/devtools/devtools_toggle_action.h" | 18 #include "chrome/browser/devtools/devtools_toggle_action.h" |
16 #include "chrome/browser/devtools/devtools_window.h" | 19 #include "chrome/browser/devtools/devtools_window.h" |
17 #include "chrome/browser/infobars/infobar_service.h" | 20 #include "chrome/browser/infobars/infobar_service.h" |
18 #include "chrome/browser/profiles/profile.h" | 21 #include "chrome/browser/profiles/profile.h" |
19 #include "chrome/browser/ui/browser.h" | 22 #include "chrome/browser/ui/browser.h" |
20 #include "chrome/browser/ui/browser_dialogs.h" | 23 #include "chrome/browser/ui/browser_dialogs.h" |
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 } | 928 } |
926 | 929 |
927 void WebsiteSettingsPopupView::StyledLabelLinkClicked(views::StyledLabel* label, | 930 void WebsiteSettingsPopupView::StyledLabelLinkClicked(views::StyledLabel* label, |
928 const gfx::Range& range, | 931 const gfx::Range& range, |
929 int event_flags) { | 932 int event_flags) { |
930 presenter_->RecordWebsiteSettingsAction( | 933 presenter_->RecordWebsiteSettingsAction( |
931 WebsiteSettings::WEBSITE_SETTINGS_SECURITY_DETAILS_OPENED); | 934 WebsiteSettings::WEBSITE_SETTINGS_SECURITY_DETAILS_OPENED); |
932 DevToolsWindow::OpenDevToolsWindow(web_contents_, | 935 DevToolsWindow::OpenDevToolsWindow(web_contents_, |
933 DevToolsToggleAction::ShowSecurityPanel()); | 936 DevToolsToggleAction::ShowSecurityPanel()); |
934 } | 937 } |
OLD | NEW |