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

Unified Diff: ui/gfx/screen_stub.cc

Issue 1287103004: Sync ui/events to chromium @ https://codereview.chromium.org/1210203002 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 4 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 | « ui/gfx/screen_android.cc ('k') | ui/gfx/screen_type_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen_stub.cc
diff --git a/ui/gl/gl_state_restorer.cc b/ui/gfx/screen_stub.cc
similarity index 55%
copy from ui/gl/gl_state_restorer.cc
copy to ui/gfx/screen_stub.cc
index 8bf6f81ec68ff6986b7f6a98bdef15b142363079..7a1effa0e8cef6d6c2446727089443ea77689768 100644
--- a/ui/gl/gl_state_restorer.cc
+++ b/ui/gfx/screen_stub.cc
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/gl/gl_state_restorer.h"
+#include "ui/gfx/screen.h"
-namespace gfx {
+#include "base/logging.h"
-GLStateRestorer::GLStateRestorer() {
-}
+namespace gfx {
-GLStateRestorer::~GLStateRestorer() {
+Screen* CreateNativeScreen() {
+ NOTREACHED() << "Implementation should be installed at higher level.";
+ return NULL;
}
} // namespace gfx
-
« no previous file with comments | « ui/gfx/screen_android.cc ('k') | ui/gfx/screen_type_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698