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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 FrontendMenuProvider(DevToolsHost* devtoolsHost, ScriptValue frontendApiObje
ct, const Vector<ContextMenuItem>& items) | 117 FrontendMenuProvider(DevToolsHost* devtoolsHost, ScriptValue frontendApiObje
ct, const Vector<ContextMenuItem>& items) |
118 : m_devtoolsHost(devtoolsHost) | 118 : m_devtoolsHost(devtoolsHost) |
119 , m_frontendApiObject(frontendApiObject) | 119 , m_frontendApiObject(frontendApiObject) |
120 , m_items(items) | 120 , m_items(items) |
121 { | 121 { |
122 } | 122 } |
123 | 123 |
124 RawPtrWillBeMember<DevToolsHost> m_devtoolsHost; | 124 RawPtrWillBeMember<DevToolsHost> m_devtoolsHost; |
125 ScriptValue m_frontendApiObject; | 125 ScriptValue m_frontendApiObject; |
126 | 126 |
127 // FIXME: Oilpan: remove when http://crbug.com/424962 Blink GC plugin | |
128 // changes have been deployed. ContextMenuItem triggers looping behavior. | |
129 GC_PLUGIN_IGNORE("crbug.com/424962") | |
130 Vector<ContextMenuItem> m_items; | 127 Vector<ContextMenuItem> m_items; |
131 }; | 128 }; |
132 | 129 |
133 DevToolsHost::DevToolsHost(InspectorFrontendClient* client, Page* frontendPage) | 130 DevToolsHost::DevToolsHost(InspectorFrontendClient* client, Page* frontendPage) |
134 : m_client(client) | 131 : m_client(client) |
135 , m_frontendPage(frontendPage) | 132 , m_frontendPage(frontendPage) |
136 , m_menuProvider(nullptr) | 133 , m_menuProvider(nullptr) |
137 { | 134 { |
138 } | 135 } |
139 | 136 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 { | 270 { |
274 return m_client && m_client->isUnderTest(); | 271 return m_client && m_client->isUnderTest(); |
275 } | 272 } |
276 | 273 |
277 bool DevToolsHost::isHostedMode() | 274 bool DevToolsHost::isHostedMode() |
278 { | 275 { |
279 return false; | 276 return false; |
280 } | 277 } |
281 | 278 |
282 } // namespace blink | 279 } // namespace blink |
OLD | NEW |