| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 class WebDevToolsAgentImpl; | 65 class WebDevToolsAgentImpl; |
| 66 class WebDevToolsFrontendImpl; | 66 class WebDevToolsFrontendImpl; |
| 67 class WebFrameClient; | 67 class WebFrameClient; |
| 68 class WebInputMethodControllerImpl; | 68 class WebInputMethodControllerImpl; |
| 69 class WebNode; | 69 class WebNode; |
| 70 class WebPerformance; | 70 class WebPerformance; |
| 71 class WebPlugin; | 71 class WebPlugin; |
| 72 class WebPluginContainerImpl; | 72 class WebPluginContainerImpl; |
| 73 class WebScriptExecutionCallback; | 73 class WebScriptExecutionCallback; |
| 74 class WebView; | 74 class WebView; |
| 75 class WebViewImpl; | 75 class WebViewBase; |
| 76 enum class WebFrameLoadType; | 76 enum class WebFrameLoadType; |
| 77 struct FrameLoadRequest; | 77 struct FrameLoadRequest; |
| 78 struct WebContentSecurityPolicyViolation; | 78 struct WebContentSecurityPolicyViolation; |
| 79 struct WebPrintParams; | 79 struct WebPrintParams; |
| 80 | 80 |
| 81 template <typename T> | 81 template <typename T> |
| 82 class WebVector; | 82 class WebVector; |
| 83 | 83 |
| 84 // Implementation of WebFrame, note that this is a reference counted object. | 84 // Implementation of WebFrame, note that this is a reference counted object. |
| 85 class WEB_EXPORT WebLocalFrameImpl final | 85 class WEB_EXPORT WebLocalFrameImpl final |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 // WebPluginContainerImpl that hosts the plugin. | 352 // WebPluginContainerImpl that hosts the plugin. |
| 353 static WebPluginContainerImpl* PluginContainerFromFrame(LocalFrame*); | 353 static WebPluginContainerImpl* PluginContainerFromFrame(LocalFrame*); |
| 354 | 354 |
| 355 // If the frame hosts a PluginDocument, this method returns the | 355 // If the frame hosts a PluginDocument, this method returns the |
| 356 // WebPluginContainerImpl that hosts the plugin. If the provided node is a | 356 // WebPluginContainerImpl that hosts the plugin. If the provided node is a |
| 357 // plugin, then it runs its WebPluginContainerImpl. Otherwise, uses the | 357 // plugin, then it runs its WebPluginContainerImpl. Otherwise, uses the |
| 358 // currently focused element (if any). | 358 // currently focused element (if any). |
| 359 static WebPluginContainerImpl* CurrentPluginContainer(LocalFrame*, | 359 static WebPluginContainerImpl* CurrentPluginContainer(LocalFrame*, |
| 360 Node* = nullptr); | 360 Node* = nullptr); |
| 361 | 361 |
| 362 WebViewImpl* ViewImpl() const; | 362 WebViewBase* ViewImpl() const; |
| 363 | 363 |
| 364 FrameView* GetFrameView() const { | 364 FrameView* GetFrameView() const { |
| 365 return GetFrame() ? GetFrame()->View() : 0; | 365 return GetFrame() ? GetFrame()->View() : 0; |
| 366 } | 366 } |
| 367 | 367 |
| 368 WebDevToolsAgentImpl* DevToolsAgentImpl() const { | 368 WebDevToolsAgentImpl* DevToolsAgentImpl() const { |
| 369 return dev_tools_agent_.Get(); | 369 return dev_tools_agent_.Get(); |
| 370 } | 370 } |
| 371 | 371 |
| 372 // Getters for the impls corresponding to Get(Provisional)DataSource. They | 372 // Getters for the impls corresponding to Get(Provisional)DataSource. They |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 | 518 |
| 519 DEFINE_TYPE_CASTS(WebLocalFrameImpl, | 519 DEFINE_TYPE_CASTS(WebLocalFrameImpl, |
| 520 WebFrame, | 520 WebFrame, |
| 521 frame, | 521 frame, |
| 522 frame->IsWebLocalFrame(), | 522 frame->IsWebLocalFrame(), |
| 523 frame.IsWebLocalFrame()); | 523 frame.IsWebLocalFrame()); |
| 524 | 524 |
| 525 } // namespace blink | 525 } // namespace blink |
| 526 | 526 |
| 527 #endif | 527 #endif |
| OLD | NEW |