Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2796473002: Split TextCheckerClientImpl off SpellCheckerClientImpl (Closed)
Patch Set: Remove explicit Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 13 matching lines...) Expand all
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebViewImpl_h 31 #ifndef WebViewImpl_h
32 #define WebViewImpl_h 32 #define WebViewImpl_h
33 33
34 #include <memory>
34 #include "core/page/ContextMenuProvider.h" 35 #include "core/page/ContextMenuProvider.h"
35 #include "core/page/EventWithHitTestResults.h" 36 #include "core/page/EventWithHitTestResults.h"
36 #include "platform/animation/CompositorAnimationTimeline.h" 37 #include "platform/animation/CompositorAnimationTimeline.h"
37 #include "platform/geometry/IntPoint.h" 38 #include "platform/geometry/IntPoint.h"
38 #include "platform/geometry/IntRect.h" 39 #include "platform/geometry/IntRect.h"
39 #include "platform/graphics/GraphicsLayer.h" 40 #include "platform/graphics/GraphicsLayer.h"
40 #include "platform/heap/Handle.h" 41 #include "platform/heap/Handle.h"
41 #include "public/platform/WebDisplayMode.h" 42 #include "public/platform/WebDisplayMode.h"
42 #include "public/platform/WebFloatSize.h" 43 #include "public/platform/WebFloatSize.h"
43 #include "public/platform/WebGestureCurveTarget.h" 44 #include "public/platform/WebGestureCurveTarget.h"
(...skipping 11 matching lines...) Expand all
55 #include "public/web/WebPageImportanceSignals.h" 56 #include "public/web/WebPageImportanceSignals.h"
56 #include "public/web/WebView.h" 57 #include "public/web/WebView.h"
57 #include "web/ChromeClientImpl.h" 58 #include "web/ChromeClientImpl.h"
58 #include "web/ContextMenuClientImpl.h" 59 #include "web/ContextMenuClientImpl.h"
59 #include "web/EditorClientImpl.h" 60 #include "web/EditorClientImpl.h"
60 #include "web/MediaKeysClientImpl.h" 61 #include "web/MediaKeysClientImpl.h"
61 #include "web/PageWidgetDelegate.h" 62 #include "web/PageWidgetDelegate.h"
62 #include "web/ResizeViewportAnchor.h" 63 #include "web/ResizeViewportAnchor.h"
63 #include "web/SpellCheckerClientImpl.h" 64 #include "web/SpellCheckerClientImpl.h"
64 #include "web/StorageClientImpl.h" 65 #include "web/StorageClientImpl.h"
66 #include "web/TextCheckerClientImpl.h"
65 #include "web/WebExport.h" 67 #include "web/WebExport.h"
66 #include "wtf/Compiler.h" 68 #include "wtf/Compiler.h"
67 #include "wtf/HashSet.h" 69 #include "wtf/HashSet.h"
68 #include "wtf/RefCounted.h" 70 #include "wtf/RefCounted.h"
69 #include "wtf/Vector.h" 71 #include "wtf/Vector.h"
70 #include <memory>
71 72
72 namespace blink { 73 namespace blink {
73 74
74 class BrowserControls; 75 class BrowserControls;
75 class CompositorAnimationHost; 76 class CompositorAnimationHost;
76 class DevToolsEmulator; 77 class DevToolsEmulator;
77 class Frame; 78 class Frame;
78 class FullscreenController; 79 class FullscreenController;
79 class InspectorOverlay; 80 class InspectorOverlay;
80 class LinkHighlightImpl; 81 class LinkHighlightImpl;
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 LocalFrame* focusedLocalFrameAvailableForIme() const; 605 LocalFrame* focusedLocalFrameAvailableForIme() const;
605 606
606 CompositorMutatorImpl& mutator(); 607 CompositorMutatorImpl& mutator();
607 608
608 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) 609 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.)
609 WebSpellCheckClient* m_spellCheckClient; 610 WebSpellCheckClient* m_spellCheckClient;
610 611
611 Persistent<ChromeClientImpl> m_chromeClientImpl; 612 Persistent<ChromeClientImpl> m_chromeClientImpl;
612 ContextMenuClientImpl m_contextMenuClientImpl; 613 ContextMenuClientImpl m_contextMenuClientImpl;
613 EditorClientImpl m_editorClientImpl; 614 EditorClientImpl m_editorClientImpl;
615 TextCheckerClientImpl m_textCheckerClientImpl;
614 SpellCheckerClientImpl m_spellCheckerClientImpl; 616 SpellCheckerClientImpl m_spellCheckerClientImpl;
615 StorageClientImpl m_storageClientImpl; 617 StorageClientImpl m_storageClientImpl;
616 618
617 WebSize m_size; 619 WebSize m_size;
618 // If true, automatically resize the layout view around its content. 620 // If true, automatically resize the layout view around its content.
619 bool m_shouldAutoResize; 621 bool m_shouldAutoResize;
620 // The lower bound on the size when auto-resizing. 622 // The lower bound on the size when auto-resizing.
621 IntSize m_minAutoSize; 623 IntSize m_minAutoSize;
622 // The upper bound on the size when auto-resizing. 624 // The upper bound on the size when auto-resizing.
623 IntSize m_maxAutoSize; 625 IntSize m_maxAutoSize;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 745 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
744 }; 746 };
745 747
746 // We have no ways to check if the specified WebView is an instance of 748 // We have no ways to check if the specified WebView is an instance of
747 // WebViewImpl because WebViewImpl is the only implementation of WebView. 749 // WebViewImpl because WebViewImpl is the only implementation of WebView.
748 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 750 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
749 751
750 } // namespace blink 752 } // namespace blink
751 753
752 #endif 754 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/TextCheckerClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698