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

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

Issue 2876403002: Move WebInputEventConversion from web/ to core/events/. (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) 2010-2011 Google Inc. All rights reserved. 2 * Copyright (C) 2010-2011 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 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #include "web/WebDevToolsAgentImpl.h" 31 #include "web/WebDevToolsAgentImpl.h"
32 32
33 #include <v8-inspector.h> 33 #include <v8-inspector.h>
34 #include <memory> 34 #include <memory>
35 35
36 #include "bindings/core/v8/ScriptController.h" 36 #include "bindings/core/v8/ScriptController.h"
37 #include "bindings/core/v8/V8BindingForCore.h" 37 #include "bindings/core/v8/V8BindingForCore.h"
38 #include "core/CoreProbeSink.h" 38 #include "core/CoreProbeSink.h"
39 #include "core/events/WebInputEventConversion.h"
39 #include "core/exported/WebViewBase.h" 40 #include "core/exported/WebViewBase.h"
40 #include "core/frame/FrameView.h" 41 #include "core/frame/FrameView.h"
41 #include "core/frame/LocalFrame.h" 42 #include "core/frame/LocalFrame.h"
42 #include "core/frame/Settings.h" 43 #include "core/frame/Settings.h"
43 #include "core/inspector/InspectedFrames.h" 44 #include "core/inspector/InspectedFrames.h"
44 #include "core/inspector/InspectorAnimationAgent.h" 45 #include "core/inspector/InspectorAnimationAgent.h"
45 #include "core/inspector/InspectorApplicationCacheAgent.h" 46 #include "core/inspector/InspectorApplicationCacheAgent.h"
46 #include "core/inspector/InspectorCSSAgent.h" 47 #include "core/inspector/InspectorCSSAgent.h"
47 #include "core/inspector/InspectorDOMAgent.h" 48 #include "core/inspector/InspectorDOMAgent.h"
48 #include "core/inspector/InspectorDOMDebuggerAgent.h" 49 #include "core/inspector/InspectorDOMDebuggerAgent.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 #include "public/platform/Platform.h" 81 #include "public/platform/Platform.h"
81 #include "public/platform/WebLayerTreeView.h" 82 #include "public/platform/WebLayerTreeView.h"
82 #include "public/platform/WebRect.h" 83 #include "public/platform/WebRect.h"
83 #include "public/platform/WebString.h" 84 #include "public/platform/WebString.h"
84 #include "public/web/WebDevToolsAgentClient.h" 85 #include "public/web/WebDevToolsAgentClient.h"
85 #include "public/web/WebSettings.h" 86 #include "public/web/WebSettings.h"
86 #include "web/DevToolsEmulator.h" 87 #include "web/DevToolsEmulator.h"
87 #include "web/InspectorEmulationAgent.h" 88 #include "web/InspectorEmulationAgent.h"
88 #include "web/InspectorOverlayAgent.h" 89 #include "web/InspectorOverlayAgent.h"
89 #include "web/WebFrameWidgetImpl.h" 90 #include "web/WebFrameWidgetImpl.h"
90 #include "web/WebInputEventConversion.h"
91 #include "web/WebLocalFrameImpl.h" 91 #include "web/WebLocalFrameImpl.h"
92 #include "web/WebSettingsImpl.h" 92 #include "web/WebSettingsImpl.h"
93 93
94 namespace blink { 94 namespace blink {
95 95
96 namespace { 96 namespace {
97 97
98 bool IsMainFrame(WebLocalFrameImpl* frame) { 98 bool IsMainFrame(WebLocalFrameImpl* frame) {
99 // TODO(dgozman): sometimes view->mainFrameImpl() does return null, even 99 // TODO(dgozman): sometimes view->mainFrameImpl() does return null, even
100 // though |frame| is meant to be main frame. See http://crbug.com/526162. 100 // though |frame| is meant to be main frame. See http://crbug.com/526162.
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 } 649 }
650 650
651 bool WebDevToolsAgent::ShouldInterruptForMethod(const WebString& method) { 651 bool WebDevToolsAgent::ShouldInterruptForMethod(const WebString& method) {
652 return method == "Debugger.pause" || method == "Debugger.setBreakpoint" || 652 return method == "Debugger.pause" || method == "Debugger.setBreakpoint" ||
653 method == "Debugger.setBreakpointByUrl" || 653 method == "Debugger.setBreakpointByUrl" ||
654 method == "Debugger.removeBreakpoint" || 654 method == "Debugger.removeBreakpoint" ||
655 method == "Debugger.setBreakpointsActive"; 655 method == "Debugger.setBreakpointsActive";
656 } 656 }
657 657
658 } // namespace blink 658 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrameWidgetBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698