| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 class Frame; | 57 class Frame; |
| 58 class LinkHighlight; | 58 class LinkHighlight; |
| 59 class RenderLayerCompositor; | 59 class RenderLayerCompositor; |
| 60 class UserGestureToken; | 60 class UserGestureToken; |
| 61 class WebActiveGestureAnimation; | 61 class WebActiveGestureAnimation; |
| 62 class WebLocalFrameImpl; | 62 class WebLocalFrameImpl; |
| 63 class WebImage; | 63 class WebImage; |
| 64 class WebSettingsImpl; | 64 class WebSettingsImpl; |
| 65 | 65 |
| 66 class WebViewImpl FINAL : public WebView | 66 class WebViewImpl final : public WebView |
| 67 , public RefCounted<WebViewImpl> | 67 , public RefCounted<WebViewImpl> |
| 68 , public WebGestureCurveTarget | 68 , public WebGestureCurveTarget |
| 69 , public PageWidgetEventHandler { | 69 , public PageWidgetEventHandler { |
| 70 public: | 70 public: |
| 71 static WebViewImpl* create(WebViewClient*); | 71 static WebViewImpl* create(WebViewClient*); |
| 72 | 72 |
| 73 // WebWidget methods: | 73 // WebWidget methods: |
| 74 virtual void close() override; | 74 virtual void close() override; |
| 75 virtual WebSize size() override; | 75 virtual WebSize size() override; |
| 76 virtual void willStartLiveResize() override; | 76 virtual void willStartLiveResize() override; |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 bool m_userGestureObserved; | 450 bool m_userGestureObserved; |
| 451 }; | 451 }; |
| 452 | 452 |
| 453 // We have no ways to check if the specified WebView is an instance of | 453 // We have no ways to check if the specified WebView is an instance of |
| 454 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 454 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 455 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 455 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 456 | 456 |
| 457 } // namespace blink | 457 } // namespace blink |
| 458 | 458 |
| 459 #endif | 459 #endif |
| OLD | NEW |