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

Side by Side Diff: Source/bindings/core/v8/V8Binding.cpp

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/bindings/core/v8/V8Binding.h ('k') | Source/bindings/core/v8/V8BindingMacros.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) 2006, 2007, 2008, 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #include "wtf/StdLibExtras.h" 64 #include "wtf/StdLibExtras.h"
65 #include "wtf/Threading.h" 65 #include "wtf/Threading.h"
66 #include "wtf/text/AtomicString.h" 66 #include "wtf/text/AtomicString.h"
67 #include "wtf/text/CString.h" 67 #include "wtf/text/CString.h"
68 #include "wtf/text/StringBuffer.h" 68 #include "wtf/text/StringBuffer.h"
69 #include "wtf/text/StringHash.h" 69 #include "wtf/text/StringHash.h"
70 #include "wtf/text/WTFString.h" 70 #include "wtf/text/WTFString.h"
71 #include "wtf/unicode/CharacterNames.h" 71 #include "wtf/unicode/CharacterNames.h"
72 #include "wtf/unicode/Unicode.h" 72 #include "wtf/unicode/Unicode.h"
73 73
74 namespace WebCore { 74 namespace blink {
75 75
76 v8::Handle<v8::Value> throwError(V8ErrorType errorType, const String& message, v 8::Isolate* isolate) 76 v8::Handle<v8::Value> throwError(V8ErrorType errorType, const String& message, v 8::Isolate* isolate)
77 { 77 {
78 return V8ThrowException::throwError(errorType, message, isolate); 78 return V8ThrowException::throwError(errorType, message, isolate);
79 } 79 }
80 80
81 v8::Handle<v8::Value> throwError(v8::Handle<v8::Value> exception, v8::Isolate* i solate) 81 v8::Handle<v8::Value> throwError(v8::Handle<v8::Value> exception, v8::Isolate* i solate)
82 { 82 {
83 return V8ThrowException::throwError(exception, isolate); 83 return V8ThrowException::throwError(exception, isolate);
84 } 84 }
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 929
930 PassRefPtr<TraceEvent::ConvertableToTraceFormat> devToolsTraceEventData(Executio nContext* context, v8::Handle<v8::Function> function, v8::Isolate* isolate) 930 PassRefPtr<TraceEvent::ConvertableToTraceFormat> devToolsTraceEventData(Executio nContext* context, v8::Handle<v8::Function> function, v8::Isolate* isolate)
931 { 931 {
932 int scriptId = 0; 932 int scriptId = 0;
933 String resourceName; 933 String resourceName;
934 int lineNumber = 1; 934 int lineNumber = 1;
935 GetDevToolsFunctionInfo(function, isolate, scriptId, resourceName, lineNumbe r); 935 GetDevToolsFunctionInfo(function, isolate, scriptId, resourceName, lineNumbe r);
936 return InspectorFunctionCallEvent::data(context, scriptId, resourceName, lin eNumber); 936 return InspectorFunctionCallEvent::data(context, scriptId, resourceName, lin eNumber);
937 } 937 }
938 938
939 } // namespace WebCore 939 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/V8Binding.h ('k') | Source/bindings/core/v8/V8BindingMacros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698