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

Side by Side Diff: Source/testing/runner/EventSender.cpp

Issue 54883002: Fix more warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
« no previous file with comments | « no previous file | Source/wtf/PageAllocator.cpp » ('j') | Source/wtf/QuantizedAllocation.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 enum KeyLocationCode { 248 enum KeyLocationCode {
249 DOMKeyLocationStandard = 0x00, 249 DOMKeyLocationStandard = 0x00,
250 DOMKeyLocationLeft = 0x01, 250 DOMKeyLocationLeft = 0x01,
251 DOMKeyLocationRight = 0x02, 251 DOMKeyLocationRight = 0x02,
252 DOMKeyLocationNumpad = 0x03 252 DOMKeyLocationNumpad = 0x03
253 }; 253 };
254 254
255 } 255 }
256 256
257 EventSender::EventSender(TestInterfaces* interfaces) 257 EventSender::EventSender(TestInterfaces* interfaces)
258 : m_delegate(0) 258 : m_testInterfaces(interfaces)
259 , m_testInterfaces(interfaces) 259 , m_delegate(0)
Nico 2013/10/31 15:40:59 Huh, do you know why the mac waterfall bots don't
lgombos 2013/10/31 19:10:11 The answer - https://codereview.chromium.org/51413
260 { 260 {
261 // Initialize the map that associates methods of this class with the names 261 // Initialize the map that associates methods of this class with the names
262 // they will use when called by JavaScript. The actual binding of those 262 // they will use when called by JavaScript. The actual binding of those
263 // names to their methods will be done by calling bindToJavaScript() (define d 263 // names to their methods will be done by calling bindToJavaScript() (define d
264 // by CppBoundClass, the parent to EventSender). 264 // by CppBoundClass, the parent to EventSender).
265 bindMethod("addTouchPoint", &EventSender::addTouchPoint); 265 bindMethod("addTouchPoint", &EventSender::addTouchPoint);
266 bindMethod("beginDragWithFiles", &EventSender::beginDragWithFiles); 266 bindMethod("beginDragWithFiles", &EventSender::beginDragWithFiles);
267 bindMethod("cancelTouchPoint", &EventSender::cancelTouchPoint); 267 bindMethod("cancelTouchPoint", &EventSender::cancelTouchPoint);
268 bindMethod("clearKillRing", &EventSender::clearKillRing); 268 bindMethod("clearKillRing", &EventSender::clearKillRing);
269 bindMethod("clearTouchPoints", &EventSender::clearTouchPoints); 269 bindMethod("clearTouchPoints", &EventSender::clearTouchPoints);
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after
1452 { 1452 {
1453 result->setNull(); 1453 result->setNull();
1454 } 1454 }
1455 1455
1456 void EventSender::clearKillRing(const CppArgumentList&, CppVariant* result) 1456 void EventSender::clearKillRing(const CppArgumentList&, CppVariant* result)
1457 { 1457 {
1458 result->setNull(); 1458 result->setNull();
1459 } 1459 }
1460 1460
1461 } 1461 }
OLDNEW
« no previous file with comments | « no previous file | Source/wtf/PageAllocator.cpp » ('j') | Source/wtf/QuantizedAllocation.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698