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

Side by Side Diff: third_party/WebKit/Source/core/inspector/DevToolsHost.h

Issue 1635883004: Revert of DevTools: do not use ScriptFunctionCall in the front-end embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/DevToolsHost.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/DevToolsHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698