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

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

Issue 1084173004: Adding status to swap complete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: copy/paste error Created 5 years, 7 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 | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | ui/gl/gl_surface.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) 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 #include "ui/gfx/screen.h" 5 #ifndef UI_GFX_SWAP_RESULT_H_
6 6 #define UI_GFX_SWAP_RESULT_H_
7 #include "base/logging.h"
8 7
9 namespace gfx { 8 namespace gfx {
10 9
11 Screen* CreateNativeScreen() { 10 enum class SwapResult {
12 NOTREACHED() << "Implementation should be installed at higher level."; 11 SWAP_ACK,
13 return NULL; 12 SWAP_FAILED,
14 } 13 SWAP_NAK_RECREATE_BUFFERS,
14 SWAP_RESULT_LAST,
piman 2015/05/14 23:09:57 Oh, This needs to be SWAP_RESULT_LAST = SWAP_NAK_R
achaulk 2015/05/15 18:13:38 Ah thanks, I wasn't sure if these were supposed to
15 };
15 16
16 } // namespace gfx 17 } // namespace gfx
18
19 #endif // UI_GFX_SWAP_RESULT_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | ui/gl/gl_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698