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

Side by Side Diff: Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp

Issue 78513004: Move ContextMenu* files from core/ to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ContextMenuItem.cpp Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698