OLD | NEW |
---|---|
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_ | |
OLD | NEW |