| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 base::SingleThreadTaskRunner* TimerTaskRunner() override; | 313 base::SingleThreadTaskRunner* TimerTaskRunner() override; |
| 314 base::SingleThreadTaskRunner* LoadingTaskRunner() override; | 314 base::SingleThreadTaskRunner* LoadingTaskRunner() override; |
| 315 base::SingleThreadTaskRunner* UnthrottledTaskRunner() override; | 315 base::SingleThreadTaskRunner* UnthrottledTaskRunner() override; |
| 316 WebInputMethodControllerImpl* GetInputMethodController() const override; | 316 WebInputMethodControllerImpl* GetInputMethodController() const override; |
| 317 | 317 |
| 318 void ExtractSmartClipData(WebRect rect_in_viewport, | 318 void ExtractSmartClipData(WebRect rect_in_viewport, |
| 319 WebString& clip_text, | 319 WebString& clip_text, |
| 320 WebString& clip_html) override; | 320 WebString& clip_html) override; |
| 321 | 321 |
| 322 void InitializeCoreFrame(Page&, FrameOwner*, const AtomicString& name); | 322 void InitializeCoreFrame(Page&, FrameOwner*, const AtomicString& name); |
| 323 LocalFrame* GetFrame() const { return frame_.Get(); } | 323 LocalFrame* GetFrame() const override { return frame_.Get(); } |
| 324 | 324 |
| 325 void WillBeDetached(); | 325 void WillBeDetached(); |
| 326 void WillDetachParent(); | 326 void WillDetachParent(); |
| 327 | 327 |
| 328 static WebLocalFrameImpl* Create(WebTreeScopeType, | 328 static WebLocalFrameImpl* Create(WebTreeScopeType, |
| 329 WebFrameClient*, | 329 WebFrameClient*, |
| 330 blink::InterfaceProvider*, | 330 blink::InterfaceProvider*, |
| 331 blink::InterfaceRegistry*, | 331 blink::InterfaceRegistry*, |
| 332 WebFrame* opener); | 332 WebFrame* opener); |
| 333 static WebLocalFrameImpl* CreateProvisional(WebFrameClient*, | 333 static WebLocalFrameImpl* CreateProvisional(WebFrameClient*, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 355 | 355 |
| 356 // If the frame hosts a PluginDocument, this method returns the | 356 // If the frame hosts a PluginDocument, this method returns the |
| 357 // WebPluginContainerImpl that hosts the plugin. If the provided node is a | 357 // WebPluginContainerImpl that hosts the plugin. If the provided node is a |
| 358 // plugin, then it runs its WebPluginContainerImpl. Otherwise, uses the | 358 // plugin, then it runs its WebPluginContainerImpl. Otherwise, uses the |
| 359 // currently focused element (if any). | 359 // currently focused element (if any). |
| 360 static WebPluginContainerImpl* CurrentPluginContainer(LocalFrame*, | 360 static WebPluginContainerImpl* CurrentPluginContainer(LocalFrame*, |
| 361 Node* = nullptr); | 361 Node* = nullptr); |
| 362 | 362 |
| 363 WebViewBase* ViewImpl() const override; | 363 WebViewBase* ViewImpl() const override; |
| 364 | 364 |
| 365 FrameView* GetFrameView() const { | 365 FrameView* GetFrameView() const override { |
| 366 return GetFrame() ? GetFrame()->View() : 0; | 366 return GetFrame() ? GetFrame()->View() : 0; |
| 367 } | 367 } |
| 368 | 368 |
| 369 WebDevToolsAgentImpl* DevToolsAgentImpl() const { | 369 WebDevToolsAgentImpl* DevToolsAgentImpl() const { |
| 370 return dev_tools_agent_.Get(); | 370 return dev_tools_agent_.Get(); |
| 371 } | 371 } |
| 372 | 372 |
| 373 // Getters for the impls corresponding to Get(Provisional)DataSource. They | 373 // Getters for the impls corresponding to Get(Provisional)DataSource. They |
| 374 // may return 0 if there is no corresponding data source. | 374 // may return 0 if there is no corresponding data source. |
| 375 WebDataSourceImpl* DataSourceImpl() const; | 375 WebDataSourceImpl* DataSourceImpl() const; |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 | 521 |
| 522 DEFINE_TYPE_CASTS(WebLocalFrameImpl, | 522 DEFINE_TYPE_CASTS(WebLocalFrameImpl, |
| 523 WebFrame, | 523 WebFrame, |
| 524 frame, | 524 frame, |
| 525 frame->IsWebLocalFrame(), | 525 frame->IsWebLocalFrame(), |
| 526 frame.IsWebLocalFrame()); | 526 frame.IsWebLocalFrame()); |
| 527 | 527 |
| 528 } // namespace blink | 528 } // namespace blink |
| 529 | 529 |
| 530 #endif | 530 #endif |
| OLD | NEW |