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

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

Issue 663893002: Clean up forward declarations in Source/web (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/web/WorkerPermissionClient.h ('k') | no next file » | 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 28 matching lines...) Expand all
39 #include "public/web/WebRemoteFrameClient.h" 39 #include "public/web/WebRemoteFrameClient.h"
40 #include "public/web/WebViewClient.h" 40 #include "public/web/WebViewClient.h"
41 #include "web/WebViewImpl.h" 41 #include "web/WebViewImpl.h"
42 #include "wtf/PassOwnPtr.h" 42 #include "wtf/PassOwnPtr.h"
43 #include <gmock/gmock.h> 43 #include <gmock/gmock.h>
44 #include <gtest/gtest.h> 44 #include <gtest/gtest.h>
45 #include <string> 45 #include <string>
46 46
47 namespace blink { 47 namespace blink {
48 48
49 class WebLocalFrameImpl;
50 class WebSettings;
51
52 namespace FrameTestHelpers { 49 namespace FrameTestHelpers {
53 50
54 class TestWebFrameClient; 51 class TestWebFrameClient;
55 52
56 // Loads a url into the specified WebFrame for testing purposes. Pumps any 53 // Loads a url into the specified WebFrame for testing purposes. Pumps any
57 // pending resource requests, as well as waiting for the threaded parser to 54 // pending resource requests, as well as waiting for the threaded parser to
58 // finish, before returning. 55 // finish, before returning.
59 void loadFrame(WebFrame*, const std::string& url); 56 void loadFrame(WebFrame*, const std::string& url);
60 // Same as above, but for WebFrame::loadHTMLString(). 57 // Same as above, but for WebFrame::loadHTMLString().
61 void loadHTMLString(WebFrame*, const std::string& html, const WebURL& baseURL); 58 void loadHTMLString(WebFrame*, const std::string& html, const WebURL& baseURL);
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 { 146 {
150 Settings::setMockScrollbarsEnabled(false); 147 Settings::setMockScrollbarsEnabled(false);
151 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(false); 148 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(false);
152 } 149 }
153 }; 150 };
154 151
155 } // namespace FrameTestHelpers 152 } // namespace FrameTestHelpers
156 } // namespace blink 153 } // namespace blink
157 154
158 #endif // FrameTestHelpers_h 155 #endif // FrameTestHelpers_h
OLDNEW
« no previous file with comments | « Source/web/WorkerPermissionClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698