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

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

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 months 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 #import "ui/base/cocoa/fullscreen_window_manager.h" 66 #import "ui/base/cocoa/fullscreen_window_manager.h"
67 #import "ui/base/cocoa/underlay_opengl_hosting_window.h" 67 #import "ui/base/cocoa/underlay_opengl_hosting_window.h"
68 #include "ui/base/layout.h" 68 #include "ui/base/layout.h"
69 #include "ui/compositor/compositor.h" 69 #include "ui/compositor/compositor.h"
70 #include "ui/compositor/layer.h" 70 #include "ui/compositor/layer.h"
71 #include "ui/events/keycodes/keyboard_codes.h" 71 #include "ui/events/keycodes/keyboard_codes.h"
72 #include "ui/gfx/display.h" 72 #include "ui/gfx/display.h"
73 #include "ui/gfx/frame_time.h" 73 #include "ui/gfx/frame_time.h"
74 #include "ui/gfx/geometry/dip_util.h" 74 #include "ui/gfx/geometry/dip_util.h"
75 #include "ui/gfx/geometry/point.h" 75 #include "ui/gfx/geometry/point.h"
76 #include "ui/gfx/rect_conversions.h" 76 #include "ui/gfx/geometry/rect_conversions.h"
77 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h" 77 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
78 #include "ui/gfx/screen.h" 78 #include "ui/gfx/screen.h"
79 #include "ui/gfx/size_conversions.h" 79 #include "ui/gfx/size_conversions.h"
80 #include "ui/gl/gl_switches.h" 80 #include "ui/gl/gl_switches.h"
81 81
82 using content::BrowserAccessibility; 82 using content::BrowserAccessibility;
83 using content::BrowserAccessibilityManager; 83 using content::BrowserAccessibilityManager;
84 using content::EditCommand; 84 using content::EditCommand;
85 using content::FrameTreeNode; 85 using content::FrameTreeNode;
86 using content::NativeWebKeyboardEvent; 86 using content::NativeWebKeyboardEvent;
(...skipping 3284 matching lines...) Expand 10 before | Expand all | Expand 10 after
3371 3371
3372 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding 3372 // "-webkit-app-region: drag | no-drag" is implemented on Mac by excluding
3373 // regions that are not draggable. (See ControlRegionView in 3373 // regions that are not draggable. (See ControlRegionView in
3374 // native_app_window_cocoa.mm). This requires the render host view to be 3374 // native_app_window_cocoa.mm). This requires the render host view to be
3375 // draggable by default. 3375 // draggable by default.
3376 - (BOOL)mouseDownCanMoveWindow { 3376 - (BOOL)mouseDownCanMoveWindow {
3377 return YES; 3377 return YES;
3378 } 3378 }
3379 3379
3380 @end 3380 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698