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 <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "content/public/browser/user_metrics.h" | 24 #include "content/public/browser/user_metrics.h" |
25 #include "grit/chromium_strings.h" | 25 #include "grit/chromium_strings.h" |
26 #include "grit/generated_resources.h" | 26 #include "grit/generated_resources.h" |
27 #include "grit/theme_resources.h" | 27 #include "grit/theme_resources.h" |
28 #include "grit/ui_resources.h" | 28 #include "grit/ui_resources.h" |
29 #include "ui/base/l10n/l10n_util.h" | 29 #include "ui/base/l10n/l10n_util.h" |
30 #include "ui/base/models/simple_menu_model.h" | 30 #include "ui/base/models/simple_menu_model.h" |
31 #include "ui/base/resource/resource_bundle.h" | 31 #include "ui/base/resource/resource_bundle.h" |
32 #include "ui/gfx/canvas.h" | 32 #include "ui/gfx/canvas.h" |
33 #include "ui/gfx/font_list.h" | 33 #include "ui/gfx/font_list.h" |
| 34 #include "ui/gfx/geometry/insets.h" |
34 #include "ui/gfx/image/image.h" | 35 #include "ui/gfx/image/image.h" |
35 #include "ui/gfx/insets.h" | |
36 #include "ui/views/controls/button/image_button.h" | 36 #include "ui/views/controls/button/image_button.h" |
37 #include "ui/views/controls/button/menu_button.h" | 37 #include "ui/views/controls/button/menu_button.h" |
38 #include "ui/views/controls/button/menu_button_listener.h" | 38 #include "ui/views/controls/button/menu_button_listener.h" |
39 #include "ui/views/controls/image_view.h" | 39 #include "ui/views/controls/image_view.h" |
40 #include "ui/views/controls/label.h" | 40 #include "ui/views/controls/label.h" |
41 #include "ui/views/controls/link.h" | 41 #include "ui/views/controls/link.h" |
42 #include "ui/views/controls/menu/menu_model_adapter.h" | 42 #include "ui/views/controls/menu/menu_model_adapter.h" |
43 #include "ui/views/controls/menu/menu_runner.h" | 43 #include "ui/views/controls/menu/menu_runner.h" |
44 #include "ui/views/controls/separator.h" | 44 #include "ui/views/controls/separator.h" |
45 #include "ui/views/controls/tabbed_pane/tabbed_pane.h" | 45 #include "ui/views/controls/tabbed_pane/tabbed_pane.h" |
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 web_contents_, signed_certificate_timestamp_ids_); | 802 web_contents_, signed_certificate_timestamp_ids_); |
803 } else if (source == help_center_link_) { | 803 } else if (source == help_center_link_) { |
804 browser_->OpenURL(content::OpenURLParams( | 804 browser_->OpenURL(content::OpenURLParams( |
805 GURL(chrome::kPageInfoHelpCenterURL), | 805 GURL(chrome::kPageInfoHelpCenterURL), |
806 content::Referrer(), | 806 content::Referrer(), |
807 NEW_FOREGROUND_TAB, | 807 NEW_FOREGROUND_TAB, |
808 content::PAGE_TRANSITION_LINK, | 808 content::PAGE_TRANSITION_LINK, |
809 false)); | 809 false)); |
810 } | 810 } |
811 } | 811 } |
OLD | NEW |