Chromium Code Reviews| Index: ui/gfx/swap_result.h |
| diff --git a/ui/gfx/screen_aura.cc b/ui/gfx/swap_result.h |
| similarity index 53% |
| copy from ui/gfx/screen_aura.cc |
| copy to ui/gfx/swap_result.h |
| index 7a1effa0e8cef6d6c2446727089443ea77689768..86a25bb6a2ccf419b97a040882ecf89a1370c072 100644 |
| --- a/ui/gfx/screen_aura.cc |
| +++ b/ui/gfx/swap_result.h |
| @@ -2,15 +2,18 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "ui/gfx/screen.h" |
| - |
| -#include "base/logging.h" |
| +#ifndef UI_GFX_SWAP_RESULT_H_ |
| +#define UI_GFX_SWAP_RESULT_H_ |
| namespace gfx { |
| -Screen* CreateNativeScreen() { |
| - NOTREACHED() << "Implementation should be installed at higher level."; |
| - return NULL; |
| -} |
| +enum SwapResult { |
| + 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.
|
| + SwapFailed, |
| + SwapNakRecreateBuffers, |
| + SWAP_RESULT_LAST, |
| +}; |
| } // namespace gfx |
| + |
| +#endif // UI_GFX_SWAP_RESULT_H_ |