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

Unified Diff: Source/core/page/ScopedPageLoadDeferrer.h

Issue 172513002: Rename PageGroupLoadDeferrer to ScopedPageLoadDeferrer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/PageGroupLoadDeferrer.cpp ('k') | Source/core/page/ScopedPageLoadDeferrer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/ScopedPageLoadDeferrer.h
diff --git a/Source/core/page/PageGroupLoadDeferrer.h b/Source/core/page/ScopedPageLoadDeferrer.h
similarity index 70%
rename from Source/core/page/PageGroupLoadDeferrer.h
rename to Source/core/page/ScopedPageLoadDeferrer.h
index 180707ea61c6aa6fca1e1ebab2d6ace8d3fc6e55..52049e83c593740b469c29132eb29c5732819fbc 100644
--- a/Source/core/page/PageGroupLoadDeferrer.h
+++ b/Source/core/page/ScopedPageLoadDeferrer.h
@@ -17,26 +17,27 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef PageGroupLoadDeferrer_h
-#define PageGroupLoadDeferrer_h
+#ifndef ScopedPageLoadDeferrer_h
+#define ScopedPageLoadDeferrer_h
#include "wtf/RefPtr.h"
#include "wtf/Vector.h"
namespace WebCore {
- class Frame;
- class Page;
+class Frame;
+class Page;
- class PageGroupLoadDeferrer {
- WTF_MAKE_NONCOPYABLE(PageGroupLoadDeferrer);
- public:
- PageGroupLoadDeferrer(Page*, bool deferSelf);
- ~PageGroupLoadDeferrer();
+class ScopedPageLoadDeferrer {
+ WTF_MAKE_NONCOPYABLE(ScopedPageLoadDeferrer);
+public:
+ ScopedPageLoadDeferrer(Page* exclusion = 0);
+ ~ScopedPageLoadDeferrer();
- private:
- Vector<RefPtr<Frame>, 16> m_deferredFrames;
- };
-}
+private:
+ Vector<RefPtr<Frame>, 16> m_deferredFrames;
+};
-#endif // PageGroupLoadDeferrer_h
+} // namespace WebCore
+
+#endif // ScopedPageLoadDeferrer_h
« no previous file with comments | « Source/core/page/PageGroupLoadDeferrer.cpp ('k') | Source/core/page/ScopedPageLoadDeferrer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698