| OLD | NEW |
| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 #import "content/browser/renderer_host/render_widget_host_view_mac_editcommand_h
elper.h" | 51 #import "content/browser/renderer_host/render_widget_host_view_mac_editcommand_h
elper.h" |
| 52 #include "content/browser/renderer_host/render_widget_resize_helper_mac.h" | 52 #include "content/browser/renderer_host/render_widget_resize_helper_mac.h" |
| 53 #include "content/browser/renderer_host/resize_lock.h" | 53 #include "content/browser/renderer_host/resize_lock.h" |
| 54 #import "content/browser/renderer_host/text_input_client_mac.h" | 54 #import "content/browser/renderer_host/text_input_client_mac.h" |
| 55 #include "content/common/accessibility_messages.h" | 55 #include "content/common/accessibility_messages.h" |
| 56 #include "content/common/edit_command.h" | 56 #include "content/common/edit_command.h" |
| 57 #include "content/common/input/input_event_utils.h" | 57 #include "content/common/input/input_event_utils.h" |
| 58 #include "content/common/input_messages.h" | 58 #include "content/common/input_messages.h" |
| 59 #include "content/common/site_isolation_policy.h" | 59 #include "content/common/site_isolation_policy.h" |
| 60 #include "content/common/view_messages.h" | 60 #include "content/common/view_messages.h" |
| 61 #include "content/common/webplugin_geometry.h" | |
| 62 #include "content/public/browser/browser_context.h" | 61 #include "content/public/browser/browser_context.h" |
| 63 #include "content/public/browser/browser_plugin_guest_manager.h" | 62 #include "content/public/browser/browser_plugin_guest_manager.h" |
| 64 #include "content/public/browser/browser_thread.h" | 63 #include "content/public/browser/browser_thread.h" |
| 65 #include "content/public/browser/native_web_keyboard_event.h" | 64 #include "content/public/browser/native_web_keyboard_event.h" |
| 66 #include "content/public/browser/render_widget_host_view_frame_subscriber.h" | 65 #include "content/public/browser/render_widget_host_view_frame_subscriber.h" |
| 67 #import "content/public/browser/render_widget_host_view_mac_delegate.h" | 66 #import "content/public/browser/render_widget_host_view_mac_delegate.h" |
| 68 #include "content/public/browser/web_contents.h" | 67 #include "content/public/browser/web_contents.h" |
| 69 #include "gpu/ipc/common/gpu_messages.h" | 68 #include "gpu/ipc/common/gpu_messages.h" |
| 70 #include "skia/ext/platform_canvas.h" | 69 #include "skia/ext/platform_canvas.h" |
| 71 #include "skia/ext/skia_utils_mac.h" | 70 #include "skia/ext/skia_utils_mac.h" |
| (...skipping 3324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3396 | 3395 |
| 3397 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding | 3396 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding |
| 3398 // regions that are not draggable. (See ControlRegionView in | 3397 // regions that are not draggable. (See ControlRegionView in |
| 3399 // native_app_window_cocoa.mm). This requires the render host view to be | 3398 // native_app_window_cocoa.mm). This requires the render host view to be |
| 3400 // draggable by default. | 3399 // draggable by default. |
| 3401 - (BOOL)mouseDownCanMoveWindow { | 3400 - (BOOL)mouseDownCanMoveWindow { |
| 3402 return YES; | 3401 return YES; |
| 3403 } | 3402 } |
| 3404 | 3403 |
| 3405 @end | 3404 @end |
| OLD | NEW |