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

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

Issue 2834013002: PlzNavigate: make MHTML iframe load working. (Closed)
Patch Set: rebase Created 3 years, 7 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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 void AbortClientNavigation() override; 225 void AbortClientNavigation() override;
226 226
227 TextCheckerClient& GetTextCheckerClient() const override; 227 TextCheckerClient& GetTextCheckerClient() const override;
228 228
229 private: 229 private:
230 explicit LocalFrameClientImpl(WebLocalFrameImpl*); 230 explicit LocalFrameClientImpl(WebLocalFrameImpl*);
231 231
232 bool IsLocalFrameClientImpl() const override { return true; } 232 bool IsLocalFrameClientImpl() const override { return true; }
233 WebDevToolsAgentImpl* DevToolsAgent(); 233 WebDevToolsAgentImpl* DevToolsAgent();
234 234
235 // An MHTML Archive is a set of resources, including iframes, that is parsed
236 // as a whole. This function tells whether of not an archive exists and should
237 // be used for loading a subframe.
238 bool IsLoadedAsMHTMLArchive() const;
239
235 // The WebFrame that owns this object and manages its lifetime. Therefore, 240 // The WebFrame that owns this object and manages its lifetime. Therefore,
236 // the web frame object is guaranteed to exist. 241 // the web frame object is guaranteed to exist.
237 Member<WebLocalFrameImpl> web_frame_; 242 Member<WebLocalFrameImpl> web_frame_;
238 243
239 String user_agent_; 244 String user_agent_;
240 }; 245 };
241 246
242 DEFINE_TYPE_CASTS(LocalFrameClientImpl, 247 DEFINE_TYPE_CASTS(LocalFrameClientImpl,
243 LocalFrameClient, 248 LocalFrameClient,
244 client, 249 client,
245 client->IsLocalFrameClientImpl(), 250 client->IsLocalFrameClientImpl(),
246 client.IsLocalFrameClientImpl()); 251 client.IsLocalFrameClientImpl());
247 252
248 } // namespace blink 253 } // namespace blink
249 254
250 #endif 255 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h ('k') | third_party/WebKit/Source/web/LocalFrameClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698