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

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

Issue 11343017: Move remaining files in content\browser\renderer_host to content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 1 month 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/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 using content::BackingStoreMac; 59 using content::BackingStoreMac;
60 using content::BrowserAccessibility; 60 using content::BrowserAccessibility;
61 using content::BrowserAccessibilityManager; 61 using content::BrowserAccessibilityManager;
62 using content::EditCommand; 62 using content::EditCommand;
63 using content::NativeWebKeyboardEvent; 63 using content::NativeWebKeyboardEvent;
64 using content::RenderViewHostImpl; 64 using content::RenderViewHostImpl;
65 using content::RenderWidgetHostImpl; 65 using content::RenderWidgetHostImpl;
66 using content::RenderWidgetHostViewMac; 66 using content::RenderWidgetHostViewMac;
67 using content::RenderWidgetHostViewMacEditCommandHelper; 67 using content::RenderWidgetHostViewMacEditCommandHelper;
68 using content::TextInputClientMac;
68 using WebKit::WebInputEvent; 69 using WebKit::WebInputEvent;
69 using WebKit::WebInputEventFactory; 70 using WebKit::WebInputEventFactory;
70 using WebKit::WebMouseEvent; 71 using WebKit::WebMouseEvent;
71 using WebKit::WebMouseWheelEvent; 72 using WebKit::WebMouseWheelEvent;
72 using WebKit::WebGestureEvent; 73 using WebKit::WebGestureEvent;
73 74
74 // These are not documented, so use only after checking -respondsToSelector:. 75 // These are not documented, so use only after checking -respondsToSelector:.
75 @interface NSApplication (UndocumentedSpeechMethods) 76 @interface NSApplication (UndocumentedSpeechMethods)
76 - (void)speakString:(NSString*)string; 77 - (void)speakString:(NSString*)string;
77 - (void)stopSpeaking:(id)sender; 78 - (void)stopSpeaking:(id)sender;
(...skipping 3225 matching lines...) Expand 10 before | Expand all | Expand 10 after
3303 if (!string) return NO; 3304 if (!string) return NO;
3304 3305
3305 // If the user is currently using an IME, confirm the IME input, 3306 // If the user is currently using an IME, confirm the IME input,
3306 // and then insert the text from the service, the same as TextEdit and Safari. 3307 // and then insert the text from the service, the same as TextEdit and Safari.
3307 [self confirmComposition]; 3308 [self confirmComposition];
3308 [self insertText:string]; 3309 [self insertText:string];
3309 return YES; 3310 return YES;
3310 } 3311 }
3311 3312
3312 @end 3313 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698