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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SimWebViewClient_h 5 #ifndef SimWebViewClient_h
6 #define SimWebViewClient_h 6 #define SimWebViewClient_h
7 7
8 #include "web/tests/FrameTestHelpers.h" 8 #include "web/tests/FrameTestHelpers.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 11 matching lines...) Expand all
22 int VisuallyNonEmptyLayoutCount() const { 22 int VisuallyNonEmptyLayoutCount() const {
23 return visually_non_empty_layout_count_; 23 return visually_non_empty_layout_count_;
24 } 24 }
25 int FinishedParsingLayoutCount() const { 25 int FinishedParsingLayoutCount() const {
26 return finished_parsing_layout_count_; 26 return finished_parsing_layout_count_;
27 } 27 }
28 int FinishedLoadingLayoutCount() const { 28 int FinishedLoadingLayoutCount() const {
29 return finished_loading_layout_count_; 29 return finished_loading_layout_count_;
30 } 30 }
31 31
32 WebView* CreateView(WebLocalFrame* opener,
33 const WebURLRequest&,
34 const WebWindowFeatures&,
35 const WebString& name,
36 WebNavigationPolicy,
37 bool) override;
38
32 private: 39 private:
33 // WebWidgetClient overrides. 40 // WebWidgetClient overrides.
34 void DidMeaningfulLayout(WebMeaningfulLayout) override; 41 void DidMeaningfulLayout(WebMeaningfulLayout) override;
35 42
36 int visually_non_empty_layout_count_; 43 int visually_non_empty_layout_count_;
37 int finished_parsing_layout_count_; 44 int finished_parsing_layout_count_;
38 int finished_loading_layout_count_; 45 int finished_loading_layout_count_;
39 46
40 WebLayerTreeView* layer_tree_view_; 47 WebLayerTreeView* layer_tree_view_;
48 FrameTestHelpers::WebViewHelper web_view_helper_;
41 }; 49 };
42 50
43 } // namespace blink 51 } // namespace blink
44 52
45 #endif 53 #endif
OLDNEW
« 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