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

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

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/public/browser/native_web_keyboard_event.h" 5 #include "content/public/browser/native_web_keyboard_event.h"
6 6
7 #import <AppKit/AppKit.h> 7 #import <AppKit/AppKit.h>
8 8
9 #include "third_party/WebKit/public/web/mac/WebInputEventFactory.h" 9 #include "third_party/WebKit/public/web/mac/WebInputEventFactory.h"
10 10
11 using WebKit::WebInputEventFactory; 11 using blink::WebInputEventFactory;
12 12
13 namespace content { 13 namespace content {
14 14
15 NativeWebKeyboardEvent::NativeWebKeyboardEvent() 15 NativeWebKeyboardEvent::NativeWebKeyboardEvent()
16 : os_event(NULL), 16 : os_event(NULL),
17 skip_in_browser(false) { 17 skip_in_browser(false) {
18 } 18 }
19 19
20 NativeWebKeyboardEvent::NativeWebKeyboardEvent(gfx::NativeEvent native_event) 20 NativeWebKeyboardEvent::NativeWebKeyboardEvent(gfx::NativeEvent native_event)
21 : WebKeyboardEvent(WebInputEventFactory::keyboardEvent(native_event)), 21 : WebKeyboardEvent(WebInputEventFactory::keyboardEvent(native_event)),
(...skipping 29 matching lines...) Expand all
51 skip_in_browser = other.skip_in_browser; 51 skip_in_browser = other.skip_in_browser;
52 52
53 return *this; 53 return *this;
54 } 54 }
55 55
56 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() { 56 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() {
57 [os_event release]; 57 [os_event release];
58 } 58 }
59 59
60 } // namespace content 60 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698