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

Side by Side Diff: Source/WebCore/page/Console.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/WebCore/page/BarInfo.cpp ('k') | Source/WebCore/page/Crypto.cpp » ('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 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 #if PLATFORM(CHROMIUM) 59 #if PLATFORM(CHROMIUM)
60 #include "TraceEvent.h" 60 #include "TraceEvent.h"
61 #endif 61 #endif
62 62
63 namespace WebCore { 63 namespace WebCore {
64 64
65 Console::Console(Frame* frame) 65 Console::Console(Frame* frame)
66 : DOMWindowProperty(frame) 66 : DOMWindowProperty(frame)
67 { 67 {
68 ScriptWrappable::init(this);
68 } 69 }
69 70
70 Console::~Console() 71 Console::~Console()
71 { 72 {
72 } 73 }
73 74
74 static void internalAddMessage(Page* page, MessageType type, MessageLevel level, ScriptState* state, PassRefPtr<ScriptArguments> prpArguments, bool acceptNoArgu ments = false, bool printTrace = false) 75 static void internalAddMessage(Page* page, MessageType type, MessageLevel level, ScriptState* state, PassRefPtr<ScriptArguments> prpArguments, bool acceptNoArgu ments = false, bool printTrace = false)
75 { 76 {
76 RefPtr<ScriptArguments> arguments = prpArguments; 77 RefPtr<ScriptArguments> arguments = prpArguments;
77 78
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 } 251 }
251 252
252 Page* Console::page() const 253 Page* Console::page() const
253 { 254 {
254 if (!m_frame) 255 if (!m_frame)
255 return 0; 256 return 0;
256 return m_frame->page(); 257 return m_frame->page();
257 } 258 }
258 259
259 } // namespace WebCore 260 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebCore/page/BarInfo.cpp ('k') | Source/WebCore/page/Crypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698