| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/ui/cocoa/content_settings/collected_cookies_mac.h" | 5 #import "chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #import "base/mac/mac_util.h" | 9 #import "base/mac/mac_util.h" |
| 10 #include "base/sys_string_conversions.h" | 10 #include "base/sys_string_conversions.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "chrome/common/chrome_notification_types.h" | 21 #include "chrome/common/chrome_notification_types.h" |
| 22 #include "chrome/common/pref_names.h" | 22 #include "chrome/common/pref_names.h" |
| 23 #include "content/browser/tab_contents/tab_contents.h" | 23 #include "content/browser/tab_contents/tab_contents.h" |
| 24 #include "content/public/browser/notification_details.h" | 24 #include "content/public/browser/notification_details.h" |
| 25 #include "content/public/browser/notification_source.h" | 25 #include "content/public/browser/notification_source.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 "skia/ext/skia_utils_mac.h" | 28 #include "skia/ext/skia_utils_mac.h" |
| 29 #import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h" | 29 #import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h" |
| 30 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" | 30 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" |
| 31 #include "third_party/apple/ImageAndTextCell.h" | 31 #include "third_party/apple_sample_code/ImageAndTextCell.h" |
| 32 #include "third_party/skia/include/core/SkBitmap.h" | 32 #include "third_party/skia/include/core/SkBitmap.h" |
| 33 #include "ui/base/l10n/l10n_util_mac.h" | 33 #include "ui/base/l10n/l10n_util_mac.h" |
| 34 #include "ui/base/resource/resource_bundle.h" | 34 #include "ui/base/resource/resource_bundle.h" |
| 35 #include "ui/gfx/image/image.h" | 35 #include "ui/gfx/image/image.h" |
| 36 | 36 |
| 37 namespace { | 37 namespace { |
| 38 // Colors for the infobar. | 38 // Colors for the infobar. |
| 39 const double kBannerGradientColorTop[3] = | 39 const double kBannerGradientColorTop[3] = |
| 40 {255.0 / 255.0, 242.0 / 255.0, 183.0 / 255.0}; | 40 {255.0 / 255.0, 242.0 / 255.0, 183.0 / 255.0}; |
| 41 const double kBannerGradientColorBottom[3] = | 41 const double kBannerGradientColorBottom[3] = |
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 treeController = blockedTreeController_; | 508 treeController = blockedTreeController_; |
| 509 break; | 509 break; |
| 510 default: | 510 default: |
| 511 NOTREACHED(); | 511 NOTREACHED(); |
| 512 return; | 512 return; |
| 513 } | 513 } |
| 514 [detailsViewController_ configureBindingsForTreeController:treeController]; | 514 [detailsViewController_ configureBindingsForTreeController:treeController]; |
| 515 } | 515 } |
| 516 | 516 |
| 517 @end | 517 @end |
| OLD | NEW |