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

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

Issue 2857143005: Gather serialization-related code into a directory. (Closed)
Patch Set: Created 3 years, 7 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 | « third_party/WebKit/Source/web/WebSerializedScriptValue.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 "public/web/WebFrame.h" 31 #include "public/web/WebFrame.h"
32 32
33 #include <stdarg.h> 33 #include <stdarg.h>
34 34
35 #include <map> 35 #include <map>
36 #include <memory> 36 #include <memory>
37 37
38 #include "SkBitmap.h" 38 #include "SkBitmap.h"
39 #include "SkCanvas.h" 39 #include "SkCanvas.h"
40 #include "bindings/core/v8/SerializedScriptValueFactory.h"
41 #include "bindings/core/v8/V8BindingForCore.h" 40 #include "bindings/core/v8/V8BindingForCore.h"
42 #include "bindings/core/v8/V8Node.h" 41 #include "bindings/core/v8/V8Node.h"
42 #include "bindings/core/v8/serialization/SerializedScriptValueFactory.h"
43 #include "bindings/core/v8/serialization/V8ScriptValueSerializer.h" 43 #include "bindings/core/v8/serialization/V8ScriptValueSerializer.h"
44 #include "core/clipboard/DataTransfer.h" 44 #include "core/clipboard/DataTransfer.h"
45 #include "core/css/StyleSheetContents.h" 45 #include "core/css/StyleSheetContents.h"
46 #include "core/css/resolver/StyleResolver.h" 46 #include "core/css/resolver/StyleResolver.h"
47 #include "core/css/resolver/ViewportStyleResolver.h" 47 #include "core/css/resolver/ViewportStyleResolver.h"
48 #include "core/dom/Document.h" 48 #include "core/dom/Document.h"
49 #include "core/dom/DocumentUserGestureToken.h" 49 #include "core/dom/DocumentUserGestureToken.h"
50 #include "core/dom/Fullscreen.h" 50 #include "core/dom/Fullscreen.h"
51 #include "core/dom/NodeComputedStyle.h" 51 #include "core/dom/NodeComputedStyle.h"
52 #include "core/dom/Range.h" 52 #include "core/dom/Range.h"
(...skipping 11984 matching lines...) Expand 10 before | Expand all | Expand 10 after
12037 12037
12038 // Failing the original child frame navigation and trying to render fallback 12038 // Failing the original child frame navigation and trying to render fallback
12039 // content shouldn't crash. It should return NoLoadInProgress. This is so the 12039 // content shouldn't crash. It should return NoLoadInProgress. This is so the
12040 // caller won't attempt to replace the correctly empty frame with an error 12040 // caller won't attempt to replace the correctly empty frame with an error
12041 // page. 12041 // page.
12042 EXPECT_EQ(WebLocalFrame::NoLoadInProgress, 12042 EXPECT_EQ(WebLocalFrame::NoLoadInProgress,
12043 child->MaybeRenderFallbackContent(WebURLError())); 12043 child->MaybeRenderFallbackContent(WebURLError()));
12044 } 12044 }
12045 12045
12046 } // namespace blink 12046 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSerializedScriptValue.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698