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

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

Issue 861773003: Inform the WebFrameClient of BeforeUnload/Unload handlers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed Nate's comments Created 5 years, 11 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 28 matching lines...) Expand all
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/TextAffinity.h" 41 #include "core/editing/TextAffinity.h"
42 #include "core/fileapi/FileError.h" 42 #include "core/fileapi/FileError.h"
43 #include "core/frame/Settings.h" 43 #include "core/frame/Settings.h"
44 #include "core/frame/csp/ContentSecurityPolicy.h" 44 #include "core/frame/csp/ContentSecurityPolicy.h"
45 #include "core/html/HTMLFormElement.h" 45 #include "core/html/HTMLFormElement.h"
46 #include "core/html/HTMLInputElement.h" 46 #include "core/html/HTMLInputElement.h"
47 #include "core/html/HTMLMediaElement.h" 47 #include "core/html/HTMLMediaElement.h"
48 #include "core/html/shadow/TextControlInnerElements.h" 48 #include "core/html/shadow/TextControlInnerElements.h"
49 #include "core/loader/FrameLoaderClient.h"
49 #include "core/loader/FrameLoaderTypes.h" 50 #include "core/loader/FrameLoaderTypes.h"
50 #include "core/loader/NavigationPolicy.h" 51 #include "core/loader/NavigationPolicy.h"
51 #include "core/loader/appcache/ApplicationCacheHost.h" 52 #include "core/loader/appcache/ApplicationCacheHost.h"
52 #include "core/page/InjectedStyleSheets.h" 53 #include "core/page/InjectedStyleSheets.h"
53 #include "core/page/PageVisibilityState.h" 54 #include "core/page/PageVisibilityState.h"
54 #include "core/rendering/compositing/CompositedSelectionBound.h" 55 #include "core/rendering/compositing/CompositedSelectionBound.h"
55 #include "core/rendering/style/RenderStyleConstants.h" 56 #include "core/rendering/style/RenderStyleConstants.h"
56 #include "modules/accessibility/AXObject.h" 57 #include "modules/accessibility/AXObject.h"
57 #include "modules/geolocation/GeolocationError.h" 58 #include "modules/geolocation/GeolocationError.h"
58 #include "modules/geolocation/GeolocationPosition.h" 59 #include "modules/geolocation/GeolocationPosition.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 #include "public/platform/WebStorageQuotaError.h" 107 #include "public/platform/WebStorageQuotaError.h"
107 #include "public/platform/WebStorageQuotaType.h" 108 #include "public/platform/WebStorageQuotaType.h"
108 #include "public/platform/WebURLRequest.h" 109 #include "public/platform/WebURLRequest.h"
109 #include "public/platform/WebURLResponse.h" 110 #include "public/platform/WebURLResponse.h"
110 #include "public/web/WebAXEnums.h" 111 #include "public/web/WebAXEnums.h"
111 #include "public/web/WebAXObject.h" 112 #include "public/web/WebAXObject.h"
112 #include "public/web/WebConsoleMessage.h" 113 #include "public/web/WebConsoleMessage.h"
113 #include "public/web/WebContentSecurityPolicy.h" 114 #include "public/web/WebContentSecurityPolicy.h"
114 #include "public/web/WebFontDescription.h" 115 #include "public/web/WebFontDescription.h"
115 #include "public/web/WebFormElement.h" 116 #include "public/web/WebFormElement.h"
117 #include "public/web/WebFrameClient.h"
116 #include "public/web/WebGeolocationError.h" 118 #include "public/web/WebGeolocationError.h"
117 #include "public/web/WebGeolocationPosition.h" 119 #include "public/web/WebGeolocationPosition.h"
118 #include "public/web/WebHistoryCommitType.h" 120 #include "public/web/WebHistoryCommitType.h"
119 #include "public/web/WebHistoryItem.h" 121 #include "public/web/WebHistoryItem.h"
120 #include "public/web/WebIconURL.h" 122 #include "public/web/WebIconURL.h"
121 #include "public/web/WebInputElement.h" 123 #include "public/web/WebInputElement.h"
122 #include "public/web/WebInputEvent.h" 124 #include "public/web/WebInputEvent.h"
123 #include "public/web/WebNavigationPolicy.h" 125 #include "public/web/WebNavigationPolicy.h"
124 #include "public/web/WebNavigatorContentUtilsClient.h" 126 #include "public/web/WebNavigatorContentUtilsClient.h"
125 #include "public/web/WebSandboxFlags.h" 127 #include "public/web/WebSandboxFlags.h"
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Plugins, SandboxPlugins); 680 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Plugins, SandboxPlugins);
679 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Origin, SandboxOrigin); 681 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Origin, SandboxOrigin);
680 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Forms, SandboxForms); 682 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Forms, SandboxForms);
681 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Scripts, SandboxScripts); 683 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Scripts, SandboxScripts);
682 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::TopNavigation, SandboxTopNavigation ); 684 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::TopNavigation, SandboxTopNavigation );
683 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups); 685 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups);
684 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features); 686 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features);
685 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock); 687 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock);
686 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in); 688 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in);
687 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock); 689 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock);
690
691 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie nt::BeforeUnloadHandler);
692 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler);
688 } // namespace blink 693 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698