Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: chrome/browser/ui/cocoa/history_overlay_controller.mm

Issue 10656014: Merge 143605 - grd file update for new 2x assets (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/history_overlay_controller.h" 5 #import "chrome/browser/ui/cocoa/history_overlay_controller.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "grit/theme_resources.h" 8 #include "grit/theme_resources_standard.h"
9 #include "ui/base/resource/resource_bundle.h" 9 #include "ui/base/resource/resource_bundle.h"
10 #include "ui/gfx/image/image.h" 10 #include "ui/gfx/image/image.h"
11 11
12 #import <QuartzCore/QuartzCore.h> 12 #import <QuartzCore/QuartzCore.h>
13 13
14 #include <cmath> 14 #include <cmath>
15 15
16 // Constants /////////////////////////////////////////////////////////////////// 16 // Constants ///////////////////////////////////////////////////////////////////
17 17
18 // The radius of the circle drawn in the shield. 18 // The radius of the circle drawn in the shield.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 [dictionary setObject:animation forKey:@"alphaValue"]; 159 [dictionary setObject:animation forKey:@"alphaValue"];
160 [overlay setAnimations:dictionary]; 160 [overlay setAnimations:dictionary];
161 [[overlay animator] setAlphaValue:0.0]; 161 [[overlay animator] setAlphaValue:0.0];
162 } 162 }
163 163
164 - (void)animationDidStop:(CAAnimation*)theAnimation finished:(BOOL)finished { 164 - (void)animationDidStop:(CAAnimation*)theAnimation finished:(BOOL)finished {
165 [self.view removeFromSuperview]; 165 [self.view removeFromSuperview];
166 } 166 }
167 167
168 @end 168 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/extensions/browser_action_button.mm ('k') | chrome/browser/ui/cocoa/hung_renderer_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698