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

Side by Side Diff: ppapi/tests/test_flash_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_file_system.cc ('k') | ppapi/tests/test_flash_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) 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 #ifndef PPAPI_TESTS_TEST_FLASH_FULLSCREEN_H_ 5 #ifndef PPAPI_TESTS_TEST_FLASH_FULLSCREEN_H_
6 #define PPAPI_TESTS_TEST_FLASH_FULLSCREEN_H_ 6 #define PPAPI_TESTS_TEST_FLASH_FULLSCREEN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/cpp/private/flash_fullscreen.h" 10 #include "ppapi/cpp/private/flash_fullscreen.h"
(...skipping 16 matching lines...) Expand all
27 27
28 private: 28 private:
29 std::string TestGetScreenSize(); 29 std::string TestGetScreenSize();
30 std::string TestNormalToFullscreenToNormal(); 30 std::string TestNormalToFullscreenToNormal();
31 31
32 pp::FlashFullscreen screen_mode_; 32 pp::FlashFullscreen screen_mode_;
33 pp::Size screen_size_; 33 pp::Size screen_size_;
34 34
35 bool fullscreen_pending_; 35 bool fullscreen_pending_;
36 bool normal_pending_; 36 bool normal_pending_;
37 TestCompletionCallback fullscreen_callback_; 37 NestedEvent fullscreen_event_;
38 TestCompletionCallback normal_callback_; 38 NestedEvent normal_event_;
39 }; 39 };
40 40
41 #endif // PPAPI_TESTS_TEST_FLASH_FULLSCREEN_H_ 41 #endif // PPAPI_TESTS_TEST_FLASH_FULLSCREEN_H_
OLDNEW
« no previous file with comments | « ppapi/tests/test_file_system.cc ('k') | ppapi/tests/test_flash_fullscreen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698