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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 #include <QuartzCore/QuartzCore.h> 7 #include <QuartzCore/QuartzCore.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebScreenInfoFact ory.h" 43 #include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebScreenInfoFact ory.h"
44 #import "third_party/mozilla/ComplexTextInputPanel.h" 44 #import "third_party/mozilla/ComplexTextInputPanel.h"
45 #include "third_party/skia/include/core/SkColor.h" 45 #include "third_party/skia/include/core/SkColor.h"
46 #include "ui/gfx/point.h" 46 #include "ui/gfx/point.h"
47 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h" 47 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
48 #include "ui/gfx/surface/io_surface_support_mac.h" 48 #include "ui/gfx/surface/io_surface_support_mac.h"
49 #include "webkit/glue/webaccessibility.h" 49 #include "webkit/glue/webaccessibility.h"
50 #include "webkit/plugins/npapi/webplugin.h" 50 #include "webkit/plugins/npapi/webplugin.h"
51 51
52 using content::BrowserThread; 52 using content::BrowserThread;
53 using content::RenderViewHostImpl;
54 using content::RenderWidgetHost;
55 using content::RenderWidgetHostImpl;
53 using content::RenderWidgetHostView; 56 using content::RenderWidgetHostView;
54 using WebKit::WebInputEvent; 57 using WebKit::WebInputEvent;
55 using WebKit::WebInputEventFactory; 58 using WebKit::WebInputEventFactory;
56 using WebKit::WebMouseEvent; 59 using WebKit::WebMouseEvent;
57 using WebKit::WebMouseWheelEvent; 60 using WebKit::WebMouseWheelEvent;
58 using WebKit::WebGestureEvent; 61 using WebKit::WebGestureEvent;
59 62
60 // Declare things that are part of the 10.6 SDK. 63 // Declare things that are part of the 10.6 SDK.
61 #if !defined(MAC_OS_X_VERSION_10_6) || \ 64 #if !defined(MAC_OS_X_VERSION_10_6) || \
62 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6 65 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6
(...skipping 2703 matching lines...) Expand 10 before | Expand all | Expand 10 after
2766 if (!string) return NO; 2769 if (!string) return NO;
2767 2770
2768 // If the user is currently using an IME, confirm the IME input, 2771 // If the user is currently using an IME, confirm the IME input,
2769 // and then insert the text from the service, the same as TextEdit and Safari. 2772 // and then insert the text from the service, the same as TextEdit and Safari.
2770 [self confirmComposition]; 2773 [self confirmComposition];
2771 [self insertText:string]; 2774 [self insertText:string];
2772 return YES; 2775 return YES;
2773 } 2776 }
2774 2777
2775 @end 2778 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698