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

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

Issue 2906633002: Move ContextMenuAllowedScope to core/input (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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 29 matching lines...) Expand all
40 #include "core/editing/InputMethodController.h" 40 #include "core/editing/InputMethodController.h"
41 #include "core/editing/PlainTextRange.h" 41 #include "core/editing/PlainTextRange.h"
42 #include "core/events/WebInputEventConversion.h" 42 #include "core/events/WebInputEventConversion.h"
43 #include "core/exported/WebPluginContainerBase.h" 43 #include "core/exported/WebPluginContainerBase.h"
44 #include "core/exported/WebViewBase.h" 44 #include "core/exported/WebViewBase.h"
45 #include "core/frame/FrameView.h" 45 #include "core/frame/FrameView.h"
46 #include "core/frame/RemoteFrame.h" 46 #include "core/frame/RemoteFrame.h"
47 #include "core/frame/Settings.h" 47 #include "core/frame/Settings.h"
48 #include "core/frame/VisualViewport.h" 48 #include "core/frame/VisualViewport.h"
49 #include "core/html/HTMLTextAreaElement.h" 49 #include "core/html/HTMLTextAreaElement.h"
50 #include "core/input/ContextMenuAllowedScope.h"
50 #include "core/input/EventHandler.h" 51 #include "core/input/EventHandler.h"
51 #include "core/layout/LayoutView.h" 52 #include "core/layout/LayoutView.h"
52 #include "core/layout/api/LayoutViewItem.h" 53 #include "core/layout/api/LayoutViewItem.h"
53 #include "core/layout/compositing/PaintLayerCompositor.h" 54 #include "core/layout/compositing/PaintLayerCompositor.h"
54 #include "core/page/ContextMenuController.h" 55 #include "core/page/ContextMenuController.h"
55 #include "core/page/FocusController.h" 56 #include "core/page/FocusController.h"
56 #include "core/page/Page.h" 57 #include "core/page/Page.h"
57 #include "core/page/PointerLockController.h" 58 #include "core/page/PointerLockController.h"
58 #include "platform/KeyboardCodes.h" 59 #include "platform/KeyboardCodes.h"
59 #include "platform/WebFrameScheduler.h" 60 #include "platform/WebFrameScheduler.h"
60 #include "platform/animation/CompositorAnimationHost.h" 61 #include "platform/animation/CompositorAnimationHost.h"
61 #include "platform/graphics/Color.h" 62 #include "platform/graphics/Color.h"
62 #include "platform/graphics/CompositorMutatorClient.h" 63 #include "platform/graphics/CompositorMutatorClient.h"
63 #include "platform/wtf/AutoReset.h" 64 #include "platform/wtf/AutoReset.h"
64 #include "platform/wtf/PtrUtil.h" 65 #include "platform/wtf/PtrUtil.h"
65 #include "public/web/WebAutofillClient.h" 66 #include "public/web/WebAutofillClient.h"
66 #include "public/web/WebPlugin.h" 67 #include "public/web/WebPlugin.h"
67 #include "public/web/WebRange.h" 68 #include "public/web/WebRange.h"
68 #include "public/web/WebWidgetClient.h" 69 #include "public/web/WebWidgetClient.h"
69 #include "web/AnimationWorkletProxyClientImpl.h" 70 #include "web/AnimationWorkletProxyClientImpl.h"
70 #include "web/CompositorMutatorImpl.h" 71 #include "web/CompositorMutatorImpl.h"
71 #include "web/CompositorWorkerProxyClientImpl.h" 72 #include "web/CompositorWorkerProxyClientImpl.h"
72 #include "web/ContextMenuAllowedScope.h"
73 #include "web/WebDevToolsAgentImpl.h" 73 #include "web/WebDevToolsAgentImpl.h"
74 #include "web/WebInputMethodControllerImpl.h" 74 #include "web/WebInputMethodControllerImpl.h"
75 #include "web/WebLocalFrameImpl.h" 75 #include "web/WebLocalFrameImpl.h"
76 #include "web/WebPagePopupImpl.h" 76 #include "web/WebPagePopupImpl.h"
77 #include "web/WebRemoteFrameImpl.h" 77 #include "web/WebRemoteFrameImpl.h"
78 #include "web/WebViewFrameWidget.h" 78 #include "web/WebViewFrameWidget.h"
79 79
80 namespace blink { 80 namespace blink {
81 81
82 // WebFrameWidget ------------------------------------------------------------ 82 // WebFrameWidget ------------------------------------------------------------
(...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 : nullptr; 1197 : nullptr;
1198 } 1198 }
1199 1199
1200 LocalFrame* WebFrameWidgetImpl::FocusedLocalFrameAvailableForIme() const { 1200 LocalFrame* WebFrameWidgetImpl::FocusedLocalFrameAvailableForIme() const {
1201 if (!ime_accept_events_) 1201 if (!ime_accept_events_)
1202 return nullptr; 1202 return nullptr;
1203 return FocusedLocalFrameInWidget(); 1203 return FocusedLocalFrameInWidget();
1204 } 1204 }
1205 1205
1206 } // namespace blink 1206 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ContextMenuClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698