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

Side by Side Diff: Source/bindings/modules/v8/custom/V8DeviceOrientationEventCustom.cpp

Issue 331373002: Split bindings/v8/custom into core and modules. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months 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 /* 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * * Redistributions of source code must retain the above copyright 7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright 9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 double beta = info[4]->NumberValue(); 46 double beta = info[4]->NumberValue();
47 bool gammaProvided = !isUndefinedOrNull(info[5]); 47 bool gammaProvided = !isUndefinedOrNull(info[5]);
48 double gamma = info[5]->NumberValue(); 48 double gamma = info[5]->NumberValue();
49 bool absoluteProvided = !isUndefinedOrNull(info[6]); 49 bool absoluteProvided = !isUndefinedOrNull(info[6]);
50 bool absolute = info[6]->BooleanValue(); 50 bool absolute = info[6]->BooleanValue();
51 RefPtrWillBeRawPtr<DeviceOrientationData> orientation = DeviceOrientationDat a::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absolu teProvided, absolute); 51 RefPtrWillBeRawPtr<DeviceOrientationData> orientation = DeviceOrientationDat a::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absolu teProvided, absolute);
52 impl->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get( )); 52 impl->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get( ));
53 } 53 }
54 54
55 } // namespace WebCore 55 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698