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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 BlameContext* GetFrameBlameContext() override; | 211 BlameContext* GetFrameBlameContext() override; |
212 | 212 |
213 LinkResource* CreateServiceWorkerLinkResource(HTMLLinkElement*) override; | 213 LinkResource* CreateServiceWorkerLinkResource(HTMLLinkElement*) override; |
214 | 214 |
215 WebEffectiveConnectionType GetEffectiveConnectionType() override; | 215 WebEffectiveConnectionType GetEffectiveConnectionType() override; |
216 | 216 |
217 KURL OverrideFlashEmbedWithHTML(const KURL&) override; | 217 KURL OverrideFlashEmbedWithHTML(const KURL&) override; |
218 | 218 |
219 void SetHasReceivedUserGesture(bool received_previously) override; | 219 void SetHasReceivedUserGesture(bool received_previously) override; |
220 | 220 |
| 221 void SetDevToolsFrameId(const String& devtools_frame_id) override; |
| 222 |
221 void AbortClientNavigation() override; | 223 void AbortClientNavigation() override; |
222 | 224 |
223 TextCheckerClient& GetTextCheckerClient() const override; | 225 TextCheckerClient& GetTextCheckerClient() const override; |
224 | 226 |
225 private: | 227 private: |
226 explicit LocalFrameClientImpl(WebLocalFrameImpl*); | 228 explicit LocalFrameClientImpl(WebLocalFrameImpl*); |
227 | 229 |
228 bool IsLocalFrameClientImpl() const override { return true; } | 230 bool IsLocalFrameClientImpl() const override { return true; } |
229 WebDevToolsAgentImpl* DevToolsAgent(); | 231 WebDevToolsAgentImpl* DevToolsAgent(); |
230 | 232 |
231 // The WebFrame that owns this object and manages its lifetime. Therefore, | 233 // The WebFrame that owns this object and manages its lifetime. Therefore, |
232 // the web frame object is guaranteed to exist. | 234 // the web frame object is guaranteed to exist. |
233 Member<WebLocalFrameImpl> web_frame_; | 235 Member<WebLocalFrameImpl> web_frame_; |
234 | 236 |
235 String user_agent_; | 237 String user_agent_; |
236 }; | 238 }; |
237 | 239 |
238 DEFINE_TYPE_CASTS(LocalFrameClientImpl, | 240 DEFINE_TYPE_CASTS(LocalFrameClientImpl, |
239 LocalFrameClient, | 241 LocalFrameClient, |
240 client, | 242 client, |
241 client->IsLocalFrameClientImpl(), | 243 client->IsLocalFrameClientImpl(), |
242 client.IsLocalFrameClientImpl()); | 244 client.IsLocalFrameClientImpl()); |
243 | 245 |
244 } // namespace blink | 246 } // namespace blink |
245 | 247 |
246 #endif | 248 #endif |
OLD | NEW |