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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimWebViewClient.h

Issue 2881393002: Count cross-origin property access. (Closed)
Patch Set: Nits + Rebase. Created 3 years, 7 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
Index: third_party/WebKit/Source/web/tests/sim/SimWebViewClient.h
diff --git a/third_party/WebKit/Source/web/tests/sim/SimWebViewClient.h b/third_party/WebKit/Source/web/tests/sim/SimWebViewClient.h
index 53cd3e4fbfe2b226c319ddf14d02e88b6218bd6f..e77bc897523c54dca5763ac784c17d975260d94d 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimWebViewClient.h
+++ b/third_party/WebKit/Source/web/tests/sim/SimWebViewClient.h
@@ -29,6 +29,13 @@ class SimWebViewClient final : public FrameTestHelpers::TestWebViewClient {
return finished_loading_layout_count_;
}
+ WebView* CreateView(WebLocalFrame* opener,
+ const WebURLRequest&,
+ const WebWindowFeatures&,
+ const WebString& name,
+ WebNavigationPolicy,
+ bool) override;
+
private:
// WebWidgetClient overrides.
void DidMeaningfulLayout(WebMeaningfulLayout) override;
@@ -38,6 +45,7 @@ class SimWebViewClient final : public FrameTestHelpers::TestWebViewClient {
int finished_loading_layout_count_;
WebLayerTreeView* layer_tree_view_;
+ FrameTestHelpers::WebViewHelper web_view_helper_;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/web/tests/sim/SimWebViewClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698