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

Side by Side Diff: third_party/WebKit/Source/web/tests/FrameTestHelpers.h

Issue 2555623003: WebFrameTest: use ReloadMainResource instead of Reload (Closed)
Patch Set: Created 4 years 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 | « no previous file | third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp » ('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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void loadFrame(WebFrame*, const std::string& url); 68 void loadFrame(WebFrame*, const std::string& url);
69 // Same as above, but for WebFrame::loadHTMLString(). 69 // Same as above, but for WebFrame::loadHTMLString().
70 void loadHTMLString(WebFrame*, const std::string& html, const WebURL& baseURL); 70 void loadHTMLString(WebFrame*, const std::string& html, const WebURL& baseURL);
71 // Same as above, but for WebFrame::loadHistoryItem(). 71 // Same as above, but for WebFrame::loadHistoryItem().
72 void loadHistoryItem(WebFrame*, 72 void loadHistoryItem(WebFrame*,
73 const WebHistoryItem&, 73 const WebHistoryItem&,
74 WebHistoryLoadType, 74 WebHistoryLoadType,
75 WebCachePolicy); 75 WebCachePolicy);
76 // Same as above, but for WebFrame::reload(). 76 // Same as above, but for WebFrame::reload().
77 void reloadFrame(WebFrame*); 77 void reloadFrame(WebFrame*);
78 void reloadFrameIgnoringCache(WebFrame*); 78 void reloadFrameBypassingCache(WebFrame*);
79 79
80 // Pumps pending resource requests while waiting for a frame to load. Consider 80 // Pumps pending resource requests while waiting for a frame to load. Consider
81 // using one of the above helper methods whenever possible. 81 // using one of the above helper methods whenever possible.
82 void pumpPendingRequestsForFrameToLoad(WebFrame*); 82 void pumpPendingRequestsForFrameToLoad(WebFrame*);
83 83
84 WebMouseEvent createMouseEvent(WebInputEvent::Type, 84 WebMouseEvent createMouseEvent(WebInputEvent::Type,
85 WebMouseEvent::Button, 85 WebMouseEvent::Button,
86 const IntPoint&, 86 const IntPoint&,
87 int modifiers); 87 int modifiers);
88 88
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 WebDOMMessageEvent) override {} 270 WebDOMMessageEvent) override {}
271 271
272 private: 272 private:
273 Persistent<WebRemoteFrameImpl> const m_frame; 273 Persistent<WebRemoteFrameImpl> const m_frame;
274 }; 274 };
275 275
276 } // namespace FrameTestHelpers 276 } // namespace FrameTestHelpers
277 } // namespace blink 277 } // namespace blink
278 278
279 #endif // FrameTestHelpers_h 279 #endif // FrameTestHelpers_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698