| 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/views/content_setting_bubble_contents.h" | 5 #include "chrome/browser/views/content_setting_bubble_contents.h" |
| 6 | 6 |
| 7 #if defined(OS_LINUX) | 7 #if defined(OS_LINUX) |
| 8 #include <gdk/gdk.h> | 8 #include <gdk/gdk.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| 11 #include "app/l10n_util.h" | 11 #include "app/l10n_util.h" |
| 12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
| 13 #include "chrome/browser/blocked_content_container.h" | 13 #include "chrome/browser/blocked_content_container.h" |
| 14 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| 14 #include "chrome/browser/content_setting_bubble_model.h" | 15 #include "chrome/browser/content_setting_bubble_model.h" |
| 15 #include "chrome/browser/host_content_settings_map.h" | |
| 16 #include "chrome/browser/plugin_updater.h" | 16 #include "chrome/browser/plugin_updater.h" |
| 17 #include "chrome/browser/profile.h" | 17 #include "chrome/browser/profile.h" |
| 18 #include "chrome/browser/tab_contents/tab_contents.h" | 18 #include "chrome/browser/tab_contents/tab_contents.h" |
| 19 #include "chrome/browser/views/browser_dialogs.h" | 19 #include "chrome/browser/views/browser_dialogs.h" |
| 20 #include "chrome/browser/views/info_bubble.h" | 20 #include "chrome/browser/views/info_bubble.h" |
| 21 #include "chrome/common/notification_source.h" | 21 #include "chrome/common/notification_source.h" |
| 22 #include "chrome/common/notification_type.h" | 22 #include "chrome/common/notification_type.h" |
| 23 #include "grit/generated_resources.h" | 23 #include "grit/generated_resources.h" |
| 24 #include "views/controls/button/native_button.h" | 24 #include "views/controls/button/native_button.h" |
| 25 #include "views/controls/button/radio_button.h" | 25 #include "views/controls/button/radio_button.h" |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 | 374 |
| 375 layout->StartRow(0, double_column_set_id); | 375 layout->StartRow(0, double_column_set_id); |
| 376 manage_link_ = new views::Link(UTF8ToWide(bubble_content.manage_link)); | 376 manage_link_ = new views::Link(UTF8ToWide(bubble_content.manage_link)); |
| 377 manage_link_->SetController(this); | 377 manage_link_->SetController(this); |
| 378 layout->AddView(manage_link_); | 378 layout->AddView(manage_link_); |
| 379 | 379 |
| 380 close_button_ = | 380 close_button_ = |
| 381 new views::NativeButton(this, l10n_util::GetString(IDS_DONE)); | 381 new views::NativeButton(this, l10n_util::GetString(IDS_DONE)); |
| 382 layout->AddView(close_button_); | 382 layout->AddView(close_button_); |
| 383 } | 383 } |
| OLD | NEW |