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

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

Issue 1532813002: Replace IOSurfaceManager by directly passing IOSurface Mach ports over Chrome IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows compile Created 5 years 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 <OpenGL/gl.h> 8 #include <OpenGL/gl.h>
9 #include <QuartzCore/QuartzCore.h> 9 #include <QuartzCore/QuartzCore.h>
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #include "content/public/browser/notification_service.h" 64 #include "content/public/browser/notification_service.h"
65 #include "content/public/browser/notification_types.h" 65 #include "content/public/browser/notification_types.h"
66 #include "content/public/browser/render_widget_host_view_frame_subscriber.h" 66 #include "content/public/browser/render_widget_host_view_frame_subscriber.h"
67 #import "content/public/browser/render_widget_host_view_mac_delegate.h" 67 #import "content/public/browser/render_widget_host_view_mac_delegate.h"
68 #include "content/public/browser/web_contents.h" 68 #include "content/public/browser/web_contents.h"
69 #include "skia/ext/platform_canvas.h" 69 #include "skia/ext/platform_canvas.h"
70 #include "skia/ext/skia_utils_mac.h" 70 #include "skia/ext/skia_utils_mac.h"
71 #include "third_party/WebKit/public/platform/WebScreenInfo.h" 71 #include "third_party/WebKit/public/platform/WebScreenInfo.h"
72 #include "third_party/WebKit/public/web/WebInputEvent.h" 72 #include "third_party/WebKit/public/web/WebInputEvent.h"
73 #import "third_party/mozilla/ComplexTextInputPanel.h" 73 #import "third_party/mozilla/ComplexTextInputPanel.h"
74 #include "ui/accelerated_widget_mac/surface_handle_types.h"
75 #include "ui/base/cocoa/animation_utils.h" 74 #include "ui/base/cocoa/animation_utils.h"
76 #import "ui/base/cocoa/fullscreen_window_manager.h" 75 #import "ui/base/cocoa/fullscreen_window_manager.h"
77 #import "ui/base/cocoa/underlay_opengl_hosting_window.h" 76 #import "ui/base/cocoa/underlay_opengl_hosting_window.h"
78 #include "ui/base/layout.h" 77 #include "ui/base/layout.h"
79 #include "ui/compositor/compositor.h" 78 #include "ui/compositor/compositor.h"
80 #include "ui/compositor/layer.h" 79 #include "ui/compositor/layer.h"
81 #include "ui/events/keycodes/keyboard_codes.h" 80 #include "ui/events/keycodes/keyboard_codes.h"
82 #include "ui/gfx/color_profile.h" 81 #include "ui/gfx/color_profile.h"
83 #include "ui/gfx/display.h" 82 #include "ui/gfx/display.h"
84 #include "ui/gfx/geometry/dip_util.h" 83 #include "ui/gfx/geometry/dip_util.h"
(...skipping 3369 matching lines...) Expand 10 before | Expand all | Expand 10 after
3454 3453
3455 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding 3454 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding
3456 // regions that are not draggable. (See ControlRegionView in 3455 // regions that are not draggable. (See ControlRegionView in
3457 // native_app_window_cocoa.mm). This requires the render host view to be 3456 // native_app_window_cocoa.mm). This requires the render host view to be
3458 // draggable by default. 3457 // draggable by default.
3459 - (BOOL)mouseDownCanMoveWindow { 3458 - (BOOL)mouseDownCanMoveWindow {
3460 return YES; 3459 return YES;
3461 } 3460 }
3462 3461
3463 @end 3462 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698