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

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

Issue 1446253002: PlzNavigate: inform the WebFrameClient that a form will be submitted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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) 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 WTF_MAKE_NONCOPYABLE(ProgressTracker); USING_FAST_MALLOC_WILL_BE_REMOVED(Pro gressTracker); 47 WTF_MAKE_NONCOPYABLE(ProgressTracker); USING_FAST_MALLOC_WILL_BE_REMOVED(Pro gressTracker);
48 public: 48 public:
49 static PassOwnPtrWillBeRawPtr<ProgressTracker> create(LocalFrame*); 49 static PassOwnPtrWillBeRawPtr<ProgressTracker> create(LocalFrame*);
50 50
51 ~ProgressTracker(); 51 ~ProgressTracker();
52 DECLARE_TRACE(); 52 DECLARE_TRACE();
53 void dispose(); 53 void dispose();
54 54
55 double estimatedProgress() const; 55 double estimatedProgress() const;
56 56
57 void progressStarted(); 57 void progressStarted(bool informClient);
58 void progressCompleted(); 58 void progressCompleted();
59 59
60 void finishedParsing(); 60 void finishedParsing();
61 61
62 void incrementProgress(unsigned long identifier, const ResourceResponse&); 62 void incrementProgress(unsigned long identifier, const ResourceResponse&);
63 void incrementProgress(unsigned long identifier, int); 63 void incrementProgress(unsigned long identifier, int);
64 void completeProgress(unsigned long identifier); 64 void completeProgress(unsigned long identifier);
65 65
66 long long totalPageAndResourceBytesToLoad() const { return m_totalPageAndRes ourceBytesToLoad; } 66 long long totalPageAndResourceBytesToLoad() const { return m_totalPageAndRes ourceBytesToLoad; }
67 long long totalBytesReceived() const { return m_totalBytesReceived; } 67 long long totalBytesReceived() const { return m_totalBytesReceived; }
(...skipping 15 matching lines...) Expand all
83 double m_progressNotificationTimeInterval; 83 double m_progressNotificationTimeInterval;
84 bool m_finalProgressChangedSent; 84 bool m_finalProgressChangedSent;
85 double m_progressValue; 85 double m_progressValue;
86 86
87 HashMap<unsigned long, OwnPtr<ProgressItem>> m_progressItems; 87 HashMap<unsigned long, OwnPtr<ProgressItem>> m_progressItems;
88 }; 88 };
89 89
90 } 90 }
91 91
92 #endif 92 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698