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

Side by Side Diff: third_party/WebKit/Source/core/fileapi/FileReader.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 ReadyState getReadyState() const { return m_state; } 76 ReadyState getReadyState() const { return m_state; }
77 FileError* error() { return m_error; } 77 FileError* error() { return m_error; }
78 void result(StringOrArrayBuffer& resultAttribute) const; 78 void result(StringOrArrayBuffer& resultAttribute) const;
79 79
80 void contextDestroyed() override; 80 void contextDestroyed() override;
81 bool hasPendingActivity() const override; 81 bool hasPendingActivity() const override;
82 82
83 // EventTarget 83 // EventTarget
84 const AtomicString& interfaceName() const override; 84 const AtomicString& interfaceName() const override;
85 ExecutionContext* executionContext() const override { return ContextLifecycl eObserver::executionContext(); } 85 ExecutionContext* getExecutionContext() const override { return ContextLifec ycleObserver::getExecutionContext(); }
86 86
87 // FileReaderLoaderClient 87 // FileReaderLoaderClient
88 void didStartLoading() override; 88 void didStartLoading() override;
89 void didReceiveData() override; 89 void didReceiveData() override;
90 void didFinishLoading() override; 90 void didFinishLoading() override;
91 void didFail(FileError::ErrorCode) override; 91 void didFail(FileError::ErrorCode) override;
92 92
93 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadstart); 93 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadstart);
94 DEFINE_ATTRIBUTE_EVENT_LISTENER(progress); 94 DEFINE_ATTRIBUTE_EVENT_LISTENER(progress);
95 DEFINE_ATTRIBUTE_EVENT_LISTENER(load); 95 DEFINE_ATTRIBUTE_EVENT_LISTENER(load);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 OwnPtr<FileReaderLoader> m_loader; 130 OwnPtr<FileReaderLoader> m_loader;
131 Member<FileError> m_error; 131 Member<FileError> m_error;
132 double m_lastProgressNotificationTimeMS; 132 double m_lastProgressNotificationTimeMS;
133 int m_asyncOperationId; 133 int m_asyncOperationId;
134 }; 134 };
135 135
136 } // namespace blink 136 } // namespace blink
137 137
138 #endif // FileReader_h 138 #endif // FileReader_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp ('k') | third_party/WebKit/Source/core/fileapi/FileReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698