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

Side by Side Diff: Source/core/loader/ProgressTracker.h

Issue 638503003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/loader (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/loader/PrerenderHandle.h ('k') | Source/core/loader/SinkDocument.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 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 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 24 matching lines...) Expand all
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class LocalFrame; 38 class LocalFrame;
39 class ResourceResponse; 39 class ResourceResponse;
40 struct ProgressItem; 40 struct ProgressItem;
41 41
42 // FIXME: This is only used on Android. Android is the only Chrome 42 // FIXME: This is only used on Android. Android is the only Chrome
43 // browser which shows a progress bar during loading. 43 // browser which shows a progress bar during loading.
44 // We should find a better way for Android to get this data and remove this! 44 // We should find a better way for Android to get this data and remove this!
45 class ProgressTracker FINAL : public NoBaseWillBeGarbageCollectedFinalized<Progr essTracker> { 45 class ProgressTracker final : public NoBaseWillBeGarbageCollectedFinalized<Progr essTracker> {
46 WTF_MAKE_NONCOPYABLE(ProgressTracker); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOV ED; 46 WTF_MAKE_NONCOPYABLE(ProgressTracker); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOV ED;
47 public: 47 public:
48 static PassOwnPtrWillBeRawPtr<ProgressTracker> create(LocalFrame*); 48 static PassOwnPtrWillBeRawPtr<ProgressTracker> create(LocalFrame*);
49 49
50 ~ProgressTracker(); 50 ~ProgressTracker();
51 void trace(Visitor*); 51 void trace(Visitor*);
52 void dispose(); 52 void dispose();
53 53
54 double estimatedProgress() const; 54 double estimatedProgress() const;
55 55
(...skipping 22 matching lines...) Expand all
78 double m_progressNotificationTimeInterval; 78 double m_progressNotificationTimeInterval;
79 bool m_finalProgressChangedSent; 79 bool m_finalProgressChangedSent;
80 double m_progressValue; 80 double m_progressValue;
81 81
82 HashMap<unsigned long, OwnPtr<ProgressItem> > m_progressItems; 82 HashMap<unsigned long, OwnPtr<ProgressItem> > m_progressItems;
83 }; 83 };
84 84
85 } 85 }
86 86
87 #endif 87 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/PrerenderHandle.h ('k') | Source/core/loader/SinkDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698