diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 12:46:38 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 12:46:38 +0000 |
commit | f0a51fb571f46531025fa09240bbc3e1af925e84 (patch) | |
tree | 558b4f0e737fda4b9ab60f252c9c23b8a4ca523e /chrome/test/interactive_ui | |
parent | 6390be368205705f49ead3cec40396519f13b889 (diff) | |
download | chromium_src-f0a51fb571f46531025fa09240bbc3e1af925e84.zip chromium_src-f0a51fb571f46531025fa09240bbc3e1af925e84.tar.gz chromium_src-f0a51fb571f46531025fa09240bbc3e1af925e84.tar.bz2 |
Fixes CRLF and trailing white spaces.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/interactive_ui')
-rw-r--r-- | chrome/test/interactive_ui/npapi_interactive_test.cc | 8 | ||||
-rw-r--r-- | chrome/test/interactive_ui/view_event_test_base.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/test/interactive_ui/npapi_interactive_test.cc b/chrome/test/interactive_ui/npapi_interactive_test.cc index 4ec2b86..95be3f6 100644 --- a/chrome/test/interactive_ui/npapi_interactive_test.cc +++ b/chrome/test/interactive_ui/npapi_interactive_test.cc @@ -41,14 +41,14 @@ const char kTestCompleteCookie[] = "status"; const char kTestCompleteSuccess[] = "OK"; const int kShortWaitTimeout = 5 * 1000; -// Tests if a plugin executing a self deleting script in the context of +// Tests if a plugin executing a self deleting script in the context of // a synchronous mousemove works correctly TEST_F(NPAPIVisiblePluginTester, SelfDeletePluginInvokeInSynchronousMouseMove) { if (!UITest::in_process_renderer()) { scoped_ptr<TabProxy> tab_proxy(GetActiveTab()); HWND tab_window = NULL; tab_proxy->GetHWND(&tab_window); - + EXPECT_TRUE(IsWindow(tab_window)); show_window_ = true; @@ -59,8 +59,8 @@ TEST_F(NPAPIVisiblePluginTester, SelfDeletePluginInvokeInSynchronousMouseMove) { POINT cursor_position = {130, 130}; ClientToScreen(tab_window, &cursor_position); - double screen_width = ::GetSystemMetrics( SM_CXSCREEN ) - 1; - double screen_height = ::GetSystemMetrics( SM_CYSCREEN ) - 1; + double screen_width = ::GetSystemMetrics( SM_CXSCREEN ) - 1; + double screen_height = ::GetSystemMetrics( SM_CYSCREEN ) - 1; double location_x = cursor_position.x * (65535.0f / screen_width); double location_y = cursor_position.y * (65535.0f / screen_height); diff --git a/chrome/test/interactive_ui/view_event_test_base.h b/chrome/test/interactive_ui/view_event_test_base.h index 42a614b..673657c 100644 --- a/chrome/test/interactive_ui/view_event_test_base.h +++ b/chrome/test/interactive_ui/view_event_test_base.h @@ -81,7 +81,7 @@ class ViewEventTestBase : public views::WindowDelegate, void Release() {} protected: - // Returns the view that is added to the window. + // Returns the view that is added to the window. virtual views::View* CreateContentsView() = 0; // Called once the message loop is running. @@ -129,7 +129,7 @@ class ViewEventTestBase : public views::WindowDelegate, DISALLOW_COPY_AND_ASSIGN(ViewEventTestBase); }; -// Convenience macro for defining a ViewEventTestBase. See class description +// Convenience macro for defining a ViewEventTestBase. See class description // of ViewEventTestBase for details. #define VIEW_TEST(test_class, name) \ TEST_F(test_class, name) {\ |