| 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 30 matching lines...) Expand all Loading... |
| 41 #include "content/browser/frame_host/render_frame_host_impl.h" | 41 #include "content/browser/frame_host/render_frame_host_impl.h" |
| 42 #include "content/browser/gpu/compositor_util.h" | 42 #include "content/browser/gpu/compositor_util.h" |
| 43 #import "content/browser/renderer_host/input/synthetic_gesture_target_mac.h" | 43 #import "content/browser/renderer_host/input/synthetic_gesture_target_mac.h" |
| 44 #include "content/browser/renderer_host/input/web_input_event_builders_mac.h" | 44 #include "content/browser/renderer_host/input/web_input_event_builders_mac.h" |
| 45 #include "content/browser/renderer_host/render_view_host_impl.h" | 45 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 46 #include "content/browser/renderer_host/render_widget_helper.h" | 46 #include "content/browser/renderer_host/render_widget_helper.h" |
| 47 #include "content/browser/renderer_host/render_widget_host_delegate.h" | 47 #include "content/browser/renderer_host/render_widget_host_delegate.h" |
| 48 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" | 48 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" |
| 49 #import "content/browser/renderer_host/render_widget_host_view_mac_dictionary_he
lper.h" | 49 #import "content/browser/renderer_host/render_widget_host_view_mac_dictionary_he
lper.h" |
| 50 #import "content/browser/renderer_host/render_widget_host_view_mac_editcommand_h
elper.h" | 50 #import "content/browser/renderer_host/render_widget_host_view_mac_editcommand_h
elper.h" |
| 51 #include "content/browser/renderer_host/render_widget_resize_helper_mac.h" | |
| 52 #include "content/browser/renderer_host/resize_lock.h" | 51 #include "content/browser/renderer_host/resize_lock.h" |
| 53 #import "content/browser/renderer_host/text_input_client_mac.h" | 52 #import "content/browser/renderer_host/text_input_client_mac.h" |
| 54 #include "content/common/accessibility_messages.h" | 53 #include "content/common/accessibility_messages.h" |
| 55 #include "content/common/edit_command.h" | 54 #include "content/common/edit_command.h" |
| 56 #include "content/common/input/input_event_utils.h" | 55 #include "content/common/input/input_event_utils.h" |
| 57 #include "content/common/input_messages.h" | 56 #include "content/common/input_messages.h" |
| 58 #include "content/common/site_isolation_policy.h" | 57 #include "content/common/site_isolation_policy.h" |
| 59 #include "content/common/text_input_state.h" | 58 #include "content/common/text_input_state.h" |
| 60 #include "content/common/view_messages.h" | 59 #include "content/common/view_messages.h" |
| 61 #include "content/public/browser/browser_context.h" | 60 #include "content/public/browser/browser_context.h" |
| (...skipping 3352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3414 | 3413 |
| 3415 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding | 3414 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding |
| 3416 // regions that are not draggable. (See ControlRegionView in | 3415 // regions that are not draggable. (See ControlRegionView in |
| 3417 // native_app_window_cocoa.mm). This requires the render host view to be | 3416 // native_app_window_cocoa.mm). This requires the render host view to be |
| 3418 // draggable by default. | 3417 // draggable by default. |
| 3419 - (BOOL)mouseDownCanMoveWindow { | 3418 - (BOOL)mouseDownCanMoveWindow { |
| 3420 return YES; | 3419 return YES; |
| 3421 } | 3420 } |
| 3422 | 3421 |
| 3423 @end | 3422 @end |
| OLD | NEW |