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

Side by Side Diff: Source/core/page/EventSource.h

Issue 172513002: Rename PageGroupLoadDeferrer to ScopedPageLoadDeferrer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/core/page/Chrome.cpp ('k') | Source/core/page/PageGroupLoadDeferrer.h » ('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) 2009, 2012 Ericsson AB. All rights reserved. 2 * Copyright (C) 2009, 2012 Ericsson AB. All rights reserved.
3 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2010 Apple Inc. All rights reserved.
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 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); 73 DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
74 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); 74 DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
75 75
76 void close(); 76 void close();
77 77
78 virtual const AtomicString& interfaceName() const OVERRIDE; 78 virtual const AtomicString& interfaceName() const OVERRIDE;
79 virtual ExecutionContext* executionContext() const OVERRIDE; 79 virtual ExecutionContext* executionContext() const OVERRIDE;
80 80
81 // ActiveDOMObject 81 // ActiveDOMObject
82 // 82 //
83 // Note: suspend() is noop since PageGroupLoadDeferrer calls 83 // Note: suspend() is noop since ScopedPageLoadDeferrer calls
84 // Page::setDefersLoading() and it defers delivery of events from the 84 // Page::setDefersLoading() and it defers delivery of events from the
85 // loader, and therefore the methods of this class for receiving 85 // loader, and therefore the methods of this class for receiving
86 // asynchronous events from the loader won't be invoked. 86 // asynchronous events from the loader won't be invoked.
87 virtual void stop() OVERRIDE; 87 virtual void stop() OVERRIDE;
88 88
89 private: 89 private:
90 EventSource(ExecutionContext*, const KURL&, const Dictionary&); 90 EventSource(ExecutionContext*, const KURL&, const Dictionary&);
91 91
92 virtual void didReceiveResponse(unsigned long, const ResourceResponse&) OVER RIDE; 92 virtual void didReceiveResponse(unsigned long, const ResourceResponse&) OVER RIDE;
93 virtual void didReceiveData(const char*, int) OVERRIDE; 93 virtual void didReceiveData(const char*, int) OVERRIDE;
(...skipping 27 matching lines...) Expand all
121 Vector<UChar> m_data; 121 Vector<UChar> m_data;
122 AtomicString m_currentlyParsedEventId; 122 AtomicString m_currentlyParsedEventId;
123 AtomicString m_lastEventId; 123 AtomicString m_lastEventId;
124 unsigned long long m_reconnectDelay; 124 unsigned long long m_reconnectDelay;
125 String m_eventStreamOrigin; 125 String m_eventStreamOrigin;
126 }; 126 };
127 127
128 } // namespace WebCore 128 } // namespace WebCore
129 129
130 #endif // EventSource_h 130 #endif // EventSource_h
OLDNEW
« no previous file with comments | « Source/core/page/Chrome.cpp ('k') | Source/core/page/PageGroupLoadDeferrer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698