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

Unified 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: copy/paste error 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | ui/gl/gl_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | ui/gl/gl_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698