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

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

Issue 2805733003: Rewrite references to "wtf/" to "platform/wtf/" in web. (Closed)
Patch Set: 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) 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 #include "modules/cachestorage/InspectorCacheStorageAgent.h" 65 #include "modules/cachestorage/InspectorCacheStorageAgent.h"
66 #include "modules/device_orientation/DeviceOrientationInspectorAgent.h" 66 #include "modules/device_orientation/DeviceOrientationInspectorAgent.h"
67 #include "modules/indexeddb/InspectorIndexedDBAgent.h" 67 #include "modules/indexeddb/InspectorIndexedDBAgent.h"
68 #include "modules/storage/InspectorDOMStorageAgent.h" 68 #include "modules/storage/InspectorDOMStorageAgent.h"
69 #include "modules/webdatabase/InspectorDatabaseAgent.h" 69 #include "modules/webdatabase/InspectorDatabaseAgent.h"
70 #include "platform/CrossThreadFunctional.h" 70 #include "platform/CrossThreadFunctional.h"
71 #include "platform/RuntimeEnabledFeatures.h" 71 #include "platform/RuntimeEnabledFeatures.h"
72 #include "platform/graphics/GraphicsContext.h" 72 #include "platform/graphics/GraphicsContext.h"
73 #include "platform/graphics/paint/PaintController.h" 73 #include "platform/graphics/paint/PaintController.h"
74 #include "platform/instrumentation/tracing/TraceEvent.h" 74 #include "platform/instrumentation/tracing/TraceEvent.h"
75 #include "platform/wtf/MathExtras.h"
76 #include "platform/wtf/Noncopyable.h"
77 #include "platform/wtf/PtrUtil.h"
78 #include "platform/wtf/text/WTFString.h"
75 #include "public/platform/Platform.h" 79 #include "public/platform/Platform.h"
76 #include "public/platform/WebLayerTreeView.h" 80 #include "public/platform/WebLayerTreeView.h"
77 #include "public/platform/WebRect.h" 81 #include "public/platform/WebRect.h"
78 #include "public/platform/WebString.h" 82 #include "public/platform/WebString.h"
79 #include "public/web/WebDevToolsAgentClient.h" 83 #include "public/web/WebDevToolsAgentClient.h"
80 #include "public/web/WebSettings.h" 84 #include "public/web/WebSettings.h"
81 #include "web/DevToolsEmulator.h" 85 #include "web/DevToolsEmulator.h"
82 #include "web/InspectorEmulationAgent.h" 86 #include "web/InspectorEmulationAgent.h"
83 #include "web/InspectorOverlay.h" 87 #include "web/InspectorOverlay.h"
84 #include "web/InspectorRenderingAgent.h" 88 #include "web/InspectorRenderingAgent.h"
85 #include "web/WebFrameWidgetImpl.h" 89 #include "web/WebFrameWidgetImpl.h"
86 #include "web/WebInputEventConversion.h" 90 #include "web/WebInputEventConversion.h"
87 #include "web/WebLocalFrameImpl.h" 91 #include "web/WebLocalFrameImpl.h"
88 #include "web/WebSettingsImpl.h" 92 #include "web/WebSettingsImpl.h"
89 #include "web/WebViewImpl.h" 93 #include "web/WebViewImpl.h"
90 #include "wtf/MathExtras.h"
91 #include "wtf/Noncopyable.h"
92 #include "wtf/PtrUtil.h"
93 #include "wtf/text/WTFString.h"
94 94
95 namespace blink { 95 namespace blink {
96 96
97 namespace { 97 namespace {
98 98
99 bool isMainFrame(WebLocalFrameImpl* frame) { 99 bool isMainFrame(WebLocalFrameImpl* frame) {
100 // TODO(dgozman): sometimes view->mainFrameImpl() does return null, even 100 // TODO(dgozman): sometimes view->mainFrameImpl() does return null, even
101 // though |frame| is meant to be main frame. See http://crbug.com/526162. 101 // though |frame| is meant to be main frame. See http://crbug.com/526162.
102 return frame->viewImpl() && !frame->parent(); 102 return frame->viewImpl() && !frame->parent();
103 } 103 }
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 } 650 }
651 651
652 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) { 652 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) {
653 return method == "Debugger.pause" || method == "Debugger.setBreakpoint" || 653 return method == "Debugger.pause" || method == "Debugger.setBreakpoint" ||
654 method == "Debugger.setBreakpointByUrl" || 654 method == "Debugger.setBreakpointByUrl" ||
655 method == "Debugger.removeBreakpoint" || 655 method == "Debugger.removeBreakpoint" ||
656 method == "Debugger.setBreakpointsActive"; 656 method == "Debugger.setBreakpointsActive";
657 } 657 }
658 658
659 } // namespace blink 659 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.h ('k') | third_party/WebKit/Source/web/WebDevToolsFrontendImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698