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

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

Issue 213283004: linux_aura: Port GtkKeybindingsHandler to Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Manually sort gyp file. Created 6 years, 8 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 | Annotate | Revision Log
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 <QuartzCore/QuartzCore.h> 8 #include <QuartzCore/QuartzCore.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 22 matching lines...) Expand all
33 #include "content/browser/renderer_host/backing_store_mac.h" 33 #include "content/browser/renderer_host/backing_store_mac.h"
34 #include "content/browser/renderer_host/backing_store_manager.h" 34 #include "content/browser/renderer_host/backing_store_manager.h"
35 #include "content/browser/renderer_host/compositing_iosurface_context_mac.h" 35 #include "content/browser/renderer_host/compositing_iosurface_context_mac.h"
36 #include "content/browser/renderer_host/compositing_iosurface_layer_mac.h" 36 #include "content/browser/renderer_host/compositing_iosurface_layer_mac.h"
37 #include "content/browser/renderer_host/compositing_iosurface_mac.h" 37 #include "content/browser/renderer_host/compositing_iosurface_mac.h"
38 #include "content/browser/renderer_host/render_view_host_impl.h" 38 #include "content/browser/renderer_host/render_view_host_impl.h"
39 #import "content/browser/renderer_host/render_widget_host_view_mac_dictionary_he lper.h" 39 #import "content/browser/renderer_host/render_widget_host_view_mac_dictionary_he lper.h"
40 #import "content/browser/renderer_host/render_widget_host_view_mac_editcommand_h elper.h" 40 #import "content/browser/renderer_host/render_widget_host_view_mac_editcommand_h elper.h"
41 #import "content/browser/renderer_host/text_input_client_mac.h" 41 #import "content/browser/renderer_host/text_input_client_mac.h"
42 #include "content/common/accessibility_messages.h" 42 #include "content/common/accessibility_messages.h"
43 #include "content/common/edit_command.h"
44 #include "content/common/gpu/gpu_messages.h" 43 #include "content/common/gpu/gpu_messages.h"
45 #include "content/common/input_messages.h" 44 #include "content/common/input_messages.h"
46 #include "content/common/view_messages.h" 45 #include "content/common/view_messages.h"
47 #include "content/common/webplugin_geometry.h" 46 #include "content/common/webplugin_geometry.h"
48 #include "content/port/browser/render_widget_host_view_frame_subscriber.h" 47 #include "content/port/browser/render_widget_host_view_frame_subscriber.h"
49 #include "content/public/browser/browser_thread.h" 48 #include "content/public/browser/browser_thread.h"
50 #include "content/public/browser/native_web_keyboard_event.h" 49 #include "content/public/browser/native_web_keyboard_event.h"
51 #include "content/public/browser/notification_service.h" 50 #include "content/public/browser/notification_service.h"
52 #include "content/public/browser/notification_types.h" 51 #include "content/public/browser/notification_types.h"
53 #import "content/public/browser/render_widget_host_view_mac_delegate.h" 52 #import "content/public/browser/render_widget_host_view_mac_delegate.h"
54 #include "content/public/browser/user_metrics.h" 53 #include "content/public/browser/user_metrics.h"
54 #include "content/public/common/edit_command.h"
55 #include "skia/ext/platform_canvas.h" 55 #include "skia/ext/platform_canvas.h"
56 #include "third_party/WebKit/public/platform/WebScreenInfo.h" 56 #include "third_party/WebKit/public/platform/WebScreenInfo.h"
57 #include "third_party/WebKit/public/web/WebInputEvent.h" 57 #include "third_party/WebKit/public/web/WebInputEvent.h"
58 #include "third_party/WebKit/public/web/mac/WebInputEventFactory.h" 58 #include "third_party/WebKit/public/web/mac/WebInputEventFactory.h"
59 #import "third_party/mozilla/ComplexTextInputPanel.h" 59 #import "third_party/mozilla/ComplexTextInputPanel.h"
60 #include "ui/base/cocoa/animation_utils.h" 60 #include "ui/base/cocoa/animation_utils.h"
61 #import "ui/base/cocoa/fullscreen_window_manager.h" 61 #import "ui/base/cocoa/fullscreen_window_manager.h"
62 #import "ui/base/cocoa/underlay_opengl_hosting_window.h" 62 #import "ui/base/cocoa/underlay_opengl_hosting_window.h"
63 #include "ui/base/layout.h"
63 #include "ui/events/keycodes/keyboard_codes.h" 64 #include "ui/events/keycodes/keyboard_codes.h"
64 #include "ui/base/layout.h"
65 #include "ui/gfx/display.h" 65 #include "ui/gfx/display.h"
66 #include "ui/gfx/point.h" 66 #include "ui/gfx/point.h"
67 #include "ui/gfx/rect_conversions.h" 67 #include "ui/gfx/rect_conversions.h"
68 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h" 68 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
69 #include "ui/gfx/screen.h" 69 #include "ui/gfx/screen.h"
70 #include "ui/gfx/size_conversions.h" 70 #include "ui/gfx/size_conversions.h"
71 #include "ui/gl/gl_switches.h" 71 #include "ui/gl/gl_switches.h"
72 #include "ui/gl/io_surface_support_mac.h" 72 #include "ui/gl/io_surface_support_mac.h"
73 73
74 using content::BackingStoreMac; 74 using content::BackingStoreMac;
(...skipping 4212 matching lines...) Expand 10 before | Expand all | Expand 10 after
4287 CGColorGetConstantColor(kCGColorWhite)); 4287 CGColorGetConstantColor(kCGColorWhite));
4288 CGContextFillRect(context, clipRect); 4288 CGContextFillRect(context, clipRect);
4289 } 4289 }
4290 } 4290 }
4291 4291
4292 - (void)disableRendering { 4292 - (void)disableRendering {
4293 renderWidgetHostView_ = NULL; 4293 renderWidgetHostView_ = NULL;
4294 } 4294 }
4295 4295
4296 @end // implementation SoftwareLayer 4296 @end // implementation SoftwareLayer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698