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

Side by Side Diff: Source/web/AssertMatchingEnums.cpp

Issue 1041473002: Detach old frame on WebFrame::swap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/page/PrintContextTest.cpp ('k') | Source/web/FrameLoaderClientImpl.h » ('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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 23 matching lines...) Expand all
34 #include "config.h" 34 #include "config.h"
35 35
36 #include "bindings/core/v8/SerializedScriptValue.h" 36 #include "bindings/core/v8/SerializedScriptValue.h"
37 #include "core/dom/AXObjectCache.h" 37 #include "core/dom/AXObjectCache.h"
38 #include "core/dom/DocumentMarker.h" 38 #include "core/dom/DocumentMarker.h"
39 #include "core/dom/ExceptionCode.h" 39 #include "core/dom/ExceptionCode.h"
40 #include "core/dom/IconURL.h" 40 #include "core/dom/IconURL.h"
41 #include "core/editing/SelectionType.h" 41 #include "core/editing/SelectionType.h"
42 #include "core/editing/TextAffinity.h" 42 #include "core/editing/TextAffinity.h"
43 #include "core/fileapi/FileError.h" 43 #include "core/fileapi/FileError.h"
44 #include "core/frame/Frame.h"
44 #include "core/frame/Settings.h" 45 #include "core/frame/Settings.h"
45 #include "core/frame/csp/ContentSecurityPolicy.h" 46 #include "core/frame/csp/ContentSecurityPolicy.h"
46 #include "core/html/HTMLFormElement.h" 47 #include "core/html/HTMLFormElement.h"
47 #include "core/html/HTMLInputElement.h" 48 #include "core/html/HTMLInputElement.h"
48 #include "core/html/HTMLMediaElement.h" 49 #include "core/html/HTMLMediaElement.h"
49 #include "core/html/shadow/TextControlInnerElements.h" 50 #include "core/html/shadow/TextControlInnerElements.h"
50 #include "core/layout/compositing/CompositedSelectionBound.h" 51 #include "core/layout/compositing/CompositedSelectionBound.h"
51 #include "core/loader/FrameLoaderClient.h" 52 #include "core/loader/FrameLoaderClient.h"
52 #include "core/loader/FrameLoaderTypes.h" 53 #include "core/loader/FrameLoaderTypes.h"
53 #include "core/loader/NavigationPolicy.h" 54 #include "core/loader/NavigationPolicy.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 #include "public/web/WebFrameLoadType.h" 120 #include "public/web/WebFrameLoadType.h"
120 #include "public/web/WebGeolocationError.h" 121 #include "public/web/WebGeolocationError.h"
121 #include "public/web/WebGeolocationPosition.h" 122 #include "public/web/WebGeolocationPosition.h"
122 #include "public/web/WebHistoryCommitType.h" 123 #include "public/web/WebHistoryCommitType.h"
123 #include "public/web/WebHistoryItem.h" 124 #include "public/web/WebHistoryItem.h"
124 #include "public/web/WebIconURL.h" 125 #include "public/web/WebIconURL.h"
125 #include "public/web/WebInputElement.h" 126 #include "public/web/WebInputElement.h"
126 #include "public/web/WebInputEvent.h" 127 #include "public/web/WebInputEvent.h"
127 #include "public/web/WebNavigationPolicy.h" 128 #include "public/web/WebNavigationPolicy.h"
128 #include "public/web/WebNavigatorContentUtilsClient.h" 129 #include "public/web/WebNavigatorContentUtilsClient.h"
130 #include "public/web/WebRemoteFrameClient.h"
129 #include "public/web/WebSandboxFlags.h" 131 #include "public/web/WebSandboxFlags.h"
130 #include "public/web/WebSecurityPolicy.h" 132 #include "public/web/WebSecurityPolicy.h"
131 #include "public/web/WebSelection.h" 133 #include "public/web/WebSelection.h"
132 #include "public/web/WebSerializedScriptValueVersion.h" 134 #include "public/web/WebSerializedScriptValueVersion.h"
133 #include "public/web/WebSettings.h" 135 #include "public/web/WebSettings.h"
134 #include "public/web/WebSpeechRecognizerClient.h" 136 #include "public/web/WebSpeechRecognizerClient.h"
135 #include "public/web/WebTextAffinity.h" 137 #include "public/web/WebTextAffinity.h"
136 #include "public/web/WebTextCheckingResult.h" 138 #include "public/web/WebTextCheckingResult.h"
137 #include "public/web/WebTextCheckingType.h" 139 #include "public/web/WebTextCheckingType.h"
138 #include "public/web/WebTextDecorationType.h" 140 #include "public/web/WebTextDecorationType.h"
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler); 728 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler);
727 729
728 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::Standard, FrameLoadTypeStandard); 730 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::Standard, FrameLoadTypeStandard);
729 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::BackForward, FrameLoadTypeBackForw ard); 731 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::BackForward, FrameLoadTypeBackForw ard);
730 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::Reload, FrameLoadTypeReload); 732 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::Reload, FrameLoadTypeReload);
731 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::Same, FrameLoadTypeSame); 733 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::Same, FrameLoadTypeSame);
732 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::RedirectWithLockedBackForwardList, FrameLoadTypeRedirectWithLockedBackForwardList); 734 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::RedirectWithLockedBackForwardList, FrameLoadTypeRedirectWithLockedBackForwardList);
733 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::InitialInChildFrame, FrameLoadType InitialInChildFrame); 735 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::InitialInChildFrame, FrameLoadType InitialInChildFrame);
734 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::InitialHistoryLoad, FrameLoadTypeI nitialHistoryLoad); 736 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::InitialHistoryLoad, FrameLoadTypeI nitialHistoryLoad);
735 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::ReloadFromOrigin, FrameLoadTypeRel oadFromOrigin); 737 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::ReloadFromOrigin, FrameLoadTypeRel oadFromOrigin);
738
739 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType: :Remove);
740 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::S wap);
741 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::Detac hType::Remove);
742 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachT ype::Swap);
736 } // namespace blink 743 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/page/PrintContextTest.cpp ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698