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

Side by Side Diff: Source/modules/gamepad/Gamepad.h

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 years, 10 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
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeys.cpp ('k') | Source/modules/gamepad/Gamepad.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, Google Inc. All rights reserved. 2 * Copyright (C) 2011, 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 met: 5 * modification, are permitted provided that the following conditions are met:
6 * 6 *
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. 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 18 matching lines...) Expand all
29 #include "bindings/v8/ScriptWrappable.h" 29 #include "bindings/v8/ScriptWrappable.h"
30 #include "heap/Handle.h" 30 #include "heap/Handle.h"
31 #include "public/platform/WebGamepad.h" 31 #include "public/platform/WebGamepad.h"
32 #include "wtf/RefCounted.h" 32 #include "wtf/RefCounted.h"
33 #include "wtf/Vector.h" 33 #include "wtf/Vector.h"
34 #include "wtf/text/WTFString.h" 34 #include "wtf/text/WTFString.h"
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 class Gamepad: public RefCountedWillBeGarbageCollectedFinalized<Gamepad>, public ScriptWrappable { 38 class Gamepad: public RefCountedWillBeGarbageCollectedFinalized<Gamepad>, public ScriptWrappable {
39 DECLARE_GC_INFO;
40 public: 39 public:
41 static PassRefPtrWillBeRawPtr<Gamepad> create() 40 static PassRefPtrWillBeRawPtr<Gamepad> create()
42 { 41 {
43 return adoptRefWillBeNoop(new Gamepad); 42 return adoptRefWillBeNoop(new Gamepad);
44 } 43 }
45 ~Gamepad(); 44 ~Gamepad();
46 45
47 typedef Vector<float> FloatVector; 46 typedef Vector<float> FloatVector;
48 47
49 const String& id() const { return m_id; } 48 const String& id() const { return m_id; }
(...skipping 30 matching lines...) Expand all
80 bool m_connected; 79 bool m_connected;
81 unsigned long long m_timestamp; 80 unsigned long long m_timestamp;
82 String m_mapping; 81 String m_mapping;
83 FloatVector m_axes; 82 FloatVector m_axes;
84 FloatVector m_buttons; 83 FloatVector m_buttons;
85 }; 84 };
86 85
87 } // namespace WebCore 86 } // namespace WebCore
88 87
89 #endif // Gamepad_h 88 #endif // Gamepad_h
OLDNEW
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeys.cpp ('k') | Source/modules/gamepad/Gamepad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698