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

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: address comments 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
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_

Powered by Google App Engine
This is Rietveld 408576698