| OLD | NEW |
| 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 Loading... |
| 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 | |
| 240 // The WebFrame that owns this object and manages its lifetime. Therefore, | 235 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 241 // the web frame object is guaranteed to exist. | 236 // the web frame object is guaranteed to exist. |
| 242 Member<WebLocalFrameImpl> web_frame_; | 237 Member<WebLocalFrameImpl> web_frame_; |
| 243 | 238 |
| 244 String user_agent_; | 239 String user_agent_; |
| 245 }; | 240 }; |
| 246 | 241 |
| 247 DEFINE_TYPE_CASTS(LocalFrameClientImpl, | 242 DEFINE_TYPE_CASTS(LocalFrameClientImpl, |
| 248 LocalFrameClient, | 243 LocalFrameClient, |
| 249 client, | 244 client, |
| 250 client->IsLocalFrameClientImpl(), | 245 client->IsLocalFrameClientImpl(), |
| 251 client.IsLocalFrameClientImpl()); | 246 client.IsLocalFrameClientImpl()); |
| 252 | 247 |
| 253 } // namespace blink | 248 } // namespace blink |
| 254 | 249 |
| 255 #endif | 250 #endif |
| OLD | NEW |