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 51% |
| copy from ui/gfx/screen_aura.cc |
| copy to ui/gfx/swap_result.h |
| index 7a1effa0e8cef6d6c2446727089443ea77689768..095be5fdfc237d24c5131560dcdd9f9f1041069e 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 class SwapResult { |
| + SWAP_ACK, |
| + SWAP_FAILED, |
| + SWAP_NAK_RECREATE_BUFFERS, |
| + 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
|
| +}; |
| } // namespace gfx |
| + |
| +#endif // UI_GFX_SWAP_RESULT_H_ |