diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-05 05:25:04 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-05 05:25:04 +0000 |
commit | 495ec72daeceb31a000decb7d374a2a0178b6f29 (patch) | |
tree | 94b01b19219848ec1778d82a699d4b9f7f059c62 | |
parent | f66f67beeda88eda745418150fa8db612d5f91bd (diff) | |
download | chromium_src-495ec72daeceb31a000decb7d374a2a0178b6f29.zip chromium_src-495ec72daeceb31a000decb7d374a2a0178b6f29.tar.gz chromium_src-495ec72daeceb31a000decb7d374a2a0178b6f29.tar.bz2 |
Whitespace change to trigger bots.
TBR=viettrungluu@chromium.org
Review URL: http://codereview.chromium.org/2689005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49002 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/cocoa/draggable_button.mm | 4 | ||||
-rw-r--r-- | chrome/browser/cocoa/draggable_button_unittest.mm | 2 | ||||
-rw-r--r-- | chrome/browser/cocoa/sync_customize_controller_unittest.mm | 10 |
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 |