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

Side by Side Diff: Source/modules/geolocation/Geolocation.h

Issue 463543002: Oilpan: Ensure that classes with virtual trace methods always have vtables for their left-most base… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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) 2008, 2009, 2010, 2011 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All Rights Reserved.
3 * Copyright 2010, The Android Open Source Project 3 * Copyright 2010, The Android Open Source Project
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 class GeolocationPosition; 49 class GeolocationPosition;
50 class ExecutionContext; 50 class ExecutionContext;
51 51
52 class Geolocation FINAL 52 class Geolocation FINAL
53 : public GarbageCollectedFinalized<Geolocation> 53 : public GarbageCollectedFinalized<Geolocation>
54 , public ScriptWrappable 54 , public ScriptWrappable
55 , public ActiveDOMObject { 55 , public ActiveDOMObject {
56 public: 56 public:
57 static Geolocation* create(ExecutionContext*); 57 static Geolocation* create(ExecutionContext*);
58 virtual ~Geolocation(); 58 virtual ~Geolocation();
59 void trace(Visitor*); 59 virtual void trace(Visitor*);
60 60
61 virtual void stop() OVERRIDE; 61 virtual void stop() OVERRIDE;
62 Document* document() const; 62 Document* document() const;
63 LocalFrame* frame() const; 63 LocalFrame* frame() const;
64 64
65 // Creates a oneshot and attempts to obtain a position that meets the 65 // Creates a oneshot and attempts to obtain a position that meets the
66 // constraints of the options. 66 // constraints of the options.
67 void getCurrentPosition(PassOwnPtr<PositionCallback>, PassOwnPtr<PositionErr orCallback>, const Dictionary&); 67 void getCurrentPosition(PassOwnPtr<PositionCallback>, PassOwnPtr<PositionErr orCallback>, const Dictionary&);
68 68
69 // Creates a watcher that will be notified whenever a new position is 69 // Creates a watcher that will be notified whenever a new position is
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 }; 179 };
180 180
181 Permission m_geolocationPermission; 181 Permission m_geolocationPermission;
182 182
183 GeoNotifierSet m_requestsAwaitingCachedPosition; 183 GeoNotifierSet m_requestsAwaitingCachedPosition;
184 }; 184 };
185 185
186 } // namespace blink 186 } // namespace blink
187 187
188 #endif // Geolocation_h 188 #endif // Geolocation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698