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

Unified Diff: ui/base/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 | « ui/base/cocoa/hover_button.mm ('k') | ui/base/cocoa/hover_image_button.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cocoa/hover_image_button.h
diff --git a/chrome/browser/ui/cocoa/hover_image_button.h b/ui/base/cocoa/hover_image_button.h
similarity index 81%
rename from chrome/browser/ui/cocoa/hover_image_button.h
rename to ui/base/cocoa/hover_image_button.h
index ec63d442e126e4cb27b81057ffc7a494c92187aa..6aed277177f9468689ef08887a10865abebbd6a8 100644
--- a/chrome/browser/ui/cocoa/hover_image_button.h
+++ b/ui/base/cocoa/hover_image_button.h
@@ -2,10 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#ifndef UI_BASE_COCOA_HOVER_IMAGE_BUTTON_H_
+#define UI_BASE_COCOA_HOVER_IMAGE_BUTTON_H_
+
#import <Cocoa/Cocoa.h>
-#include "base/memory/scoped_nsobject.h"
-#include "chrome/browser/ui/cocoa/hover_button.h"
+#import "base/memory/scoped_nsobject.h"
+#import "ui/base/cocoa/hover_button.h"
// A button that changes images when you hover over it and click it.
@interface HoverImageButton : HoverButton {
@@ -38,3 +41,5 @@
- (void)setPressedOpacity:(float)opacity;
@end
+
+#endif // UI_BASE_COCOA_HOVER_IMAGE_BUTTON_H_
« no previous file with comments | « ui/base/cocoa/hover_button.mm ('k') | ui/base/cocoa/hover_image_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698