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

Side by Side Diff: Source/bindings/v8/NPV8Object.cpp

Issue 14323004: Make Frame's ScriptController an OwnPtr and remove the #include (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2007, 2008, 2009 Google, Inc. All rights reserved. 3 * Copyright (C) 2007, 2008, 2009 Google, Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 14 matching lines...) Expand all
25 */ 25 */
26 26
27 #include "config.h" 27 #include "config.h"
28 28
29 #include "NPV8Object.h" 29 #include "NPV8Object.h"
30 30
31 #include "DOMWindow.h" 31 #include "DOMWindow.h"
32 #include "Frame.h" 32 #include "Frame.h"
33 #include "NPObjectWrapper.h" 33 #include "NPObjectWrapper.h"
34 #include <wtf/OwnArrayPtr.h> 34 #include <wtf/OwnArrayPtr.h>
35 #include "ScriptController.h"
35 #include "ScriptSourceCode.h" 36 #include "ScriptSourceCode.h"
36 #include "UserGestureIndicator.h" 37 #include "UserGestureIndicator.h"
37 #include "V8Binding.h" 38 #include "V8Binding.h"
38 #include "V8GCController.h" 39 #include "V8GCController.h"
39 #include "V8NPUtils.h" 40 #include "V8NPUtils.h"
40 #include "WrapperTypeInfo.h" 41 #include "WrapperTypeInfo.h"
41 #include "npruntime_impl.h" 42 #include "npruntime_impl.h"
42 #include "npruntime_priv.h" 43 #include "npruntime_priv.h"
43 44
44 #include <stdio.h> 45 #include <stdio.h>
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 589
589 convertV8ObjectToNPVariant(resultObject, npObject, result); 590 convertV8ObjectToNPVariant(resultObject, npObject, result);
590 return true; 591 return true;
591 } 592 }
592 593
593 if (NP_CLASS_STRUCT_VERSION_HAS_CTOR(npObject->_class) && npObject->_class-> construct) 594 if (NP_CLASS_STRUCT_VERSION_HAS_CTOR(npObject->_class) && npObject->_class-> construct)
594 return npObject->_class->construct(npObject, arguments, argumentCount, r esult); 595 return npObject->_class->construct(npObject, arguments, argumentCount, r esult);
595 596
596 return false; 597 return false;
597 } 598 }
OLDNEW
« no previous file with comments | « Source/bindings/scripts/CodeGeneratorV8.pm ('k') | Source/bindings/v8/PageScriptDebugServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698