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

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2906633002: Move ContextMenuAllowedScope to core/input (Closed)
Patch Set: Created 3 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 | « third_party/WebKit/Source/web/WebFrameWidgetImpl.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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 #include "core/frame/RemoteFrame.h" 61 #include "core/frame/RemoteFrame.h"
62 #include "core/frame/ResizeViewportAnchor.h" 62 #include "core/frame/ResizeViewportAnchor.h"
63 #include "core/frame/RotationViewportAnchor.h" 63 #include "core/frame/RotationViewportAnchor.h"
64 #include "core/frame/Settings.h" 64 #include "core/frame/Settings.h"
65 #include "core/frame/UseCounter.h" 65 #include "core/frame/UseCounter.h"
66 #include "core/frame/VisualViewport.h" 66 #include "core/frame/VisualViewport.h"
67 #include "core/frame/WebLocalFrameBase.h" 67 #include "core/frame/WebLocalFrameBase.h"
68 #include "core/html/HTMLMediaElement.h" 68 #include "core/html/HTMLMediaElement.h"
69 #include "core/html/HTMLPlugInElement.h" 69 #include "core/html/HTMLPlugInElement.h"
70 #include "core/html/HTMLTextAreaElement.h" 70 #include "core/html/HTMLTextAreaElement.h"
71 #include "core/input/ContextMenuAllowedScope.h"
71 #include "core/input/EventHandler.h" 72 #include "core/input/EventHandler.h"
72 #include "core/input/TouchActionUtil.h" 73 #include "core/input/TouchActionUtil.h"
73 #include "core/layout/LayoutPart.h" 74 #include "core/layout/LayoutPart.h"
74 #include "core/layout/TextAutosizer.h" 75 #include "core/layout/TextAutosizer.h"
75 #include "core/layout/api/LayoutViewItem.h" 76 #include "core/layout/api/LayoutViewItem.h"
76 #include "core/layout/compositing/PaintLayerCompositor.h" 77 #include "core/layout/compositing/PaintLayerCompositor.h"
77 #include "core/loader/FrameLoadRequest.h" 78 #include "core/loader/FrameLoadRequest.h"
78 #include "core/loader/FrameLoader.h" 79 #include "core/loader/FrameLoader.h"
79 #include "core/loader/FrameLoaderStateMachine.h" 80 #include "core/loader/FrameLoaderStateMachine.h"
80 #include "core/page/ContextMenuController.h" 81 #include "core/page/ContextMenuController.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 #include "public/web/WebPlugin.h" 155 #include "public/web/WebPlugin.h"
155 #include "public/web/WebPluginAction.h" 156 #include "public/web/WebPluginAction.h"
156 #include "public/web/WebRange.h" 157 #include "public/web/WebRange.h"
157 #include "public/web/WebScopedUserGesture.h" 158 #include "public/web/WebScopedUserGesture.h"
158 #include "public/web/WebSelection.h" 159 #include "public/web/WebSelection.h"
159 #include "public/web/WebViewClient.h" 160 #include "public/web/WebViewClient.h"
160 #include "public/web/WebWindowFeatures.h" 161 #include "public/web/WebWindowFeatures.h"
161 #include "web/AnimationWorkletProxyClientImpl.h" 162 #include "web/AnimationWorkletProxyClientImpl.h"
162 #include "web/CompositorMutatorImpl.h" 163 #include "web/CompositorMutatorImpl.h"
163 #include "web/CompositorWorkerProxyClientImpl.h" 164 #include "web/CompositorWorkerProxyClientImpl.h"
164 #include "web/ContextMenuAllowedScope.h"
165 #include "web/DedicatedWorkerMessagingProxyProviderImpl.h" 165 #include "web/DedicatedWorkerMessagingProxyProviderImpl.h"
166 #include "web/DevToolsEmulator.h" 166 #include "web/DevToolsEmulator.h"
167 #include "web/FullscreenController.h" 167 #include "web/FullscreenController.h"
168 #include "web/LinkHighlightImpl.h" 168 #include "web/LinkHighlightImpl.h"
169 #include "web/PageOverlay.h" 169 #include "web/PageOverlay.h"
170 #include "web/PrerendererClientImpl.h" 170 #include "web/PrerendererClientImpl.h"
171 #include "web/StorageQuotaClientImpl.h" 171 #include "web/StorageQuotaClientImpl.h"
172 #include "web/WebDevToolsAgentImpl.h" 172 #include "web/WebDevToolsAgentImpl.h"
173 #include "web/WebInputMethodControllerImpl.h" 173 #include "web/WebInputMethodControllerImpl.h"
174 #include "web/WebRemoteFrameImpl.h" 174 #include "web/WebRemoteFrameImpl.h"
(...skipping 3976 matching lines...) Expand 10 before | Expand all | Expand 10 after
4151 if (focused_frame->LocalFrameRoot() != MainFrameImpl()->GetFrame()) 4151 if (focused_frame->LocalFrameRoot() != MainFrameImpl()->GetFrame())
4152 return nullptr; 4152 return nullptr;
4153 return focused_frame; 4153 return focused_frame;
4154 } 4154 }
4155 4155
4156 LocalFrame* WebViewImpl::FocusedLocalFrameAvailableForIme() const { 4156 LocalFrame* WebViewImpl::FocusedLocalFrameAvailableForIme() const {
4157 return ime_accept_events_ ? FocusedLocalFrameInWidget() : nullptr; 4157 return ime_accept_events_ ? FocusedLocalFrameInWidget() : nullptr;
4158 } 4158 }
4159 4159
4160 } // namespace blink 4160 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698