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

Side by Side Diff: Source/core/events/ProgressEvent.h

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/events/PopStateEvent.h ('k') | Source/core/events/PromiseRejectionEvent.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) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 static PassRefPtrWillBeRawPtr<ProgressEvent> create(const AtomicString& type , const ProgressEventInit& initializer) 46 static PassRefPtrWillBeRawPtr<ProgressEvent> create(const AtomicString& type , const ProgressEventInit& initializer)
47 { 47 {
48 return adoptRefWillBeNoop(new ProgressEvent(type, initializer)); 48 return adoptRefWillBeNoop(new ProgressEvent(type, initializer));
49 } 49 }
50 50
51 bool lengthComputable() const { return m_lengthComputable; } 51 bool lengthComputable() const { return m_lengthComputable; }
52 unsigned long long loaded() const { return m_loaded; } 52 unsigned long long loaded() const { return m_loaded; }
53 unsigned long long total() const { return m_total; } 53 unsigned long long total() const { return m_total; }
54 54
55 virtual const AtomicString& interfaceName() const override; 55 const AtomicString& interfaceName() const override;
56 56
57 DECLARE_VIRTUAL_TRACE(); 57 DECLARE_VIRTUAL_TRACE();
58 58
59 protected: 59 protected:
60 ProgressEvent(); 60 ProgressEvent();
61 ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total); 61 ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total);
62 ProgressEvent(const AtomicString&, const ProgressEventInit&); 62 ProgressEvent(const AtomicString&, const ProgressEventInit&);
63 63
64 private: 64 private:
65 bool m_lengthComputable; 65 bool m_lengthComputable;
66 unsigned long long m_loaded; 66 unsigned long long m_loaded;
67 unsigned long long m_total; 67 unsigned long long m_total;
68 }; 68 };
69 69
70 } // namespace blink 70 } // namespace blink
71 71
72 #endif // ProgressEvent_h 72 #endif // ProgressEvent_h
OLDNEW
« no previous file with comments | « Source/core/events/PopStateEvent.h ('k') | Source/core/events/PromiseRejectionEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698