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

Side by Side Diff: Source/web/tests/WebFrameTest.cpp

Issue 349013002: Include Page.h in fewer headers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/tests/WebDocumentTest.cpp ('k') | Source/web/tests/WebInputEventConversionTest.cpp » ('j') | 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "core/editing/FrameSelection.h" 45 #include "core/editing/FrameSelection.h"
46 #include "core/editing/SpellChecker.h" 46 #include "core/editing/SpellChecker.h"
47 #include "core/editing/VisiblePosition.h" 47 #include "core/editing/VisiblePosition.h"
48 #include "core/events/MouseEvent.h" 48 #include "core/events/MouseEvent.h"
49 #include "core/frame/FrameView.h" 49 #include "core/frame/FrameView.h"
50 #include "core/frame/LocalFrame.h" 50 #include "core/frame/LocalFrame.h"
51 #include "core/frame/Settings.h" 51 #include "core/frame/Settings.h"
52 #include "core/html/HTMLFormElement.h" 52 #include "core/html/HTMLFormElement.h"
53 #include "core/loader/FrameLoadRequest.h" 53 #include "core/loader/FrameLoadRequest.h"
54 #include "core/page/EventHandler.h" 54 #include "core/page/EventHandler.h"
55 #include "core/page/Page.h"
55 #include "core/rendering/HitTestResult.h" 56 #include "core/rendering/HitTestResult.h"
56 #include "core/rendering/RenderView.h" 57 #include "core/rendering/RenderView.h"
57 #include "core/rendering/TextAutosizer.h" 58 #include "core/rendering/TextAutosizer.h"
58 #include "core/rendering/compositing/RenderLayerCompositor.h" 59 #include "core/rendering/compositing/RenderLayerCompositor.h"
59 #include "platform/DragImage.h" 60 #include "platform/DragImage.h"
60 #include "platform/RuntimeEnabledFeatures.h" 61 #include "platform/RuntimeEnabledFeatures.h"
61 #include "platform/UserGestureIndicator.h" 62 #include "platform/UserGestureIndicator.h"
62 #include "platform/geometry/FloatRect.h" 63 #include "platform/geometry/FloatRect.h"
63 #include "platform/network/ResourceError.h" 64 #include "platform/network/ResourceError.h"
64 #include "platform/scroll/ScrollbarTheme.h" 65 #include "platform/scroll/ScrollbarTheme.h"
(...skipping 5519 matching lines...) Expand 10 before | Expand all | Expand 10 after
5584 { 5585 {
5585 registerMockedHttpURLLoad("brand_color_test.html"); 5586 registerMockedHttpURLLoad("brand_color_test.html");
5586 FrameTestHelpers::WebViewHelper webViewHelper; 5587 FrameTestHelpers::WebViewHelper webViewHelper;
5587 BrandColorTestWebFrameClient client; 5588 BrandColorTestWebFrameClient client;
5588 webViewHelper.initializeAndLoad(m_baseURL + "brand_color_test.html", false, &client); 5589 webViewHelper.initializeAndLoad(m_baseURL + "brand_color_test.html", false, &client);
5589 EXPECT_TRUE(client.didNotify()); 5590 EXPECT_TRUE(client.didNotify());
5590 EXPECT_EQ(0xff0000ff, webViewHelper.webViewImpl()->mainFrameImpl()->document ().brandColor()); 5591 EXPECT_EQ(0xff0000ff, webViewHelper.webViewImpl()->mainFrameImpl()->document ().brandColor());
5591 } 5592 }
5592 5593
5593 } // namespace 5594 } // namespace
OLDNEW
« no previous file with comments | « Source/web/tests/WebDocumentTest.cpp ('k') | Source/web/tests/WebInputEventConversionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698