OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/gtk/content_setting_bubble_gtk.h" | 5 #include "chrome/browser/gtk/content_setting_bubble_gtk.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "app/text_elider.h" | 8 #include "app/text_elider.h" |
9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
11 #include "chrome/browser/blocked_content_container.h" | 11 #include "chrome/browser/blocked_content_container.h" |
12 #include "chrome/browser/content_settings/host_content_settings_map.h" | 12 #include "chrome/browser/content_settings/host_content_settings_map.h" |
13 #include "chrome/browser/content_setting_bubble_model.h" | 13 #include "chrome/browser/content_setting_bubble_model.h" |
14 #include "chrome/browser/gtk/gtk_chrome_link_button.h" | 14 #include "chrome/browser/gtk/gtk_chrome_link_button.h" |
15 #include "chrome/browser/gtk/gtk_theme_provider.h" | 15 #include "chrome/browser/gtk/gtk_theme_provider.h" |
16 #include "chrome/browser/gtk/gtk_util.h" | 16 #include "chrome/browser/gtk/gtk_util.h" |
17 #include "chrome/browser/gtk/options/content_settings_window_gtk.h" | 17 #include "chrome/browser/gtk/options/content_settings_window_gtk.h" |
18 #include "chrome/browser/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
19 #include "chrome/browser/tab_contents/tab_contents.h" | 19 #include "chrome/browser/tab_contents/tab_contents.h" |
20 #include "chrome/common/content_settings.h" | 20 #include "chrome/common/content_settings.h" |
21 #include "chrome/common/notification_service.h" | 21 #include "chrome/common/notification_service.h" |
22 #include "chrome/common/notification_type.h" | 22 #include "chrome/common/notification_type.h" |
23 #include "gfx/gtk_util.h" | 23 #include "gfx/gtk_util.h" |
24 #include "grit/app_resources.h" | 24 #include "grit/app_resources.h" |
25 #include "grit/generated_resources.h" | 25 #include "grit/generated_resources.h" |
26 #include "webkit/glue/plugins/plugin_list.h" | 26 #include "webkit/glue/plugins/plugin_list.h" |
27 | 27 |
28 namespace { | 28 namespace { |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 | 342 |
343 void ContentSettingBubbleGtk::OnInfoLinkClicked(GtkWidget* button) { | 343 void ContentSettingBubbleGtk::OnInfoLinkClicked(GtkWidget* button) { |
344 content_setting_bubble_model_->OnInfoLinkClicked(); | 344 content_setting_bubble_model_->OnInfoLinkClicked(); |
345 Close(); | 345 Close(); |
346 } | 346 } |
347 | 347 |
348 void ContentSettingBubbleGtk::OnLoadPluginsLinkClicked(GtkWidget* button) { | 348 void ContentSettingBubbleGtk::OnLoadPluginsLinkClicked(GtkWidget* button) { |
349 content_setting_bubble_model_->OnLoadPluginsLinkClicked(); | 349 content_setting_bubble_model_->OnLoadPluginsLinkClicked(); |
350 Close(); | 350 Close(); |
351 } | 351 } |
OLD | NEW |