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

Side by Side Diff: ppapi/tests/test_view.cc

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/tests/test_view.h ('k') | ppapi/thunk/ppb_instance_api.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ppapi/tests/test_view.h" 5 #include "ppapi/tests/test_view.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "ppapi/c/pp_time.h" 9 #include "ppapi/c/pp_time.h"
10 #include "ppapi/c/dev/ppb_testing_dev.h" 10 #include "ppapi/c/dev/ppb_testing_dev.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 desired_clip.set_height(desired_clip.height() - desired_clip.y()); 187 desired_clip.set_height(desired_clip.height() - desired_clip.y());
188 188
189 PP_Time begin_time = pp::Module::Get()->core()->GetTime(); 189 PP_Time begin_time = pp::Module::Get()->core()->GetTime();
190 while (WaitUntilViewChanged() && last_view_.GetClipRect() != desired_clip && 190 while (WaitUntilViewChanged() && last_view_.GetClipRect() != desired_clip &&
191 pp::Module::Get()->core()->GetTime() - begin_time < 191 pp::Module::Get()->core()->GetTime() - begin_time <
192 kViewChangeTimeoutSec) { 192 kViewChangeTimeoutSec) {
193 } 193 }
194 ASSERT_TRUE(last_view_.GetClipRect() == desired_clip); 194 ASSERT_TRUE(last_view_.GetClipRect() == desired_clip);
195 PASS(); 195 PASS();
196 } 196 }
OLDNEW
« no previous file with comments | « ppapi/tests/test_view.h ('k') | ppapi/thunk/ppb_instance_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698