summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/cocoa/draggable_button.mm4
-rw-r--r--chrome/browser/cocoa/draggable_button_unittest.mm2
-rw-r--r--chrome/browser/cocoa/sync_customize_controller_unittest.mm10
3 files changed, 8 insertions, 8 deletions
diff --git a/chrome/browser/cocoa/draggable_button.mm b/chrome/browser/cocoa/draggable_button.mm
index b45c2a8..8eb7f98 100644
--- a/chrome/browser/cocoa/draggable_button.mm
+++ b/chrome/browser/cocoa/draggable_button.mm
@@ -34,7 +34,7 @@ const CGFloat kDragExpirationTimeout = 1.0;
}
return self;
}
-
+
// Determine whether a mouse down should turn into a drag; started as copy of
// NSTableView code.
- (BOOL)dragShouldBeginFromMouseDown:(NSEvent*)mouseDownEvent
@@ -80,7 +80,7 @@ const CGFloat kDragExpirationTimeout = 1.0;
}
// Since we've been dequeuing the events (If we don't, we'll never see
- // the mouse up...), we need to push some of the events back on.
+ // the mouse up...), we need to push some of the events back on.
// It makes sense to put the first and last drag events and the mouse
// up if there was one.
if (mouseUp != nil) {
diff --git a/chrome/browser/cocoa/draggable_button_unittest.mm b/chrome/browser/cocoa/draggable_button_unittest.mm
index 6742721..3f5d521 100644
--- a/chrome/browser/cocoa/draggable_button_unittest.mm
+++ b/chrome/browser/cocoa/draggable_button_unittest.mm
@@ -127,7 +127,7 @@ TEST_F(DraggableButtonTest, ResetState) {
// The button should not be highlighted after the drag finishes.
EXPECT_FALSE([[button cell] isHighlighted]);
EXPECT_EQ(1U, [button dragCount]);
-
+
// We should be able to initiate another drag immediately after the first one.
[NSApp postEvent:upEvent atStart:YES];
[NSApp postEvent:moveEvent atStart:YES];
diff --git a/chrome/browser/cocoa/sync_customize_controller_unittest.mm b/chrome/browser/cocoa/sync_customize_controller_unittest.mm
index eccfed4..6c46a87 100644
--- a/chrome/browser/cocoa/sync_customize_controller_unittest.mm
+++ b/chrome/browser/cocoa/sync_customize_controller_unittest.mm
@@ -100,7 +100,7 @@ TEST_F(SyncCustomizeControllerTest, EndSheetWithOK) {
expected_preferred_types.insert(syncable::THEMES);
EXPECT_TRUE(preferred_types == expected_preferred_types);
}
-
+
TEST_F(SyncCustomizeControllerTest, CannotSelectZeroTypes) {
SyncCustomizeController* controller = MakeSyncCustomizeController();
[controller runAsModalSheet:test_window()];
@@ -108,7 +108,7 @@ TEST_F(SyncCustomizeControllerTest, CannotSelectZeroTypes) {
[controller setPreferencesPreferred:NO];
[controller setAutofillPreferred:NO];
[controller setThemesPreferred:NO];
-
+
EXPECT_FALSE([controller okEnabled]);
// If any data types are enabled, "OK" should be enabled too.
@@ -116,10 +116,10 @@ TEST_F(SyncCustomizeControllerTest, CannotSelectZeroTypes) {
[controller setPreferencesPreferred:YES];
[controller setAutofillPreferred:NO];
[controller setThemesPreferred:NO];
-
+
EXPECT_TRUE([controller okEnabled]);
-
+
[controller endSheetWithCancel:nil];
-}
+}
} // namespace