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

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
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 #include "public/web/WebFrameClient.h" 119 #include "public/web/WebFrameClient.h"
119 #include "public/web/WebGeolocationError.h" 120 #include "public/web/WebGeolocationError.h"
120 #include "public/web/WebGeolocationPosition.h" 121 #include "public/web/WebGeolocationPosition.h"
121 #include "public/web/WebHistoryCommitType.h" 122 #include "public/web/WebHistoryCommitType.h"
122 #include "public/web/WebHistoryItem.h" 123 #include "public/web/WebHistoryItem.h"
123 #include "public/web/WebIconURL.h" 124 #include "public/web/WebIconURL.h"
124 #include "public/web/WebInputElement.h" 125 #include "public/web/WebInputElement.h"
125 #include "public/web/WebInputEvent.h" 126 #include "public/web/WebInputEvent.h"
126 #include "public/web/WebNavigationPolicy.h" 127 #include "public/web/WebNavigationPolicy.h"
127 #include "public/web/WebNavigatorContentUtilsClient.h" 128 #include "public/web/WebNavigatorContentUtilsClient.h"
129 #include "public/web/WebRemoteFrameClient.h"
128 #include "public/web/WebSandboxFlags.h" 130 #include "public/web/WebSandboxFlags.h"
129 #include "public/web/WebSecurityPolicy.h" 131 #include "public/web/WebSecurityPolicy.h"
130 #include "public/web/WebSelection.h" 132 #include "public/web/WebSelection.h"
131 #include "public/web/WebSerializedScriptValueVersion.h" 133 #include "public/web/WebSerializedScriptValueVersion.h"
132 #include "public/web/WebSettings.h" 134 #include "public/web/WebSettings.h"
133 #include "public/web/WebSpeechRecognizerClient.h" 135 #include "public/web/WebSpeechRecognizerClient.h"
134 #include "public/web/WebTextAffinity.h" 136 #include "public/web/WebTextAffinity.h"
135 #include "public/web/WebTextCheckingResult.h" 137 #include "public/web/WebTextCheckingResult.h"
136 #include "public/web/WebTextCheckingType.h" 138 #include "public/web/WebTextCheckingType.h"
137 #include "public/web/WebTextDecorationType.h" 139 #include "public/web/WebTextDecorationType.h"
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups); 717 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups);
716 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features); 718 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features);
717 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock); 719 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock);
718 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in); 720 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in);
719 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock); 721 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock);
720 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PropagatesToAuxiliaryBrowsingContex ts, SandboxPropagatesToAuxiliaryBrowsingContexts); 722 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PropagatesToAuxiliaryBrowsingContex ts, SandboxPropagatesToAuxiliaryBrowsingContexts);
721 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Modals, SandboxModals); 723 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Modals, SandboxModals);
722 724
723 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie nt::BeforeUnloadHandler); 725 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie nt::BeforeUnloadHandler);
724 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler); 726 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler);
727
728 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType: :Remove);
729 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::S wap);
730 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::Detac hType::Remove);
731 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachT ype::Swap);
725 } // namespace blink 732 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698