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

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

Issue 2785853002: Selection Action mode triggered like a context menu (Closed)
Patch Set: Fixing rebase bug Created 3 years, 8 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 25 matching lines...) Expand all
36 #include "core/editing/EditingUtilities.h" 36 #include "core/editing/EditingUtilities.h"
37 #include "core/editing/Editor.h" 37 #include "core/editing/Editor.h"
38 #include "core/editing/FrameSelection.h" 38 #include "core/editing/FrameSelection.h"
39 #include "core/editing/InputMethodController.h" 39 #include "core/editing/InputMethodController.h"
40 #include "core/editing/PlainTextRange.h" 40 #include "core/editing/PlainTextRange.h"
41 #include "core/frame/FrameView.h" 41 #include "core/frame/FrameView.h"
42 #include "core/frame/RemoteFrame.h" 42 #include "core/frame/RemoteFrame.h"
43 #include "core/frame/Settings.h" 43 #include "core/frame/Settings.h"
44 #include "core/frame/VisualViewport.h" 44 #include "core/frame/VisualViewport.h"
45 #include "core/html/HTMLTextAreaElement.h" 45 #include "core/html/HTMLTextAreaElement.h"
46 #include "core/input/ContextMenuAllowedScope.h"
46 #include "core/input/EventHandler.h" 47 #include "core/input/EventHandler.h"
47 #include "core/layout/LayoutView.h" 48 #include "core/layout/LayoutView.h"
48 #include "core/layout/api/LayoutViewItem.h" 49 #include "core/layout/api/LayoutViewItem.h"
49 #include "core/layout/compositing/PaintLayerCompositor.h" 50 #include "core/layout/compositing/PaintLayerCompositor.h"
50 #include "core/page/ContextMenuController.h" 51 #include "core/page/ContextMenuController.h"
51 #include "core/page/FocusController.h" 52 #include "core/page/FocusController.h"
52 #include "core/page/Page.h" 53 #include "core/page/Page.h"
53 #include "core/page/PointerLockController.h" 54 #include "core/page/PointerLockController.h"
54 #include "platform/KeyboardCodes.h" 55 #include "platform/KeyboardCodes.h"
55 #include "platform/WebFrameScheduler.h" 56 #include "platform/WebFrameScheduler.h"
56 #include "platform/animation/CompositorAnimationHost.h" 57 #include "platform/animation/CompositorAnimationHost.h"
57 #include "platform/graphics/Color.h" 58 #include "platform/graphics/Color.h"
58 #include "platform/graphics/CompositorMutatorClient.h" 59 #include "platform/graphics/CompositorMutatorClient.h"
59 #include "platform/wtf/AutoReset.h" 60 #include "platform/wtf/AutoReset.h"
60 #include "platform/wtf/PtrUtil.h" 61 #include "platform/wtf/PtrUtil.h"
61 #include "public/web/WebAutofillClient.h" 62 #include "public/web/WebAutofillClient.h"
62 #include "public/web/WebPlugin.h" 63 #include "public/web/WebPlugin.h"
63 #include "public/web/WebRange.h" 64 #include "public/web/WebRange.h"
64 #include "public/web/WebWidgetClient.h" 65 #include "public/web/WebWidgetClient.h"
65 #include "web/AnimationWorkletProxyClientImpl.h" 66 #include "web/AnimationWorkletProxyClientImpl.h"
66 #include "web/CompositionUnderlineVectorBuilder.h" 67 #include "web/CompositionUnderlineVectorBuilder.h"
67 #include "web/CompositorMutatorImpl.h" 68 #include "web/CompositorMutatorImpl.h"
68 #include "web/CompositorWorkerProxyClientImpl.h" 69 #include "web/CompositorWorkerProxyClientImpl.h"
69 #include "web/ContextMenuAllowedScope.h"
70 #include "web/InspectorOverlay.h" 70 #include "web/InspectorOverlay.h"
71 #include "web/PageOverlay.h" 71 #include "web/PageOverlay.h"
72 #include "web/WebDevToolsAgentImpl.h" 72 #include "web/WebDevToolsAgentImpl.h"
73 #include "web/WebInputEventConversion.h" 73 #include "web/WebInputEventConversion.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/WebPluginContainerImpl.h" 77 #include "web/WebPluginContainerImpl.h"
78 #include "web/WebRemoteFrameImpl.h" 78 #include "web/WebRemoteFrameImpl.h"
79 #include "web/WebViewFrameWidget.h" 79 #include "web/WebViewFrameWidget.h"
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 return nullptr; 1205 return nullptr;
1206 } 1206 }
1207 1207
1208 LocalFrame* WebFrameWidgetImpl::FocusedLocalFrameAvailableForIme() const { 1208 LocalFrame* WebFrameWidgetImpl::FocusedLocalFrameAvailableForIme() const {
1209 if (!ime_accept_events_) 1209 if (!ime_accept_events_)
1210 return nullptr; 1210 return nullptr;
1211 return FocusedLocalFrameInWidget(); 1211 return FocusedLocalFrameInWidget();
1212 } 1212 }
1213 1213
1214 } // namespace blink 1214 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698