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

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

Issue 14107015: Rename OS(DARWIN) to OS(MACOSX). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 3 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
« no previous file with comments | « no previous file | Source/config.h » ('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 26 matching lines...) Expand all
37 #include "core/platform/HistogramSupport.h" 37 #include "core/platform/HistogramSupport.h"
38 #include "wtf/text/WTFString.h" 38 #include "wtf/text/WTFString.h"
39 39
40 #include "V8MouseEvent.h" 40 #include "V8MouseEvent.h"
41 #include "bindings/v8/V8Binding.h" 41 #include "bindings/v8/V8Binding.h"
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 void V8InspectorFrontendHost::platformMethodCustom(const v8::FunctionCallbackInf o<v8::Value>& args) 45 void V8InspectorFrontendHost::platformMethodCustom(const v8::FunctionCallbackInf o<v8::Value>& args)
46 { 46 {
47 #if OS(DARWIN) 47 #if OS(MACOSX)
48 v8SetReturnValue(args, v8::String::NewSymbol("mac")); 48 v8SetReturnValue(args, v8::String::NewSymbol("mac"));
49 #elif OS(LINUX) 49 #elif OS(LINUX)
50 v8SetReturnValue(args, v8::String::NewSymbol("linux")); 50 v8SetReturnValue(args, v8::String::NewSymbol("linux"));
51 #elif OS(FREEBSD) 51 #elif OS(FREEBSD)
52 v8SetReturnValue(args, v8::String::NewSymbol("freebsd")); 52 v8SetReturnValue(args, v8::String::NewSymbol("freebsd"));
53 #elif OS(OPENBSD) 53 #elif OS(OPENBSD)
54 v8SetReturnValue(args, v8::String::NewSymbol("openbsd")); 54 v8SetReturnValue(args, v8::String::NewSymbol("openbsd"));
55 #elif OS(WINDOWS) 55 #elif OS(WINDOWS)
56 v8SetReturnValue(args, v8::String::NewSymbol("windows")); 56 v8SetReturnValue(args, v8::String::NewSymbol("windows"));
57 #else 57 #else
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 histogramEnumeration("DevTools.PanelShown", args, 20); 144 histogramEnumeration("DevTools.PanelShown", args, 20);
145 } 145 }
146 146
147 void V8InspectorFrontendHost::recordSettingChangedMethodCustom(const v8::Functio nCallbackInfo<v8::Value>& args) 147 void V8InspectorFrontendHost::recordSettingChangedMethodCustom(const v8::Functio nCallbackInfo<v8::Value>& args)
148 { 148 {
149 histogramEnumeration("DevTools.SettingChanged", args, 100); 149 histogramEnumeration("DevTools.SettingChanged", args, 100);
150 } 150 }
151 151
152 } // namespace WebCore 152 } // namespace WebCore
153 153
OLDNEW
« no previous file with comments | « no previous file | Source/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698