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

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

Issue 2123183002: Move crossThreadBind() from platform/ to wtf/ Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_WTFCrossThreadCopier
Patch Set: Rebase Created 4 years, 5 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 #include "core/inspector/MainThreadDebugger.h" 57 #include "core/inspector/MainThreadDebugger.h"
58 #include "core/layout/api/LayoutViewItem.h" 58 #include "core/layout/api/LayoutViewItem.h"
59 #include "core/page/FocusController.h" 59 #include "core/page/FocusController.h"
60 #include "core/page/Page.h" 60 #include "core/page/Page.h"
61 #include "modules/accessibility/InspectorAccessibilityAgent.h" 61 #include "modules/accessibility/InspectorAccessibilityAgent.h"
62 #include "modules/cachestorage/InspectorCacheStorageAgent.h" 62 #include "modules/cachestorage/InspectorCacheStorageAgent.h"
63 #include "modules/device_orientation/DeviceOrientationInspectorAgent.h" 63 #include "modules/device_orientation/DeviceOrientationInspectorAgent.h"
64 #include "modules/indexeddb/InspectorIndexedDBAgent.h" 64 #include "modules/indexeddb/InspectorIndexedDBAgent.h"
65 #include "modules/storage/InspectorDOMStorageAgent.h" 65 #include "modules/storage/InspectorDOMStorageAgent.h"
66 #include "modules/webdatabase/InspectorDatabaseAgent.h" 66 #include "modules/webdatabase/InspectorDatabaseAgent.h"
67 #include "platform/CrossThreadFunctional.h"
68 #include "platform/RuntimeEnabledFeatures.h" 67 #include "platform/RuntimeEnabledFeatures.h"
69 #include "platform/TraceEvent.h" 68 #include "platform/TraceEvent.h"
70 #include "platform/graphics/GraphicsContext.h" 69 #include "platform/graphics/GraphicsContext.h"
71 #include "platform/graphics/paint/PaintController.h" 70 #include "platform/graphics/paint/PaintController.h"
72 #include "platform/inspector_protocol/Values.h" 71 #include "platform/inspector_protocol/Values.h"
73 #include "platform/v8_inspector/public/V8Debugger.h" 72 #include "platform/v8_inspector/public/V8Debugger.h"
74 #include "platform/v8_inspector/public/V8InspectorSession.h" 73 #include "platform/v8_inspector/public/V8InspectorSession.h"
75 #include "public/platform/Platform.h" 74 #include "public/platform/Platform.h"
76 #include "public/platform/WebLayerTreeView.h" 75 #include "public/platform/WebLayerTreeView.h"
77 #include "public/platform/WebRect.h" 76 #include "public/platform/WebRect.h"
78 #include "public/platform/WebString.h" 77 #include "public/platform/WebString.h"
79 #include "public/web/WebDevToolsAgentClient.h" 78 #include "public/web/WebDevToolsAgentClient.h"
80 #include "public/web/WebSettings.h" 79 #include "public/web/WebSettings.h"
81 #include "web/DevToolsEmulator.h" 80 #include "web/DevToolsEmulator.h"
82 #include "web/InspectorEmulationAgent.h" 81 #include "web/InspectorEmulationAgent.h"
83 #include "web/InspectorOverlay.h" 82 #include "web/InspectorOverlay.h"
84 #include "web/InspectorRenderingAgent.h" 83 #include "web/InspectorRenderingAgent.h"
85 #include "web/WebFrameWidgetImpl.h" 84 #include "web/WebFrameWidgetImpl.h"
86 #include "web/WebInputEventConversion.h" 85 #include "web/WebInputEventConversion.h"
87 #include "web/WebLocalFrameImpl.h" 86 #include "web/WebLocalFrameImpl.h"
88 #include "web/WebSettingsImpl.h" 87 #include "web/WebSettingsImpl.h"
89 #include "web/WebViewImpl.h" 88 #include "web/WebViewImpl.h"
89 #include "wtf/Functional.h"
90 #include "wtf/MathExtras.h" 90 #include "wtf/MathExtras.h"
91 #include "wtf/Noncopyable.h" 91 #include "wtf/Noncopyable.h"
92 #include "wtf/PtrUtil.h" 92 #include "wtf/PtrUtil.h"
93 #include "wtf/text/WTFString.h" 93 #include "wtf/text/WTFString.h"
94 #include <memory> 94 #include <memory>
95 95
96 namespace blink { 96 namespace blink {
97 97
98 namespace { 98 namespace {
99 99
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) 671 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method)
672 { 672 {
673 return method == "Debugger.pause" 673 return method == "Debugger.pause"
674 || method == "Debugger.setBreakpoint" 674 || method == "Debugger.setBreakpoint"
675 || method == "Debugger.setBreakpointByUrl" 675 || method == "Debugger.setBreakpointByUrl"
676 || method == "Debugger.removeBreakpoint" 676 || method == "Debugger.removeBreakpoint"
677 || method == "Debugger.setBreakpointsActive"; 677 || method == "Debugger.setBreakpointsActive";
678 } 678 }
679 679
680 } // namespace blink 680 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/CompositorMutatorImpl.cpp ('k') | third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698