| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |