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

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

Issue 1420533005: Mac: Kill lots of AcceleratedWidget code (with fire) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback 2 Created 5 years, 1 month 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 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 #include "content/public/browser/notification_service.h" 60 #include "content/public/browser/notification_service.h"
61 #include "content/public/browser/notification_types.h" 61 #include "content/public/browser/notification_types.h"
62 #include "content/public/browser/render_widget_host_view_frame_subscriber.h" 62 #include "content/public/browser/render_widget_host_view_frame_subscriber.h"
63 #import "content/public/browser/render_widget_host_view_mac_delegate.h" 63 #import "content/public/browser/render_widget_host_view_mac_delegate.h"
64 #include "content/public/browser/web_contents.h" 64 #include "content/public/browser/web_contents.h"
65 #include "skia/ext/platform_canvas.h" 65 #include "skia/ext/platform_canvas.h"
66 #include "skia/ext/skia_utils_mac.h" 66 #include "skia/ext/skia_utils_mac.h"
67 #include "third_party/WebKit/public/platform/WebScreenInfo.h" 67 #include "third_party/WebKit/public/platform/WebScreenInfo.h"
68 #include "third_party/WebKit/public/web/WebInputEvent.h" 68 #include "third_party/WebKit/public/web/WebInputEvent.h"
69 #import "third_party/mozilla/ComplexTextInputPanel.h" 69 #import "third_party/mozilla/ComplexTextInputPanel.h"
70 #include "ui/accelerated_widget_mac/io_surface_layer.h"
71 #include "ui/accelerated_widget_mac/surface_handle_types.h" 70 #include "ui/accelerated_widget_mac/surface_handle_types.h"
72 #include "ui/base/cocoa/animation_utils.h" 71 #include "ui/base/cocoa/animation_utils.h"
73 #import "ui/base/cocoa/fullscreen_window_manager.h" 72 #import "ui/base/cocoa/fullscreen_window_manager.h"
74 #import "ui/base/cocoa/underlay_opengl_hosting_window.h" 73 #import "ui/base/cocoa/underlay_opengl_hosting_window.h"
75 #include "ui/base/layout.h" 74 #include "ui/base/layout.h"
76 #include "ui/compositor/compositor.h" 75 #include "ui/compositor/compositor.h"
77 #include "ui/compositor/layer.h" 76 #include "ui/compositor/layer.h"
78 #include "ui/events/keycodes/keyboard_codes.h" 77 #include "ui/events/keycodes/keyboard_codes.h"
79 #include "ui/gfx/color_profile.h" 78 #include "ui/gfx/color_profile.h"
80 #include "ui/gfx/display.h" 79 #include "ui/gfx/display.h"
(...skipping 3404 matching lines...) Expand 10 before | Expand all | Expand 10 after
3485 3484
3486 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding 3485 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding
3487 // regions that are not draggable. (See ControlRegionView in 3486 // regions that are not draggable. (See ControlRegionView in
3488 // native_app_window_cocoa.mm). This requires the render host view to be 3487 // native_app_window_cocoa.mm). This requires the render host view to be
3489 // draggable by default. 3488 // draggable by default.
3490 - (BOOL)mouseDownCanMoveWindow { 3489 - (BOOL)mouseDownCanMoveWindow {
3491 return YES; 3490 return YES;
3492 } 3491 }
3493 3492
3494 @end 3493 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698