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

Side by Side Diff: content/browser/renderer_host/input/web_input_event_builders_mac.mm

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 /* 5 /*
6 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
7 * Copyright (C) 2006-2009 Google Inc. 7 * Copyright (C) 2006-2009 Google Inc.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
(...skipping 19 matching lines...) Expand all
30 30
31 #include "content/browser/renderer_host/input/web_input_event_builders_mac.h" 31 #include "content/browser/renderer_host/input/web_input_event_builders_mac.h"
32 32
33 #import <ApplicationServices/ApplicationServices.h> 33 #import <ApplicationServices/ApplicationServices.h>
34 #import <Cocoa/Cocoa.h> 34 #import <Cocoa/Cocoa.h>
35 35
36 #include <stdint.h> 36 #include <stdint.h>
37 37
38 #include "base/mac/sdk_forward_declarations.h" 38 #include "base/mac/sdk_forward_declarations.h"
39 #include "base/strings/string_util.h" 39 #include "base/strings/string_util.h"
40 #include "third_party/WebKit/public/web/WebInputEvent.h" 40 #include "third_party/WebKit/public/platform/WebInputEvent.h"
41 #include "ui/base/cocoa/cocoa_base_utils.h" 41 #include "ui/base/cocoa/cocoa_base_utils.h"
42 #include "ui/events/blink/blink_event_util.h" 42 #include "ui/events/blink/blink_event_util.h"
43 #import "ui/events/cocoa/cocoa_event_utils.h" 43 #import "ui/events/cocoa/cocoa_event_utils.h"
44 #include "ui/events/keycodes/keyboard_code_conversion.h" 44 #include "ui/events/keycodes/keyboard_code_conversion.h"
45 #include "ui/events/keycodes/keyboard_code_conversion_mac.h" 45 #include "ui/events/keycodes/keyboard_code_conversion_mac.h"
46 46
47 namespace content { 47 namespace content {
48 48
49 namespace { 49 namespace {
50 50
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 break; 542 break;
543 default: 543 default:
544 NOTIMPLEMENTED(); 544 NOTIMPLEMENTED();
545 result.type = blink::WebInputEvent::Undefined; 545 result.type = blink::WebInputEvent::Undefined;
546 } 546 }
547 547
548 return result; 548 return result;
549 } 549 }
550 550
551 } // namespace content 551 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698