| 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 <Carbon/Carbon.h> |
| 7 #import <objc/runtime.h> | 8 #import <objc/runtime.h> |
| 8 #include <OpenGL/gl.h> | 9 #include <OpenGL/gl.h> |
| 9 #include <QuartzCore/QuartzCore.h> | 10 #include <QuartzCore/QuartzCore.h> |
| 10 #include <stdint.h> | 11 #include <stdint.h> |
| 11 | 12 |
| 12 #include <limits> | 13 #include <limits> |
| 13 #include <utility> | 14 #include <utility> |
| 14 | 15 |
| 15 #include "base/bind.h" | 16 #include "base/bind.h" |
| 16 #include "base/callback_helpers.h" | 17 #include "base/callback_helpers.h" |
| (...skipping 3374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3391 | 3392 |
| 3392 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding | 3393 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding |
| 3393 // regions that are not draggable. (See ControlRegionView in | 3394 // regions that are not draggable. (See ControlRegionView in |
| 3394 // native_app_window_cocoa.mm). This requires the render host view to be | 3395 // native_app_window_cocoa.mm). This requires the render host view to be |
| 3395 // draggable by default. | 3396 // draggable by default. |
| 3396 - (BOOL)mouseDownCanMoveWindow { | 3397 - (BOOL)mouseDownCanMoveWindow { |
| 3397 return YES; | 3398 return YES; |
| 3398 } | 3399 } |
| 3399 | 3400 |
| 3400 @end | 3401 @end |
| OLD | NEW |