OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 String getSelectionForegroundColor(); | 70 String getSelectionForegroundColor(); |
71 | 71 |
72 bool isUnderTest(); | 72 bool isUnderTest(); |
73 bool isHostedMode(); | 73 bool isHostedMode(); |
74 | 74 |
75 LocalFrame* frontendFrame() { return m_frontendFrame; } | 75 LocalFrame* frontendFrame() { return m_frontendFrame; } |
76 | 76 |
77 void clearMenuProvider() { m_menuProvider = nullptr; } | 77 void clearMenuProvider() { m_menuProvider = nullptr; } |
78 | 78 |
79 private: | 79 private: |
80 friend class FrontendMenuProvider; | |
81 | |
82 DevToolsHost(InspectorFrontendClient*, LocalFrame* frontendFrame); | 80 DevToolsHost(InspectorFrontendClient*, LocalFrame* frontendFrame); |
83 void evaluateScript(const String&); | |
84 | 81 |
85 InspectorFrontendClient* m_client; | 82 InspectorFrontendClient* m_client; |
86 RawPtrWillBeMember<LocalFrame> m_frontendFrame; | 83 RawPtrWillBeMember<LocalFrame> m_frontendFrame; |
87 RawPtrWillBeMember<FrontendMenuProvider> m_menuProvider; | 84 RawPtrWillBeMember<FrontendMenuProvider> m_menuProvider; |
88 }; | 85 }; |
89 | 86 |
90 } // namespace blink | 87 } // namespace blink |
91 | 88 |
92 #endif // DevToolsHost_h | 89 #endif // DevToolsHost_h |
OLD | NEW |