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

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

Issue 2920663002: Class/struct layout optimization for blink Resource related classes (Closed)
Patch Set: Created 3 years, 6 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 /* 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "public/web/WebRemoteFrameClient.h" 49 #include "public/web/WebRemoteFrameClient.h"
50 #include "public/web/WebSettings.h" 50 #include "public/web/WebSettings.h"
51 #include "public/web/WebViewClient.h" 51 #include "public/web/WebViewClient.h"
52 52
53 namespace blink { 53 namespace blink {
54 54
55 class WebFrame; 55 class WebFrame;
56 class WebLocalFrameBase; 56 class WebLocalFrameBase;
57 class WebRemoteFrameImpl; 57 class WebRemoteFrameImpl;
58 class WebSettings; 58 class WebSettings;
59 enum class WebCachePolicy; 59 enum class WebCachePolicy : uint8_t;
60 60
61 namespace FrameTestHelpers { 61 namespace FrameTestHelpers {
62 62
63 class TestWebFrameClient; 63 class TestWebFrameClient;
64 class TestWebWidgetClient; 64 class TestWebWidgetClient;
65 class TestWebViewClient; 65 class TestWebViewClient;
66 66
67 // Loads a url into the specified WebFrame for testing purposes. Pumps any 67 // Loads a url into the specified WebFrame for testing purposes. Pumps any
68 // pending resource requests, as well as waiting for the threaded parser to 68 // pending resource requests, as well as waiting for the threaded parser to
69 // finish, before returning. 69 // finish, before returning.
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 WebDOMMessageEvent) override {} 303 WebDOMMessageEvent) override {}
304 304
305 private: 305 private:
306 Persistent<WebRemoteFrameImpl> const frame_; 306 Persistent<WebRemoteFrameImpl> const frame_;
307 }; 307 };
308 308
309 } // namespace FrameTestHelpers 309 } // namespace FrameTestHelpers
310 } // namespace blink 310 } // namespace blink
311 311
312 #endif // FrameTestHelpers_h 312 #endif // FrameTestHelpers_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698