| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "public/web/WebPageImportanceSignals.h" | 54 #include "public/web/WebPageImportanceSignals.h" |
| 55 #include "public/web/WebView.h" | 55 #include "public/web/WebView.h" |
| 56 #include "web/ChromeClientImpl.h" | 56 #include "web/ChromeClientImpl.h" |
| 57 #include "web/ContextMenuClientImpl.h" | 57 #include "web/ContextMenuClientImpl.h" |
| 58 #include "web/DragClientImpl.h" | 58 #include "web/DragClientImpl.h" |
| 59 #include "web/EditorClientImpl.h" | 59 #include "web/EditorClientImpl.h" |
| 60 #include "web/MediaKeysClientImpl.h" | 60 #include "web/MediaKeysClientImpl.h" |
| 61 #include "web/PageWidgetDelegate.h" | 61 #include "web/PageWidgetDelegate.h" |
| 62 #include "web/SpellCheckerClientImpl.h" | 62 #include "web/SpellCheckerClientImpl.h" |
| 63 #include "web/StorageClientImpl.h" | 63 #include "web/StorageClientImpl.h" |
| 64 #include "web/WebExport.h" | |
| 65 #include "wtf/Compiler.h" | |
| 66 #include "wtf/HashSet.h" | 64 #include "wtf/HashSet.h" |
| 67 #include "wtf/OwnPtr.h" | 65 #include "wtf/OwnPtr.h" |
| 68 #include "wtf/RefCounted.h" | 66 #include "wtf/RefCounted.h" |
| 69 #include "wtf/Vector.h" | 67 #include "wtf/Vector.h" |
| 70 | 68 |
| 71 namespace blink { | 69 namespace blink { |
| 72 | 70 |
| 73 class DataObject; | 71 class DataObject; |
| 74 class DevToolsEmulator; | 72 class DevToolsEmulator; |
| 75 class Frame; | 73 class Frame; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 88 class WebLocalFrame; | 86 class WebLocalFrame; |
| 89 class WebLocalFrameImpl; | 87 class WebLocalFrameImpl; |
| 90 class WebImage; | 88 class WebImage; |
| 91 class WebPagePopupImpl; | 89 class WebPagePopupImpl; |
| 92 class WebPlugin; | 90 class WebPlugin; |
| 93 class WebRemoteFrame; | 91 class WebRemoteFrame; |
| 94 class WebSelection; | 92 class WebSelection; |
| 95 class WebSettingsImpl; | 93 class WebSettingsImpl; |
| 96 class WebViewScheduler; | 94 class WebViewScheduler; |
| 97 | 95 |
| 98 class WEB_EXPORT WebViewImpl final : WTF_NON_EXPORTED_BASE(public WebView) | 96 class WebViewImpl final : public WebView |
| 99 , public RefCounted<WebViewImpl> | 97 , public RefCounted<WebViewImpl> |
| 100 , WTF_NON_EXPORTED_BASE(public WebGestureCurveTarget) | 98 , public WebGestureCurveTarget |
| 101 , public PageWidgetEventHandler { | 99 , public PageWidgetEventHandler { |
| 102 public: | 100 public: |
| 103 static WebViewImpl* create(WebViewClient*); | 101 static WebViewImpl* create(WebViewClient*); |
| 104 static HashSet<WebViewImpl*>& allInstances(); | 102 static HashSet<WebViewImpl*>& allInstances(); |
| 105 | 103 |
| 106 // WebWidget methods: | 104 // WebWidget methods: |
| 107 void close() override; | 105 void close() override; |
| 108 WebSize size() override; | 106 WebSize size() override; |
| 109 void willStartLiveResize() override; | 107 void willStartLiveResize() override; |
| 110 void resize(const WebSize&) override; | 108 void resize(const WebSize&) override; |
| (...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 }; | 776 }; |
| 779 | 777 |
| 780 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 778 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 781 // We have no ways to check if the specified WebView is an instance of | 779 // We have no ways to check if the specified WebView is an instance of |
| 782 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 780 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 783 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 781 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 784 | 782 |
| 785 } // namespace blink | 783 } // namespace blink |
| 786 | 784 |
| 787 #endif | 785 #endif |
| OLD | NEW |