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

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

Issue 12937008: Move HoverButton and HoverImageButton from chrome/browser/ui/cocoa/ to ui/base/cocoa. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 7 years, 9 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/hover_close_button.h ('k') | chrome/browser/ui/cocoa/hover_image_button.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/hover_image_button.h
diff --git a/chrome/browser/ui/cocoa/hover_image_button.h b/chrome/browser/ui/cocoa/hover_image_button.h
deleted file mode 100644
index ec63d442e126e4cb27b81057ffc7a494c92187aa..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/hover_image_button.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2011 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.
-
-#import <Cocoa/Cocoa.h>
-
-#include "base/memory/scoped_nsobject.h"
-#include "chrome/browser/ui/cocoa/hover_button.h"
-
-// A button that changes images when you hover over it and click it.
-@interface HoverImageButton : HoverButton {
- @private
- float defaultOpacity_;
- float hoverOpacity_;
- float pressedOpacity_;
-
- scoped_nsobject<NSImage> defaultImage_;
- scoped_nsobject<NSImage> hoverImage_;
- scoped_nsobject<NSImage> pressedImage_;
-}
-
-// Sets the default image.
-- (void)setDefaultImage:(NSImage*)image;
-
-// Sets the hover image.
-- (void)setHoverImage:(NSImage*)image;
-
-// Sets the pressed image.
-- (void)setPressedImage:(NSImage*)image;
-
-// Sets the default opacity.
-- (void)setDefaultOpacity:(float)opacity;
-
-// Sets the opacity on hover.
-- (void)setHoverOpacity:(float)opacity;
-
-// Sets the opacity when pressed.
-- (void)setPressedOpacity:(float)opacity;
-
-@end
« no previous file with comments | « chrome/browser/ui/cocoa/hover_close_button.h ('k') | chrome/browser/ui/cocoa/hover_image_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698