Chromium Code Reviews| 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 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_ | |
| OLD | NEW |