OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 web_dev_tools_frontend_ = frontend; | 426 web_dev_tools_frontend_ = frontend; |
427 } | 427 } |
428 WebDevToolsFrontendImpl* DevToolsFrontend() { | 428 WebDevToolsFrontendImpl* DevToolsFrontend() { |
429 return web_dev_tools_frontend_; | 429 return web_dev_tools_frontend_; |
430 } | 430 } |
431 | 431 |
432 WebNode ContextMenuNode() const { return context_menu_node_.Get(); } | 432 WebNode ContextMenuNode() const { return context_menu_node_.Get(); } |
433 void SetContextMenuNode(Node* node) override { context_menu_node_ = node; } | 433 void SetContextMenuNode(Node* node) override { context_menu_node_ = node; } |
434 void ClearContextMenuNode() override { context_menu_node_.Clear(); } | 434 void ClearContextMenuNode() override { context_menu_node_.Clear(); } |
435 | 435 |
| 436 std::unique_ptr<WebURLLoader> CreateURLLoader() override; |
| 437 |
436 DECLARE_TRACE(); | 438 DECLARE_TRACE(); |
437 | 439 |
438 private: | 440 private: |
439 friend class LocalFrameClientImpl; | 441 friend class LocalFrameClientImpl; |
440 | 442 |
441 WebLocalFrameImpl(WebTreeScopeType, | 443 WebLocalFrameImpl(WebTreeScopeType, |
442 WebFrameClient*, | 444 WebFrameClient*, |
443 blink::InterfaceProvider*, | 445 blink::InterfaceProvider*, |
444 blink::InterfaceRegistry*); | 446 blink::InterfaceRegistry*); |
445 WebLocalFrameImpl(WebRemoteFrame*, | 447 WebLocalFrameImpl(WebRemoteFrame*, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 | 523 |
522 DEFINE_TYPE_CASTS(WebLocalFrameImpl, | 524 DEFINE_TYPE_CASTS(WebLocalFrameImpl, |
523 WebFrame, | 525 WebFrame, |
524 frame, | 526 frame, |
525 frame->IsWebLocalFrame(), | 527 frame->IsWebLocalFrame(), |
526 frame.IsWebLocalFrame()); | 528 frame.IsWebLocalFrame()); |
527 | 529 |
528 } // namespace blink | 530 } // namespace blink |
529 | 531 |
530 #endif | 532 #endif |
OLD | NEW |