OLD | NEW |
---|---|
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 Loading... | |
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 |
OLD | NEW |