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

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

Issue 358603002: Remove StyleEngine.h include from RenderObject.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@rename-style-bool-to-0
Patch Set: Rebased for landing Created 6 years, 5 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/tests/WebDocumentTest.cpp ('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) 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 19 matching lines...) Expand all
30 30
31 #include "config.h" 31 #include "config.h"
32 32
33 #include "public/web/WebFrame.h" 33 #include "public/web/WebFrame.h"
34 34
35 #include "SkBitmap.h" 35 #include "SkBitmap.h"
36 #include "SkCanvas.h" 36 #include "SkCanvas.h"
37 #include "core/UserAgentStyleSheets.h" 37 #include "core/UserAgentStyleSheets.h"
38 #include "core/clipboard/DataTransfer.h" 38 #include "core/clipboard/DataTransfer.h"
39 #include "core/css/StyleSheetContents.h" 39 #include "core/css/StyleSheetContents.h"
40 #include "core/css/resolver/StyleResolver.h"
40 #include "core/css/resolver/ViewportStyleResolver.h" 41 #include "core/css/resolver/ViewportStyleResolver.h"
41 #include "core/dom/DocumentMarkerController.h" 42 #include "core/dom/DocumentMarkerController.h"
42 #include "core/dom/FullscreenElementStack.h" 43 #include "core/dom/FullscreenElementStack.h"
43 #include "core/dom/Range.h" 44 #include "core/dom/Range.h"
44 #include "core/editing/Editor.h" 45 #include "core/editing/Editor.h"
45 #include "core/editing/FrameSelection.h" 46 #include "core/editing/FrameSelection.h"
46 #include "core/editing/SpellChecker.h" 47 #include "core/editing/SpellChecker.h"
47 #include "core/editing/VisiblePosition.h" 48 #include "core/editing/VisiblePosition.h"
48 #include "core/events/MouseEvent.h" 49 #include "core/events/MouseEvent.h"
49 #include "core/frame/FrameView.h" 50 #include "core/frame/FrameView.h"
(...skipping 5557 matching lines...) Expand 10 before | Expand all | Expand 10 after
5607 EXPECT_EQ(0xff0000ff, frame->document().brandColor()); 5608 EXPECT_EQ(0xff0000ff, frame->document().brandColor());
5608 // Change of second brand-color meta tag will not change frame's brand 5609 // Change of second brand-color meta tag will not change frame's brand
5609 // color. 5610 // color.
5610 client.reset(); 5611 client.reset();
5611 frame->executeScript(WebScriptSource("document.getElementById('bc2').setAttr ibute('content', '#00FF00');")); 5612 frame->executeScript(WebScriptSource("document.getElementById('bc2').setAttr ibute('content', '#00FF00');"));
5612 EXPECT_TRUE(client.didNotify()); 5613 EXPECT_TRUE(client.didNotify());
5613 EXPECT_EQ(0xff0000ff, frame->document().brandColor()); 5614 EXPECT_EQ(0xff0000ff, frame->document().brandColor());
5614 } 5615 }
5615 5616
5616 } // namespace 5617 } // namespace
OLDNEW
« no previous file with comments | « Source/web/tests/WebDocumentTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698