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

Unified Diff: ppapi/tests/test_view.h

Issue 10052028: Fix line endings in ppapi. No code change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « ppapi/tests/test_page.css ('k') | ppapi/tests/test_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_view.h
diff --git a/ppapi/tests/test_view.h b/ppapi/tests/test_view.h
index ff8b70a8aabd8cd7284f720e80eb563450556331..140d4cf7b5d16ce0fa8a3d6de9a7770fcce43039 100644
--- a/ppapi/tests/test_view.h
+++ b/ppapi/tests/test_view.h
@@ -1,51 +1,51 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef PPAPI_TEST_TEST_VIEW_H_
-#define PPAPI_TEST_TEST_VIEW_H_
-
-#include "ppapi/cpp/view.h"
-#include "ppapi/tests/test_case.h"
-
-class TestView : public TestCase {
- public:
- TestView(TestingInstance* instance);
-
- virtual void DidChangeView(const pp::View& view);
-
- // TestCase implementation.
- virtual bool Init();
- virtual void RunTests(const std::string& test_filter);
-
- private:
- // Waits until we get a view changed event. Note that the browser may give
- // us any number of view changed events, so tests that use this should
- // expect that there may be spurious events and handle them accordingly.
- // Note also that view changed sequencing can change between different
- // versions of WebKit.
- //
- // Returns true if we got a view changed, false if it timed out.
- bool WaitUntilViewChanged();
-
- void QuitMessageLoop(int32_t result);
-
- std::string TestCreatedVisible();
- std::string TestCreatedInvisible();
- std::string TestPageHideShow();
- std::string TestSizeChange();
- std::string TestClipChange();
-
- pp::View last_view_;
-
- // DidChangeView stores the page visibility in this vector on each
- // invocation so tests can check it.
- std::vector<bool> page_visibility_log_;
-
- // Set to true to request that the next invocation of DidChangeView should
- // post a quit to the message loop. DidChangeView will also reset the flag so
- // this will only happen once.
- bool post_quit_on_view_changed_;
-};
-
-#endif // PPAPI_TEST_TEST_VIEW_H_
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PPAPI_TEST_TEST_VIEW_H_
+#define PPAPI_TEST_TEST_VIEW_H_
+
+#include "ppapi/cpp/view.h"
+#include "ppapi/tests/test_case.h"
+
+class TestView : public TestCase {
+ public:
+ TestView(TestingInstance* instance);
+
+ virtual void DidChangeView(const pp::View& view);
+
+ // TestCase implementation.
+ virtual bool Init();
+ virtual void RunTests(const std::string& test_filter);
+
+ private:
+ // Waits until we get a view changed event. Note that the browser may give
+ // us any number of view changed events, so tests that use this should
+ // expect that there may be spurious events and handle them accordingly.
+ // Note also that view changed sequencing can change between different
+ // versions of WebKit.
+ //
+ // Returns true if we got a view changed, false if it timed out.
+ bool WaitUntilViewChanged();
+
+ void QuitMessageLoop(int32_t result);
+
+ std::string TestCreatedVisible();
+ std::string TestCreatedInvisible();
+ std::string TestPageHideShow();
+ std::string TestSizeChange();
+ std::string TestClipChange();
+
+ pp::View last_view_;
+
+ // DidChangeView stores the page visibility in this vector on each
+ // invocation so tests can check it.
+ std::vector<bool> page_visibility_log_;
+
+ // Set to true to request that the next invocation of DidChangeView should
+ // post a quit to the message loop. DidChangeView will also reset the flag so
+ // this will only happen once.
+ bool post_quit_on_view_changed_;
+};
+
+#endif // PPAPI_TEST_TEST_VIEW_H_
« no previous file with comments | « ppapi/tests/test_page.css ('k') | ppapi/tests/test_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698