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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 301973010: Remove IOSurfaceSupport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 6 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
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/render_widget_host_view_mac.h" 5 #include "content/browser/renderer_host/render_widget_host_view_mac.h"
6 6
7 #import <objc/runtime.h> 7 #import <objc/runtime.h>
8 #include <QuartzCore/QuartzCore.h> 8 #include <QuartzCore/QuartzCore.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 #include "ui/base/layout.h" 67 #include "ui/base/layout.h"
68 #include "ui/compositor/compositor.h" 68 #include "ui/compositor/compositor.h"
69 #include "ui/compositor/layer.h" 69 #include "ui/compositor/layer.h"
70 #include "ui/gfx/display.h" 70 #include "ui/gfx/display.h"
71 #include "ui/gfx/point.h" 71 #include "ui/gfx/point.h"
72 #include "ui/gfx/rect_conversions.h" 72 #include "ui/gfx/rect_conversions.h"
73 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h" 73 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
74 #include "ui/gfx/screen.h" 74 #include "ui/gfx/screen.h"
75 #include "ui/gfx/size_conversions.h" 75 #include "ui/gfx/size_conversions.h"
76 #include "ui/gl/gl_switches.h" 76 #include "ui/gl/gl_switches.h"
77 #include "ui/gl/io_surface_support_mac.h"
78 77
79 using content::BrowserAccessibility; 78 using content::BrowserAccessibility;
80 using content::BrowserAccessibilityManager; 79 using content::BrowserAccessibilityManager;
81 using content::EditCommand; 80 using content::EditCommand;
82 using content::FrameTreeNode; 81 using content::FrameTreeNode;
83 using content::NativeWebKeyboardEvent; 82 using content::NativeWebKeyboardEvent;
84 using content::RenderFrameHost; 83 using content::RenderFrameHost;
85 using content::RenderViewHost; 84 using content::RenderViewHost;
86 using content::RenderViewHostImpl; 85 using content::RenderViewHostImpl;
87 using content::RenderWidgetHostImpl; 86 using content::RenderWidgetHostImpl;
(...skipping 4296 matching lines...) Expand 10 before | Expand all | Expand 10 after
4384 4383
4385 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding 4384 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding
4386 // regions that are not draggable. (See ControlRegionView in 4385 // regions that are not draggable. (See ControlRegionView in
4387 // native_app_window_cocoa.mm). This requires the render host view to be 4386 // native_app_window_cocoa.mm). This requires the render host view to be
4388 // draggable by default. 4387 // draggable by default.
4389 - (BOOL)mouseDownCanMoveWindow { 4388 - (BOOL)mouseDownCanMoveWindow {
4390 return YES; 4389 return YES;
4391 } 4390 }
4392 4391
4393 @end 4392 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698