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/ui/cocoa/collected_cookies_mac.h" | 5 #import "chrome/browser/ui/cocoa/collected_cookies_mac.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "app/l10n_util_mac.h" | 9 #include "app/l10n_util_mac.h" |
10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
11 #import "base/mac_util.h" | 11 #import "base/mac_util.h" |
12 #include "base/sys_string_conversions.h" | 12 #include "base/sys_string_conversions.h" |
13 #include "chrome/browser/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
14 #include "chrome/browser/tab_contents/tab_contents.h" | 14 #include "chrome/browser/tab_contents/tab_contents.h" |
15 #import "chrome/browser/ui/cocoa/vertical_gradient_view.h" | 15 #import "chrome/browser/ui/cocoa/vertical_gradient_view.h" |
16 #include "chrome/common/notification_service.h" | 16 #include "chrome/common/notification_service.h" |
17 #include "grit/generated_resources.h" | 17 #include "grit/generated_resources.h" |
18 #include "grit/theme_resources.h" | 18 #include "grit/theme_resources.h" |
19 #include "skia/ext/skia_utils_mac.h" | 19 #include "skia/ext/skia_utils_mac.h" |
20 #include "third_party/apple/ImageAndTextCell.h" | 20 #include "third_party/apple/ImageAndTextCell.h" |
21 #include "third_party/skia/include/core/SkBitmap.h" | 21 #include "third_party/skia/include/core/SkBitmap.h" |
22 #import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h" | 22 #import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h" |
23 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" | 23 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 nil]]; | 490 nil]]; |
491 [animation_ setViewAnimations:animations]; | 491 [animation_ setViewAnimations:animations]; |
492 // The default duration is 0.5s, which actually feels slow in here, so speed | 492 // The default duration is 0.5s, which actually feels slow in here, so speed |
493 // it up a bit. | 493 // it up a bit. |
494 [animation_ gtm_setDuration:0.2 | 494 [animation_ gtm_setDuration:0.2 |
495 eventMask:NSLeftMouseUpMask]; | 495 eventMask:NSLeftMouseUpMask]; |
496 [animation_ startAnimation]; | 496 [animation_ startAnimation]; |
497 } | 497 } |
498 | 498 |
499 @end | 499 @end |
OLD | NEW |