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

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

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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) 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 State readyState() const; 71 State readyState() const;
72 72
73 DEFINE_ATTRIBUTE_EVENT_LISTENER(open); 73 DEFINE_ATTRIBUTE_EVENT_LISTENER(open);
74 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); 74 DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
75 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); 75 DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
76 76
77 void close(); 77 void close();
78 78
79 const AtomicString& interfaceName() const override; 79 const AtomicString& interfaceName() const override;
80 ExecutionContext* executionContext() const override; 80 ExecutionContext* getExecutionContext() const override;
81 81
82 // Note: We don't need to override suspend() because it is noop since 82 // Note: We don't need to override suspend() because it is noop since
83 // ScopedPageLoadDeferrer calls Page::setDefersLoading() and it defers 83 // ScopedPageLoadDeferrer calls Page::setDefersLoading() and it defers
84 // delivery of events from the loader, and therefore the methods of this 84 // delivery of events from the loader, and therefore the methods of this
85 // class for receiving asynchronous events from the loader won't be invoked. 85 // class for receiving asynchronous events from the loader won't be invoked.
86 void contextDestroyed() override; 86 void contextDestroyed() override;
87 87
88 bool hasPendingActivity() const override; 88 bool hasPendingActivity() const override;
89 89
90 DECLARE_VIRTUAL_TRACE(); 90 DECLARE_VIRTUAL_TRACE();
(...skipping 26 matching lines...) Expand all
117 RefPtr<ThreadableLoader> m_loader; 117 RefPtr<ThreadableLoader> m_loader;
118 Timer<EventSource> m_connectTimer; 118 Timer<EventSource> m_connectTimer;
119 119
120 unsigned long long m_reconnectDelay; 120 unsigned long long m_reconnectDelay;
121 String m_eventStreamOrigin; 121 String m_eventStreamOrigin;
122 }; 122 };
123 123
124 } // namespace blink 124 } // namespace blink
125 125
126 #endif // EventSource_h 126 #endif // EventSource_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/DragController.cpp ('k') | third_party/WebKit/Source/core/page/EventSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698