| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007-2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2007-2009 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 Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "V8InspectorFrontendHost.h" | 32 #include "V8InspectorFrontendHost.h" |
| 33 | 33 |
| 34 #include "V8MouseEvent.h" | 34 #include "V8MouseEvent.h" |
| 35 #include "bindings/v8/V8Binding.h" | 35 #include "bindings/v8/V8Binding.h" |
| 36 #include "core/inspector/InspectorController.h" | 36 #include "core/inspector/InspectorController.h" |
| 37 #include "core/inspector/InspectorFrontendClient.h" | 37 #include "core/inspector/InspectorFrontendClient.h" |
| 38 #include "core/inspector/InspectorFrontendHost.h" | 38 #include "core/inspector/InspectorFrontendHost.h" |
| 39 #include "platform/ContextMenu.h" |
| 39 #include "public/platform/Platform.h" | 40 #include "public/platform/Platform.h" |
| 40 #include "wtf/text/WTFString.h" | 41 #include "wtf/text/WTFString.h" |
| 41 | 42 |
| 42 namespace WebCore { | 43 namespace WebCore { |
| 43 | 44 |
| 44 void V8InspectorFrontendHost::platformMethodCustom(const v8::FunctionCallbackInf
o<v8::Value>& info) | 45 void V8InspectorFrontendHost::platformMethodCustom(const v8::FunctionCallbackInf
o<v8::Value>& info) |
| 45 { | 46 { |
| 46 #if OS(MACOSX) | 47 #if OS(MACOSX) |
| 47 v8SetReturnValue(info, v8::String::NewSymbol("mac")); | 48 v8SetReturnValue(info, v8::String::NewSymbol("mac")); |
| 48 #elif OS(WIN) | 49 #elif OS(WIN) |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 histogramEnumeration("DevTools.PanelShown", info, 20); | 142 histogramEnumeration("DevTools.PanelShown", info, 20); |
| 142 } | 143 } |
| 143 | 144 |
| 144 void V8InspectorFrontendHost::recordSettingChangedMethodCustom(const v8::Functio
nCallbackInfo<v8::Value>& info) | 145 void V8InspectorFrontendHost::recordSettingChangedMethodCustom(const v8::Functio
nCallbackInfo<v8::Value>& info) |
| 145 { | 146 { |
| 146 histogramEnumeration("DevTools.SettingChanged", info, 100); | 147 histogramEnumeration("DevTools.SettingChanged", info, 100); |
| 147 } | 148 } |
| 148 | 149 |
| 149 } // namespace WebCore | 150 } // namespace WebCore |
| 150 | 151 |
| OLD | NEW |