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

Side by Side Diff: third_party/WebKit/Source/core/loader/appcache/ApplicationCache.h

Issue 2388693002: Make DOMWindowProperty a thin wrapper of ContextLifecycleObserver
Patch Set: temp Created 4 years 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) 2008, 2009 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2009 Apple 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 * 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 public DOMWindowProperty { 42 public DOMWindowProperty {
43 DEFINE_WRAPPERTYPEINFO(); 43 DEFINE_WRAPPERTYPEINFO();
44 USING_GARBAGE_COLLECTED_MIXIN(ApplicationCache); 44 USING_GARBAGE_COLLECTED_MIXIN(ApplicationCache);
45 45
46 public: 46 public:
47 static ApplicationCache* create(LocalFrame* frame) { 47 static ApplicationCache* create(LocalFrame* frame) {
48 return new ApplicationCache(frame); 48 return new ApplicationCache(frame);
49 } 49 }
50 ~ApplicationCache() override {} 50 ~ApplicationCache() override {}
51 51
52 void frameDestroyed() override; 52 void contextDestroyed() override;
53 53
54 unsigned short status() const; 54 unsigned short status() const;
55 void update(ExceptionState&); 55 void update(ExceptionState&);
56 void swapCache(ExceptionState&); 56 void swapCache(ExceptionState&);
57 void abort(); 57 void abort();
58 58
59 // Explicitly named attribute event listener helpers 59 // Explicitly named attribute event listener helpers
60 60
61 DEFINE_ATTRIBUTE_EVENT_LISTENER(checking); 61 DEFINE_ATTRIBUTE_EVENT_LISTENER(checking);
62 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); 62 DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
(...skipping 15 matching lines...) Expand all
78 explicit ApplicationCache(LocalFrame*); 78 explicit ApplicationCache(LocalFrame*);
79 79
80 void recordAPIUseType() const; 80 void recordAPIUseType() const;
81 81
82 ApplicationCacheHost* applicationCacheHost() const; 82 ApplicationCacheHost* applicationCacheHost() const;
83 }; 83 };
84 84
85 } // namespace blink 85 } // namespace blink
86 86
87 #endif // ApplicationCache_h 87 #endif // ApplicationCache_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698