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

Unified Diff: components/test_runner/test_runner.h

Issue 1893783002: Split TestRunner::setTopLoadingFrame into separate "set" and "clear" methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@replicate-across-all-renderers
Patch Set: Rebasing... Created 4 years, 8 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 | « no previous file | components/test_runner/test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner.h
diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
index 11ac5a0d8665dffd6a4fc98d57bb1d611c9349fa..ebb22b4408b8f206094bc1caabc905c40b07f50a 100644
--- a/components/test_runner/test_runner.h
+++ b/components/test_runner/test_runner.h
@@ -135,7 +135,9 @@ class TestRunner : public WebTestRunner {
bool shouldDumpSpellCheckCallbacks() const;
bool shouldWaitUntilExternalURLLoad() const;
const std::set<std::string>* httpHeadersToClear() const;
- void setTopLoadingFrame(blink::WebFrame*, bool);
+ bool isFramePartOfMainTestWindow(blink::WebFrame*) const;
+ void tryToSetTopLoadingFrame(blink::WebFrame*);
jochen (gone - plz use gerrit) 2016/04/27 11:59:08 should this and the next return a bool whether it
Łukasz Anforowicz 2016/04/27 17:06:53 Done (+ added comments explaining this and other a
+ void tryToClearTopLoadingFrame(blink::WebFrame*);
blink::WebFrame* topLoadingFrame() const;
void policyDelegateDone();
bool policyDelegateEnabled() const;
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698