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

Unified Diff: ui/gl/gl_surface_mac.cc

Issue 227473009: Mac: Remove NSView support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/gl/gl_context_nsview.mm ('k') | ui/gl/gl_surface_nsview.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_mac.cc
diff --git a/ui/gl/gl_surface_mac.cc b/ui/gl/gl_surface_mac.cc
index d6bf072fd5b3490e71d9e78aeef30a253d7dfa15..cd93cb00a3bcaba7771ea1fbe7fedd786db65262 100644
--- a/ui/gl/gl_surface_mac.cc
+++ b/ui/gl/gl_surface_mac.cc
@@ -13,7 +13,6 @@
#include "ui/gl/gl_surface_cgl.h"
#include "ui/gl/gl_surface_osmesa.h"
#include "ui/gl/gl_surface_stub.h"
-#include "ui/gl/gl_surface_nsview.h"
namespace gfx {
@@ -38,11 +37,8 @@ scoped_refptr<GLSurface> GLSurface::CreateViewGLSurface(
switch (GetGLImplementation()) {
case kGLImplementationDesktopGL:
case kGLImplementationAppleGL: {
- scoped_refptr<GLSurface> surface(new GLSurfaceNSView(window));
- if (!surface->Initialize())
- return NULL;
-
- return surface;
+ NOTIMPLEMENTED() << "No onscreen support on Mac.";
+ return NULL;
}
case kGLImplementationMockGL:
return new GLSurfaceStub;
« no previous file with comments | « ui/gl/gl_context_nsview.mm ('k') | ui/gl/gl_surface_nsview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698