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

Side by Side Diff: Source/bindings/core/v8/ActiveDOMCallback.h

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2010, 2012 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // 46 //
47 // Should only be created, used, and destroyed on the script execution 47 // Should only be created, used, and destroyed on the script execution
48 // context thread. 48 // context thread.
49 class CORE_EXPORT ActiveDOMCallback : public ContextLifecycleObserver { 49 class CORE_EXPORT ActiveDOMCallback : public ContextLifecycleObserver {
50 public: 50 public:
51 explicit ActiveDOMCallback(ExecutionContext*); 51 explicit ActiveDOMCallback(ExecutionContext*);
52 virtual ~ActiveDOMCallback(); 52 virtual ~ActiveDOMCallback();
53 53
54 bool canInvokeCallback() const; 54 bool canInvokeCallback() const;
55 bool isScriptControllerTerminating() const; 55 bool isScriptControllerTerminating() const;
56
57 private:
58 ActiveDOMCallback() = delete;
haraken 2015/08/12 07:56:12 I'm just curious but why do we need this? (or how
tasak 2015/08/12 09:13:26 Not related to this CL. I would like to confirm th
56 }; 59 };
57 60
58 } // namespace blink 61 } // namespace blink
59 62
60 #endif // ActiveDOMCallback_h 63 #endif // ActiveDOMCallback_h
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/core/v8/BindingSecurity.h » ('j') | Source/bindings/core/v8/Dictionary.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698