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

Side by Side Diff: ui/gfx/native_widget_types.h

Issue 1084173004: Adding status to swap complete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 UI_GFX_NATIVE_WIDGET_TYPES_H_ 5 #ifndef UI_GFX_NATIVE_WIDGET_TYPES_H_
6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_ 6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_ANDROID) 10 #if defined(OS_ANDROID)
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 #elif defined(OS_ANDROID) 269 #elif defined(OS_ANDROID)
270 typedef ANativeWindow* AcceleratedWidget; 270 typedef ANativeWindow* AcceleratedWidget;
271 const AcceleratedWidget kNullAcceleratedWidget = 0; 271 const AcceleratedWidget kNullAcceleratedWidget = 0;
272 #elif defined(USE_OZONE) 272 #elif defined(USE_OZONE)
273 typedef intptr_t AcceleratedWidget; 273 typedef intptr_t AcceleratedWidget;
274 const AcceleratedWidget kNullAcceleratedWidget = 0; 274 const AcceleratedWidget kNullAcceleratedWidget = 0;
275 #else 275 #else
276 #error unknown platform 276 #error unknown platform
277 #endif 277 #endif
278 278
279 enum SwapResult {
280 SwapAck,
281 SwapFailed,
282 SwapNakRecreateBuffers,
283 };
284
279 } // namespace gfx 285 } // namespace gfx
280 286
281 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ 287 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698