| 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 <QuartzCore/QuartzCore.h> | 9 #include <QuartzCore/QuartzCore.h> |
| 9 | 10 |
| 10 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 11 #include "base/bind.h" | 12 #include "base/bind.h" |
| 12 #include "base/callback_helpers.h" | 13 #include "base/callback_helpers.h" |
| 13 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 14 #include "base/debug/crash_logging.h" | 15 #include "base/debug/crash_logging.h" |
| 15 #include "base/debug/trace_event.h" | 16 #include "base/debug/trace_event.h" |
| 16 #include "base/logging.h" | 17 #include "base/logging.h" |
| 17 #include "base/mac/mac_util.h" | 18 #include "base/mac/mac_util.h" |
| (...skipping 3906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3924 | 3925 |
| 3925 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding | 3926 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding |
| 3926 // regions that are not draggable. (See ControlRegionView in | 3927 // regions that are not draggable. (See ControlRegionView in |
| 3927 // native_app_window_cocoa.mm). This requires the render host view to be | 3928 // native_app_window_cocoa.mm). This requires the render host view to be |
| 3928 // draggable by default. | 3929 // draggable by default. |
| 3929 - (BOOL)mouseDownCanMoveWindow { | 3930 - (BOOL)mouseDownCanMoveWindow { |
| 3930 return YES; | 3931 return YES; |
| 3931 } | 3932 } |
| 3932 | 3933 |
| 3933 @end | 3934 @end |
| OLD | NEW |