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

Side by Side Diff: chrome/common/native_web_keyboard_event_mac.mm

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/common/native_web_keyboard_event.h" 5 #include "chrome/common/native_web_keyboard_event.h"
6 6
7 #import <AppKit/AppKit.h> 7 #import <AppKit/AppKit.h>
8 8
9 #include "webkit/api/public/mac/WebInputEventFactory.h" 9 #include "third_party/WebKit/WebKit/chromium/public/mac/WebInputEventFactory.h"
10 10
11 using WebKit::WebInputEventFactory; 11 using WebKit::WebInputEventFactory;
12 12
13 NativeWebKeyboardEvent::NativeWebKeyboardEvent() 13 NativeWebKeyboardEvent::NativeWebKeyboardEvent()
14 : os_event(NULL), 14 : os_event(NULL),
15 skip_in_browser(false) { 15 skip_in_browser(false) {
16 } 16 }
17 17
18 NativeWebKeyboardEvent::NativeWebKeyboardEvent(NSEvent* event) 18 NativeWebKeyboardEvent::NativeWebKeyboardEvent(NSEvent* event)
19 : WebKeyboardEvent(WebInputEventFactory::keyboardEvent(event)), 19 : WebKeyboardEvent(WebInputEventFactory::keyboardEvent(event)),
(...skipping 27 matching lines...) Expand all
47 [previous release]; 47 [previous release];
48 48
49 skip_in_browser = other.skip_in_browser; 49 skip_in_browser = other.skip_in_browser;
50 50
51 return *this; 51 return *this;
52 } 52 }
53 53
54 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() { 54 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() {
55 [os_event release]; 55 [os_event release];
56 } 56 }
OLDNEW
« no previous file with comments | « chrome/common/native_web_keyboard_event_linux.cc ('k') | chrome/common/native_web_keyboard_event_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698