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

Side by Side Diff: Source/core/inspector/InspectorFrontendHost.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
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 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 InspectorFrontendHost* m_frontendHost; 116 InspectorFrontendHost* m_frontendHost;
117 ScriptValue m_frontendApiObject; 117 ScriptValue m_frontendApiObject;
118 Vector<ContextMenuItem> m_items; 118 Vector<ContextMenuItem> m_items;
119 }; 119 };
120 120
121 InspectorFrontendHost::InspectorFrontendHost(InspectorFrontendClient* client, Pa ge* frontendPage) 121 InspectorFrontendHost::InspectorFrontendHost(InspectorFrontendClient* client, Pa ge* frontendPage)
122 : m_client(client) 122 : m_client(client)
123 , m_frontendPage(frontendPage) 123 , m_frontendPage(frontendPage)
124 , m_menuProvider(0) 124 , m_menuProvider(0)
125 { 125 {
126 ScriptWrappable::init(this);
127 } 126 }
128 127
129 InspectorFrontendHost::~InspectorFrontendHost() 128 InspectorFrontendHost::~InspectorFrontendHost()
130 { 129 {
131 ASSERT(!m_client); 130 ASSERT(!m_client);
132 } 131 }
133 132
134 void InspectorFrontendHost::trace(Visitor* visitor) 133 void InspectorFrontendHost::trace(Visitor* visitor)
135 { 134 {
136 visitor->trace(m_frontendPage); 135 visitor->trace(m_frontendPage);
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 { 252 {
254 return m_client && m_client->isUnderTest(); 253 return m_client && m_client->isUnderTest();
255 } 254 }
256 255
257 bool InspectorFrontendHost::isHostedMode() 256 bool InspectorFrontendHost::isHostedMode()
258 { 257 {
259 return false; 258 return false;
260 } 259 }
261 260
262 } // namespace blink 261 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/inspector/InjectedScriptHost.cpp ('k') | Source/core/inspector/InspectorOverlayHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698