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

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: address comments 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
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 SwapResult {
12 NOTREACHED() << "Implementation should be installed at higher level."; 11 SwapAck,
dnicoara 2015/05/08 15:15:41 style guide says you should be using MACRO_STYLE f
achaulk 2015/05/14 18:15:46 Done.
13 return NULL; 12 SwapFailed,
14 } 13 SwapNakRecreateBuffers,
14 SWAP_RESULT_LAST,
15 };
15 16
16 } // namespace gfx 17 } // namespace gfx
18
19 #endif // UI_GFX_SWAP_RESULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698