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 #import "chrome/browser/cocoa/content_setting_bubble_cocoa.h" | 5 #import "chrome/browser/cocoa/content_setting_bubble_cocoa.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/sys_string_conversions.h" | 10 #include "base/sys_string_conversions.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "chrome/browser/blocked_content_container.h" | 12 #include "chrome/browser/blocked_content_container.h" |
13 #import "chrome/browser/cocoa/content_settings_dialog_controller.h" | 13 #import "chrome/browser/cocoa/content_settings_dialog_controller.h" |
14 #import "chrome/browser/cocoa/hyperlink_button_cell.h" | 14 #import "chrome/browser/cocoa/hyperlink_button_cell.h" |
15 #import "chrome/browser/cocoa/info_bubble_view.h" | 15 #import "chrome/browser/cocoa/info_bubble_view.h" |
16 #import "chrome/browser/cocoa/l10n_util.h" | 16 #import "chrome/browser/cocoa/l10n_util.h" |
17 #include "chrome/browser/content_setting_bubble_model.h" | 17 #include "chrome/browser/content_setting_bubble_model.h" |
18 #include "chrome/browser/host_content_settings_map.h" | 18 #include "chrome/browser/content_settings/host_content_settings_map.h" |
19 #include "chrome/browser/plugin_updater.h" | 19 #include "chrome/browser/plugin_updater.h" |
20 #include "chrome/common/chrome_switches.h" | 20 #include "chrome/common/chrome_switches.h" |
21 #include "grit/generated_resources.h" | 21 #include "grit/generated_resources.h" |
22 #include "skia/ext/skia_utils_mac.h" | 22 #include "skia/ext/skia_utils_mac.h" |
23 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" | 23 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" |
24 #include "webkit/glue/plugins/plugin_list.h" | 24 #include "webkit/glue/plugins/plugin_list.h" |
25 | 25 |
26 namespace { | 26 namespace { |
27 | 27 |
28 // Must match the tag of the unblock radio button in the xib files. | 28 // Must match the tag of the unblock radio button in the xib files. |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 DCHECK(i != popupLinks_.end()); | 478 DCHECK(i != popupLinks_.end()); |
479 contentSettingBubbleModel_->OnPopupClicked(i->second); | 479 contentSettingBubbleModel_->OnPopupClicked(i->second); |
480 } | 480 } |
481 | 481 |
482 - (void)clearGeolocationForCurrentHost:(id)sender { | 482 - (void)clearGeolocationForCurrentHost:(id)sender { |
483 contentSettingBubbleModel_->OnClearLinkClicked(); | 483 contentSettingBubbleModel_->OnClearLinkClicked(); |
484 [self close]; | 484 [self close]; |
485 } | 485 } |
486 | 486 |
487 @end // ContentSettingBubbleController | 487 @end // ContentSettingBubbleController |
OLD | NEW |