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

Side by Side Diff: content/browser/renderer_host/accelerated_surface_container_manager_mac.cc

Issue 10823049: mac: Add a missing gl.h include for the 10.7 SDK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/accelerated_surface_container_manager_ma c.h" 5 #include "content/browser/renderer_host/accelerated_surface_container_manager_ma c.h"
6 6
7 #include <OpenGL/gl.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "content/browser/renderer_host/accelerated_surface_container_mac.h" 10 #include "content/browser/renderer_host/accelerated_surface_container_mac.h"
9 #include "webkit/plugins/npapi/webplugin.h" 11 #include "webkit/plugins/npapi/webplugin.h"
10 #include "ui/gfx/rect.h" 12 #include "ui/gfx/rect.h"
11 13
12 AcceleratedSurfaceContainerManagerMac::AcceleratedSurfaceContainerManagerMac() 14 AcceleratedSurfaceContainerManagerMac::AcceleratedSurfaceContainerManagerMac()
13 : current_id_(0) { 15 : current_id_(0) {
14 } 16 }
15 17
16 AcceleratedSurfaceContainerManagerMac:: 18 AcceleratedSurfaceContainerManagerMac::
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 gfx::PluginWindowHandle id) const { 148 gfx::PluginWindowHandle id) const {
147 PluginWindowToContainerMap::const_iterator i = 149 PluginWindowToContainerMap::const_iterator i =
148 plugin_window_to_container_map_.find(id); 150 plugin_window_to_container_map_.find(id);
149 if (i != plugin_window_to_container_map_.end()) 151 if (i != plugin_window_to_container_map_.end())
150 return i->second; 152 return i->second;
151 153
152 LOG(ERROR) << "Request for plugin container for unknown window id " << id; 154 LOG(ERROR) << "Request for plugin container for unknown window id " << id;
153 155
154 return NULL; 156 return NULL;
155 } 157 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698