| OLD | NEW |
| 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 20 matching lines...) Expand all Loading... |
| 31 #include "platform/network/ResourceLoadPriority.h" | 31 #include "platform/network/ResourceLoadPriority.h" |
| 32 #include "wtf/Allocator.h" | 32 #include "wtf/Allocator.h" |
| 33 #include "wtf/Forward.h" | 33 #include "wtf/Forward.h" |
| 34 #include "wtf/HashMap.h" | 34 #include "wtf/HashMap.h" |
| 35 #include "wtf/Noncopyable.h" | 35 #include "wtf/Noncopyable.h" |
| 36 #include <memory> | 36 #include <memory> |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class LocalFrame; | 40 class LocalFrame; |
| 41 class Resource; | |
| 42 class ResourceResponse; | 41 class ResourceResponse; |
| 43 struct ProgressItem; | 42 struct ProgressItem; |
| 44 | 43 |
| 45 // FIXME: This is only used on Android. Android is the only Chrome | 44 // FIXME: This is only used on Android. Android is the only Chrome |
| 46 // browser which shows a progress bar during loading. | 45 // browser which shows a progress bar during loading. |
| 47 // We should find a better way for Android to get this data and remove this! | 46 // We should find a better way for Android to get this data and remove this! |
| 48 class CORE_EXPORT ProgressTracker final | 47 class CORE_EXPORT ProgressTracker final |
| 49 : public GarbageCollectedFinalized<ProgressTracker> { | 48 : public GarbageCollectedFinalized<ProgressTracker> { |
| 50 WTF_MAKE_NONCOPYABLE(ProgressTracker); | 49 WTF_MAKE_NONCOPYABLE(ProgressTracker); |
| 51 | 50 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 82 double m_lastNotifiedProgressTime; | 81 double m_lastNotifiedProgressTime; |
| 83 bool m_finishedParsing; | 82 bool m_finishedParsing; |
| 84 double m_progressValue; | 83 double m_progressValue; |
| 85 | 84 |
| 86 HashMap<unsigned long, std::unique_ptr<ProgressItem>> m_progressItems; | 85 HashMap<unsigned long, std::unique_ptr<ProgressItem>> m_progressItems; |
| 87 }; | 86 }; |
| 88 | 87 |
| 89 } // namespace blink | 88 } // namespace blink |
| 90 | 89 |
| 91 #endif | 90 #endif |
| OLD | NEW |