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

Unified Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_button.mm

Issue 10870094: Constrained window sheet controller (test patch) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename Created 8 years, 4 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
Index: chrome/browser/ui/cocoa/constrained_window/constrained_window_button.mm
diff --git a/chrome/browser/ui/cocoa/constrained_window/cw_button.mm b/chrome/browser/ui/cocoa/constrained_window/constrained_window_button.mm
similarity index 95%
rename from chrome/browser/ui/cocoa/constrained_window/cw_button.mm
rename to chrome/browser/ui/cocoa/constrained_window/constrained_window_button.mm
index 7481b972affb3a4986ea0c107f11a70ee1191b6a..f269da4a8905960f769bd047c0b817cdb60c4046 100644
--- a/chrome/browser/ui/cocoa/constrained_window/cw_button.mm
+++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_button.mm
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import "chrome/browser/ui/cocoa/constrained_window/cw_button.h"
+#import "chrome/browser/ui/cocoa/constrained_window/constrained_window_button.h"
#include "base/memory/scoped_nsobject.h"
#include "skia/ext/skia_utils_mac.h"
@@ -20,11 +20,11 @@ enum ButtonState {
} // namespace
-@interface CWButton()
+@interface ConstrainedWindowButton ()
- (BOOL)isMouseReallyInside;
@end
-@interface CWButtonCell()
+@interface ConstrainedWindowButtonCell ()
- (ButtonState)buttonState;
@end
@@ -103,10 +103,10 @@ NSAttributedString* GetButtonAttributedString(NSString* title,
} // namespace
-@implementation CWButton
+@implementation ConstrainedWindowButton
+ (Class)cellClass {
- return [CWButtonCell class];
+ return [ConstrainedWindowButtonCell class];
}
- (void)updateTrackingAreas {
@@ -157,7 +157,7 @@ NSAttributedString* GetButtonAttributedString(NSString* title,
@end
-@implementation CWButtonCell
+@implementation ConstrainedWindowButtonCell
@synthesize isMouseInside = isMouseInside_;

Powered by Google App Engine
This is Rietveld 408576698