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

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

Issue 14918010: Make inspector objects ScriptWrappable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 ScriptObject m_frontendApiObject; 117 ScriptObject 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);
126 } 127 }
127 128
128 InspectorFrontendHost::~InspectorFrontendHost() 129 InspectorFrontendHost::~InspectorFrontendHost()
129 { 130 {
130 ASSERT(!m_client); 131 ASSERT(!m_client);
131 } 132 }
132 133
133 void InspectorFrontendHost::disconnectClient() 134 void InspectorFrontendHost::disconnectClient()
134 { 135 {
135 m_client = 0; 136 m_client = 0;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 { 326 {
326 return false; 327 return false;
327 } 328 }
328 329
329 String InspectorFrontendHost::hiddenPanels() 330 String InspectorFrontendHost::hiddenPanels()
330 { 331 {
331 return ""; 332 return "";
332 } 333 }
333 334
334 } // namespace WebCore 335 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorFrontendHost.h ('k') | Source/core/inspector/JavaScriptCallFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698