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

Side by Side Diff: ppapi/tests/test_fullscreen.h

Issue 9937001: PPAPI: Refactor ppapi test callbacks to ease testing blocking callbacks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync 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_flash_fullscreen.cc ('k') | ppapi/tests/test_fullscreen.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef PAPPI_TESTS_TEST_FULLSCREEN_H_ 5 #ifndef PAPPI_TESTS_TEST_FULLSCREEN_H_
6 #define PAPPI_TESTS_TEST_FULLSCREEN_H_ 6 #define PAPPI_TESTS_TEST_FULLSCREEN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/cpp/fullscreen.h" 10 #include "ppapi/cpp/fullscreen.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 pp::Fullscreen screen_mode_; 51 pp::Fullscreen screen_mode_;
52 pp::Size screen_size_; 52 pp::Size screen_size_;
53 pp::Rect normal_position_; 53 pp::Rect normal_position_;
54 pp::Size painted_size_; 54 pp::Size painted_size_;
55 uint32_t painted_color_; 55 uint32_t painted_color_;
56 56
57 bool fullscreen_pending_; 57 bool fullscreen_pending_;
58 bool normal_pending_; 58 bool normal_pending_;
59 pp::Graphics2D graphics2d_; 59 pp::Graphics2D graphics2d_;
60 TestCompletionCallback set_fullscreen_true_callback_; 60
61 TestCompletionCallback fullscreen_callback_; 61 NestedEvent fullscreen_event_;
62 TestCompletionCallback normal_callback_; 62 NestedEvent normal_event_;
63 }; 63 };
64 64
65 #endif // PAPPI_TESTS_TEST_FULLSCREEN_H_ 65 #endif // PAPPI_TESTS_TEST_FULLSCREEN_H_
OLDNEW
« no previous file with comments | « ppapi/tests/test_flash_fullscreen.cc ('k') | ppapi/tests/test_fullscreen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698