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

Side by Side Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h

Issue 1838733002: Allow LoadNavigationErrorPage to run scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void postMessageToPageInspector(const WTF::String&); 71 void postMessageToPageInspector(const WTF::String&);
72 72
73 private: 73 private:
74 void prepareShadowPageForLoader(); 74 void prepareShadowPageForLoader();
75 void loadShadowPage(); 75 void loadShadowPage();
76 76
77 // WebFrameClient overrides. 77 // WebFrameClient overrides.
78 void willSendRequest( 78 void willSendRequest(
79 WebLocalFrame*, unsigned identifier, WebURLRequest&, 79 WebLocalFrame*, unsigned identifier, WebURLRequest&,
80 const WebURLResponse& redirectResponse) override; 80 const WebURLResponse& redirectResponse) override;
81 void didFinishDocumentLoad(WebLocalFrame*, bool documentIsEmpty) override; 81 void didFinishDocumentLoad(WebLocalFrame*) override;
82 82
83 // WebDevToolsAgentClient overrides. 83 // WebDevToolsAgentClient overrides.
84 void sendProtocolMessage(int sessionId, int callId, const WebString&, const WebString&) override; 84 void sendProtocolMessage(int sessionId, int callId, const WebString&, const WebString&) override;
85 void resumeStartup() override; 85 void resumeStartup() override;
86 86
87 void onScriptLoaderFinished(); 87 void onScriptLoaderFinished();
88 void startWorkerThread(); 88 void startWorkerThread();
89 89
90 // WorkerLoaderProxyProvider 90 // WorkerLoaderProxyProvider
91 void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) override; 91 void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) override;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 DoPauseAfterDownload, 131 DoPauseAfterDownload,
132 IsPausedAfterDownload 132 IsPausedAfterDownload
133 } m_pauseAfterDownloadState; 133 } m_pauseAfterDownloadState;
134 134
135 WaitingForDebuggerState m_waitingForDebuggerState; 135 WaitingForDebuggerState m_waitingForDebuggerState;
136 }; 136 };
137 137
138 } // namespace blink 138 } // namespace blink
139 139
140 #endif // WebEmbeddedWorkerImpl_h 140 #endif // WebEmbeddedWorkerImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698