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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/throbber_view.mm

Issue 17627005: mac: Remove unused includes of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: builds Created 7 years, 5 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/tabs/throbber_view.h" 5 #import "chrome/browser/ui/cocoa/tabs/throbber_view.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/mac/scoped_nsobject.h"
10 11
11 static const float kAnimationIntervalSeconds = 0.03; // 30ms, same as windows 12 static const float kAnimationIntervalSeconds = 0.03; // 30ms, same as windows
12 13
13 @interface ThrobberView(PrivateMethods) 14 @interface ThrobberView(PrivateMethods)
14 - (id)initWithFrame:(NSRect)frame delegate:(id<ThrobberDataDelegate>)delegate; 15 - (id)initWithFrame:(NSRect)frame delegate:(id<ThrobberDataDelegate>)delegate;
15 - (void)maintainTimer; 16 - (void)maintainTimer;
16 - (void)animate; 17 - (void)animate;
17 @end 18 @end
18 19
19 @protocol ThrobberDataDelegate <NSObject> 20 @protocol ThrobberDataDelegate <NSObject>
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 [[ThrobberTimer sharedThrobberTimer] removeThrobber:self]; 364 [[ThrobberTimer sharedThrobberTimer] removeThrobber:self];
364 } 365 }
365 } 366 }
366 367
367 // Overridden to draw the appropriate frame in the image strip. 368 // Overridden to draw the appropriate frame in the image strip.
368 - (void)drawRect:(NSRect)rect { 369 - (void)drawRect:(NSRect)rect {
369 [dataDelegate_ drawFrameInRect:[self bounds]]; 370 [dataDelegate_ drawFrameInRect:[self bounds]];
370 } 371 }
371 372
372 @end 373 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/throbber_view.h ('k') | chrome/browser/ui/cocoa/task_manager_mac_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698