| OLD | NEW |
| 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 16 matching lines...) Expand all Loading... |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 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 "UserAgentStyleSheets.h" | 37 #include "core/UserAgentStyleSheets.h" |
| 38 #include "core/clipboard/Clipboard.h" | 38 #include "core/clipboard/Clipboard.h" |
| 39 #include "core/css/StyleSheetContents.h" | 39 #include "core/css/StyleSheetContents.h" |
| 40 #include "core/css/resolver/ViewportStyleResolver.h" | 40 #include "core/css/resolver/ViewportStyleResolver.h" |
| 41 #include "core/dom/DocumentMarkerController.h" | 41 #include "core/dom/DocumentMarkerController.h" |
| 42 #include "core/dom/FullscreenElementStack.h" | 42 #include "core/dom/FullscreenElementStack.h" |
| 43 #include "core/dom/Range.h" | 43 #include "core/dom/Range.h" |
| 44 #include "core/editing/Editor.h" | 44 #include "core/editing/Editor.h" |
| 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" |
| (...skipping 5529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5577 { | 5577 { |
| 5578 registerMockedHttpURLLoad("brand_color_test.html"); | 5578 registerMockedHttpURLLoad("brand_color_test.html"); |
| 5579 FrameTestHelpers::WebViewHelper webViewHelper; | 5579 FrameTestHelpers::WebViewHelper webViewHelper; |
| 5580 BrandColorTestWebFrameClient client; | 5580 BrandColorTestWebFrameClient client; |
| 5581 webViewHelper.initializeAndLoad(m_baseURL + "brand_color_test.html", false,
&client); | 5581 webViewHelper.initializeAndLoad(m_baseURL + "brand_color_test.html", false,
&client); |
| 5582 EXPECT_TRUE(client.didNotify()); | 5582 EXPECT_TRUE(client.didNotify()); |
| 5583 EXPECT_EQ(0xff0000ff, client.brandColor()); | 5583 EXPECT_EQ(0xff0000ff, client.brandColor()); |
| 5584 } | 5584 } |
| 5585 | 5585 |
| 5586 } // namespace | 5586 } // namespace |
| OLD | NEW |