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

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

Issue 2834013002: PlzNavigate: make MHTML iframe load working. (Closed)
Patch Set: Move comments about data-url from test to function 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 void AbortClientNavigation() override; 221 void AbortClientNavigation() override;
222 222
223 TextCheckerClient& GetTextCheckerClient() const override; 223 TextCheckerClient& GetTextCheckerClient() const override;
224 224
225 private: 225 private:
226 explicit LocalFrameClientImpl(WebLocalFrameImpl*); 226 explicit LocalFrameClientImpl(WebLocalFrameImpl*);
227 227
228 bool IsLocalFrameClientImpl() const override { return true; } 228 bool IsLocalFrameClientImpl() const override { return true; }
229 WebDevToolsAgentImpl* DevToolsAgent(); 229 WebDevToolsAgentImpl* DevToolsAgent();
230 230
231 // An MHTML Archive is a set of resources, including iframes, that is parsed
232 // as a whole. This function tells whether of not an archive exists and should
233 // be used for loading a subframe.
234 bool IsLoadedAsMHTMLArchive() const;
235
231 // The WebFrame that owns this object and manages its lifetime. Therefore, 236 // The WebFrame that owns this object and manages its lifetime. Therefore,
232 // the web frame object is guaranteed to exist. 237 // the web frame object is guaranteed to exist.
233 Member<WebLocalFrameImpl> web_frame_; 238 Member<WebLocalFrameImpl> web_frame_;
234 239
235 String user_agent_; 240 String user_agent_;
236 }; 241 };
237 242
238 DEFINE_TYPE_CASTS(LocalFrameClientImpl, 243 DEFINE_TYPE_CASTS(LocalFrameClientImpl,
239 LocalFrameClient, 244 LocalFrameClient,
240 client, 245 client,
241 client->IsLocalFrameClientImpl(), 246 client->IsLocalFrameClientImpl(),
242 client.IsLocalFrameClientImpl()); 247 client.IsLocalFrameClientImpl());
243 248
244 } // namespace blink 249 } // namespace blink
245 250
246 #endif 251 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698