| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 52 #include "web/ChromeClientImpl.h" | 52 #include "web/ChromeClientImpl.h" | 
| 53 #include "web/ContextMenuClientImpl.h" | 53 #include "web/ContextMenuClientImpl.h" | 
| 54 #include "web/DragClientImpl.h" | 54 #include "web/DragClientImpl.h" | 
| 55 #include "web/EditorClientImpl.h" | 55 #include "web/EditorClientImpl.h" | 
| 56 #include "web/MediaKeysClientImpl.h" | 56 #include "web/MediaKeysClientImpl.h" | 
| 57 #include "web/PageOverlayList.h" | 57 #include "web/PageOverlayList.h" | 
| 58 #include "web/PageScaleConstraintsSet.h" | 58 #include "web/PageScaleConstraintsSet.h" | 
| 59 #include "web/PageWidgetDelegate.h" | 59 #include "web/PageWidgetDelegate.h" | 
| 60 #include "web/SpellCheckerClientImpl.h" | 60 #include "web/SpellCheckerClientImpl.h" | 
| 61 #include "web/StorageClientImpl.h" | 61 #include "web/StorageClientImpl.h" | 
|  | 62 #include "wtf/HashSet.h" | 
| 62 #include "wtf/OwnPtr.h" | 63 #include "wtf/OwnPtr.h" | 
| 63 #include "wtf/RefCounted.h" | 64 #include "wtf/RefCounted.h" | 
| 64 #include "wtf/Vector.h" | 65 #include "wtf/Vector.h" | 
| 65 | 66 | 
| 66 namespace blink { | 67 namespace blink { | 
| 67 | 68 | 
| 68 class DataObject; | 69 class DataObject; | 
| 69 class DevToolsEmulator; | 70 class DevToolsEmulator; | 
| 70 class Frame; | 71 class Frame; | 
| 71 class FullscreenController; | 72 class FullscreenController; | 
| (...skipping 14 matching lines...) Expand all  Loading... | 
| 86 class WebSettingsImpl; | 87 class WebSettingsImpl; | 
| 87 | 88 | 
| 88 struct WebSelectionBound; | 89 struct WebSelectionBound; | 
| 89 | 90 | 
| 90 class WebViewImpl final : public WebView | 91 class WebViewImpl final : public WebView | 
| 91     , public RefCounted<WebViewImpl> | 92     , public RefCounted<WebViewImpl> | 
| 92     , public WebGestureCurveTarget | 93     , public WebGestureCurveTarget | 
| 93     , public PageWidgetEventHandler { | 94     , public PageWidgetEventHandler { | 
| 94 public: | 95 public: | 
| 95     static WebViewImpl* create(WebViewClient*); | 96     static WebViewImpl* create(WebViewClient*); | 
|  | 97     static HashSet<WebViewImpl*>& allInstances(); | 
| 96 | 98 | 
| 97     // WebWidget methods: | 99     // WebWidget methods: | 
| 98     virtual void close() override; | 100     virtual void close() override; | 
| 99     virtual WebSize size() override; | 101     virtual WebSize size() override; | 
| 100     virtual void willStartLiveResize() override; | 102     virtual void willStartLiveResize() override; | 
| 101     virtual void resize(const WebSize&) override; | 103     virtual void resize(const WebSize&) override; | 
| 102     virtual void resizePinchViewport(const WebSize&) override; | 104     virtual void resizePinchViewport(const WebSize&) override; | 
| 103     virtual void willEndLiveResize() override; | 105     virtual void willEndLiveResize() override; | 
| 104     virtual void didEnterFullScreen() override; | 106     virtual void didEnterFullScreen() override; | 
| 105     virtual void didExitFullScreen() override; | 107     virtual void didExitFullScreen() override; | 
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 792 }; | 794 }; | 
| 793 | 795 | 
| 794 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
     WebView()); | 796 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
     WebView()); | 
| 795 // We have no ways to check if the specified WebView is an instance of | 797 // We have no ways to check if the specified WebView is an instance of | 
| 796 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 798 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 
| 797 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 799 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 
| 798 | 800 | 
| 799 } // namespace blink | 801 } // namespace blink | 
| 800 | 802 | 
| 801 #endif | 803 #endif | 
| OLD | NEW | 
|---|