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

Unified Diff: chrome/browser/ui/cocoa/throbber_view.h

Issue 6362007: [Mac] Organize all tab/tab strip files into chrome/browser/ui/cocoa/tabs/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/throbber_view_unittest.mm ('k') | chrome/browser/ui/cocoa/throbber_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/throbber_view.h
===================================================================
--- chrome/browser/ui/cocoa/throbber_view.h (revision 71805)
+++ chrome/browser/ui/cocoa/throbber_view.h (working copy)
@@ -1,42 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_COCOA_THROBBER_VIEW_H_
-#define CHROME_BROWSER_UI_COCOA_THROBBER_VIEW_H_
-#pragma once
-
-#import <Cocoa/Cocoa.h>
-
-#include "base/scoped_nsobject.h"
-
-@protocol ThrobberDataDelegate;
-
-// A class that knows how to draw an animated state to indicate progress.
-// Creating the class starts the animation, destroying it stops it. There are
-// two types:
-//
-// - Filmstrip: Draws via a sequence of frames in an image. There is no state
-// where the class is frozen on an image and not animating. The image needs to
-// be made of squares such that the height divides evenly into the width.
-//
-// - Toast: Draws an image animating down to the bottom and then another image
-// animating up from the bottom. Stops once the animation is complete.
-
-@interface ThrobberView : NSView {
- @private
- id<ThrobberDataDelegate> dataDelegate_;
-}
-
-// Creates a filmstrip view with |frame| and image |image|.
-+ (id)filmstripThrobberViewWithFrame:(NSRect)frame
- image:(NSImage*)image;
-
-// Creates a toast view with |frame| and specified images.
-+ (id)toastThrobberViewWithFrame:(NSRect)frame
- beforeImage:(NSImage*)beforeImage
- afterImage:(NSImage*)afterImage;
-
-@end
-
-#endif // CHROME_BROWSER_UI_COCOA_THROBBER_VIEW_H_
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/throbber_view_unittest.mm ('k') | chrome/browser/ui/cocoa/throbber_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698