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

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

Issue 1881603002: Added SetLayerTransform to PPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added Graphics2D 1.2 to histograms Created 4 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
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/tests/test_graphics_2d.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 PPAPI_TESTS_TEST_GRAPHICS_2D_H_ 5 #ifndef PPAPI_TESTS_TEST_GRAPHICS_2D_H_
6 #define PPAPI_TESTS_TEST_GRAPHICS_2D_H_ 6 #define PPAPI_TESTS_TEST_GRAPHICS_2D_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/pp_stdint.h" 10 #include "ppapi/c/pp_stdint.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 std::string TestPaint(); 97 std::string TestPaint();
98 std::string TestScroll(); 98 std::string TestScroll();
99 std::string TestReplace(); 99 std::string TestReplace();
100 std::string TestFlush(); 100 std::string TestFlush();
101 std::string TestFlushOffscreenUpdate(); 101 std::string TestFlushOffscreenUpdate();
102 std::string TestDev(); 102 std::string TestDev();
103 std::string TestReplaceContentsCaching(); 103 std::string TestReplaceContentsCaching();
104 std::string TestBindNull(); 104 std::string TestBindNull();
105 105
106 // Used by the tests that access the C API directly. 106 // Used by the tests that access the C API directly.
107 const PPB_Graphics2D_1_1* graphics_2d_interface_; 107 const PPB_Graphics2D_1_2* graphics_2d_interface_;
108 const PPB_ImageData_1_0* image_data_interface_; 108 const PPB_ImageData_1_0* image_data_interface_;
109 109
110 // Used to indicate that DidChangeView has happened, in order to make plugin 110 // Used to indicate that DidChangeView has happened, in order to make plugin
111 // and ui synchronous. 111 // and ui synchronous.
112 bool is_view_changed_; 112 bool is_view_changed_;
113 113
114 // Set to true to request that the next invocation of DidChangeView should 114 // Set to true to request that the next invocation of DidChangeView should
115 // post a quit to the message loop. DidChangeView will also reset the flag so 115 // post a quit to the message loop. DidChangeView will also reset the flag so
116 // this will only happen once. 116 // this will only happen once.
117 bool post_quit_on_view_changed_; 117 bool post_quit_on_view_changed_;
118 }; 118 };
119 119
120 #endif // PPAPI_TESTS_TEST_GRAPHICS_2D_H_ 120 #endif // PPAPI_TESTS_TEST_GRAPHICS_2D_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/tests/test_graphics_2d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698