| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 public: | 48 public: |
| 49 WebDevToolsFrontendImpl(WebLocalFrameImpl*, WebDevToolsFrontendClient*); | 49 WebDevToolsFrontendImpl(WebLocalFrameImpl*, WebDevToolsFrontendClient*); |
| 50 ~WebDevToolsFrontendImpl() override; | 50 ~WebDevToolsFrontendImpl() override; |
| 51 | 51 |
| 52 void didClearWindowObject(WebLocalFrameImpl*); | 52 void didClearWindowObject(WebLocalFrameImpl*); |
| 53 | 53 |
| 54 void sendMessageToEmbedder(const WTF::String&) override; | 54 void sendMessageToEmbedder(const WTF::String&) override; |
| 55 | 55 |
| 56 bool isUnderTest() override; | 56 bool isUnderTest() override; |
| 57 | 57 |
| 58 void showContextMenu(LocalFrame*, float x, float y, PassRefPtrWillBeRawPtr<C
ontextMenuProvider>) override; | 58 void showContextMenu(LocalFrame*, float x, float y, RawPtr<ContextMenuProvid
er>) override; |
| 59 | 59 |
| 60 void setInjectedScriptForOrigin(const String& origin, const String& source)
override; | 60 void setInjectedScriptForOrigin(const String& origin, const String& source)
override; |
| 61 | 61 |
| 62 private: | 62 private: |
| 63 RefPtrWillBePersistent<WebLocalFrameImpl> m_webFrame; | 63 Persistent<WebLocalFrameImpl> m_webFrame; |
| 64 WebDevToolsFrontendClient* m_client; | 64 WebDevToolsFrontendClient* m_client; |
| 65 RefPtrWillBePersistent<DevToolsHost> m_devtoolsHost; | 65 Persistent<DevToolsHost> m_devtoolsHost; |
| 66 typedef HashMap<String, String> InjectedScriptForOriginMap; | 66 typedef HashMap<String, String> InjectedScriptForOriginMap; |
| 67 InjectedScriptForOriginMap m_injectedScriptForOrigin; | 67 InjectedScriptForOriginMap m_injectedScriptForOrigin; |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 } // namespace blink | 70 } // namespace blink |
| 71 | 71 |
| 72 #endif | 72 #endif |
| OLD | NEW |