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 #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 #include "base/mac/bundle_locations.h" | 9 #include "base/mac/bundle_locations.h" |
10 #import "base/mac/mac_util.h" | 10 #import "base/mac/mac_util.h" |
(...skipping 18 matching lines...) Expand all Loading... | |
29 #import "chrome/browser/ui/cocoa/content_settings/cookie_details_view_controller .h" | 29 #import "chrome/browser/ui/cocoa/content_settings/cookie_details_view_controller .h" |
30 #import "chrome/browser/ui/cocoa/vertical_gradient_view.h" | 30 #import "chrome/browser/ui/cocoa/vertical_gradient_view.h" |
31 #include "chrome/browser/ui/collected_cookies_infobar_delegate.h" | 31 #include "chrome/browser/ui/collected_cookies_infobar_delegate.h" |
32 #include "chrome/common/pref_names.h" | 32 #include "chrome/common/pref_names.h" |
33 #include "content/public/browser/notification_details.h" | 33 #include "content/public/browser/notification_details.h" |
34 #include "content/public/browser/notification_source.h" | 34 #include "content/public/browser/notification_source.h" |
35 #include "content/public/browser/web_contents.h" | 35 #include "content/public/browser/web_contents.h" |
36 #include "content/public/browser/web_contents_view.h" | 36 #include "content/public/browser/web_contents_view.h" |
37 #include "grit/generated_resources.h" | 37 #include "grit/generated_resources.h" |
38 #include "grit/theme_resources.h" | 38 #include "grit/theme_resources.h" |
39 #import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h" | 39 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMNSAnimation+Duration.h " |
40 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" | 40 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw eaker.h" |
41 #include "third_party/apple_sample_code/ImageAndTextCell.h" | 41 #include "third_party/apple_sample_code/ImageAndTextCell.h" |
Mark Mentovai
2013/12/13 23:03:20
Sort: google_toolbox_for_mac should follow apple_s
| |
42 #include "ui/base/l10n/l10n_util_mac.h" | 42 #include "ui/base/l10n/l10n_util_mac.h" |
43 #include "ui/base/resource/resource_bundle.h" | 43 #include "ui/base/resource/resource_bundle.h" |
44 #include "ui/gfx/image/image.h" | 44 #include "ui/gfx/image/image.h" |
45 #include "ui/gfx/image/image_skia.h" | 45 #include "ui/gfx/image/image_skia.h" |
46 #include "ui/gfx/image/image_skia_util_mac.h" | 46 #include "ui/gfx/image/image_skia_util_mac.h" |
47 | 47 |
48 namespace { | 48 namespace { |
49 // Colors for the infobar. | 49 // Colors for the infobar. |
50 const double kBannerGradientColorTop[3] = | 50 const double kBannerGradientColorTop[3] = |
51 {255.0 / 255.0, 242.0 / 255.0, 183.0 / 255.0}; | 51 {255.0 / 255.0, 242.0 / 255.0, 183.0 / 255.0}; |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
512 treeController = blockedTreeController_; | 512 treeController = blockedTreeController_; |
513 break; | 513 break; |
514 default: | 514 default: |
515 NOTREACHED(); | 515 NOTREACHED(); |
516 return; | 516 return; |
517 } | 517 } |
518 [detailsViewController_ configureBindingsForTreeController:treeController]; | 518 [detailsViewController_ configureBindingsForTreeController:treeController]; |
519 } | 519 } |
520 | 520 |
521 @end | 521 @end |
OLD | NEW |