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

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

Issue 2870773003: Move EditorClientImpl.cpp out of web/ to core/page/EditorClient.cpp (Closed)
Patch Set: Created 3 years, 7 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 17 matching lines...) Expand all
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 <memory>
35 #include "core/exported/WebViewBase.h" 35 #include "core/exported/WebViewBase.h"
36 #include "core/frame/ResizeViewportAnchor.h" 36 #include "core/frame/ResizeViewportAnchor.h"
37 #include "core/page/ContextMenuProvider.h" 37 #include "core/page/ContextMenuProvider.h"
38 #include "core/page/EditorClient.h"
38 #include "core/page/EventWithHitTestResults.h" 39 #include "core/page/EventWithHitTestResults.h"
39 #include "platform/animation/CompositorAnimationTimeline.h" 40 #include "platform/animation/CompositorAnimationTimeline.h"
40 #include "platform/geometry/IntPoint.h" 41 #include "platform/geometry/IntPoint.h"
41 #include "platform/geometry/IntRect.h" 42 #include "platform/geometry/IntRect.h"
42 #include "platform/graphics/GraphicsLayer.h" 43 #include "platform/graphics/GraphicsLayer.h"
43 #include "platform/heap/Handle.h" 44 #include "platform/heap/Handle.h"
44 #include "platform/scheduler/child/web_scheduler.h" 45 #include "platform/scheduler/child/web_scheduler.h"
45 #include "platform/wtf/Compiler.h" 46 #include "platform/wtf/Compiler.h"
46 #include "platform/wtf/HashSet.h" 47 #include "platform/wtf/HashSet.h"
47 #include "platform/wtf/Vector.h" 48 #include "platform/wtf/Vector.h"
48 #include "public/platform/WebDisplayMode.h" 49 #include "public/platform/WebDisplayMode.h"
49 #include "public/platform/WebFloatSize.h" 50 #include "public/platform/WebFloatSize.h"
50 #include "public/platform/WebGestureCurveTarget.h" 51 #include "public/platform/WebGestureCurveTarget.h"
51 #include "public/platform/WebGestureEvent.h" 52 #include "public/platform/WebGestureEvent.h"
52 #include "public/platform/WebInputEvent.h" 53 #include "public/platform/WebInputEvent.h"
53 #include "public/platform/WebInputEventResult.h" 54 #include "public/platform/WebInputEventResult.h"
54 #include "public/platform/WebLayer.h" 55 #include "public/platform/WebLayer.h"
55 #include "public/platform/WebPoint.h" 56 #include "public/platform/WebPoint.h"
56 #include "public/platform/WebRect.h" 57 #include "public/platform/WebRect.h"
57 #include "public/platform/WebSize.h" 58 #include "public/platform/WebSize.h"
58 #include "public/platform/WebString.h" 59 #include "public/platform/WebString.h"
59 #include "public/platform/WebVector.h" 60 #include "public/platform/WebVector.h"
60 #include "public/web/WebNavigationPolicy.h" 61 #include "public/web/WebNavigationPolicy.h"
61 #include "public/web/WebPageImportanceSignals.h" 62 #include "public/web/WebPageImportanceSignals.h"
62 #include "web/ChromeClientImpl.h" 63 #include "web/ChromeClientImpl.h"
63 #include "web/ContextMenuClientImpl.h" 64 #include "web/ContextMenuClientImpl.h"
64 #include "web/EditorClientImpl.h"
65 #include "web/MediaKeysClientImpl.h" 65 #include "web/MediaKeysClientImpl.h"
66 #include "web/PageWidgetDelegate.h" 66 #include "web/PageWidgetDelegate.h"
67 #include "web/SpellCheckerClientImpl.h" 67 #include "web/SpellCheckerClientImpl.h"
68 #include "web/StorageClientImpl.h" 68 #include "web/StorageClientImpl.h"
69 #include "web/WebExport.h" 69 #include "web/WebExport.h"
70 #include "web/WebPagePopupImpl.h" 70 #include "web/WebPagePopupImpl.h"
71 71
72 namespace blink { 72 namespace blink {
73 73
74 class BrowserControls; 74 class BrowserControls;
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 LocalFrame* FocusedLocalFrameInWidget() const; 601 LocalFrame* FocusedLocalFrameInWidget() const;
602 LocalFrame* FocusedLocalFrameAvailableForIme() const; 602 LocalFrame* FocusedLocalFrameAvailableForIme() const;
603 603
604 CompositorMutatorImpl& Mutator(); 604 CompositorMutatorImpl& Mutator();
605 605
606 WebViewClient* client_; // Can be 0 (e.g. unittests, shared workers, etc.) 606 WebViewClient* client_; // Can be 0 (e.g. unittests, shared workers, etc.)
607 WebSpellCheckClient* spell_check_client_; 607 WebSpellCheckClient* spell_check_client_;
608 608
609 Persistent<ChromeClientImpl> chrome_client_impl_; 609 Persistent<ChromeClientImpl> chrome_client_impl_;
610 ContextMenuClientImpl context_menu_client_impl_; 610 ContextMenuClientImpl context_menu_client_impl_;
611 EditorClientImpl editor_client_impl_; 611 EditorClient editor_client_;
612 SpellCheckerClientImpl spell_checker_client_impl_; 612 SpellCheckerClientImpl spell_checker_client_impl_;
613 StorageClientImpl storage_client_impl_; 613 StorageClientImpl storage_client_impl_;
614 614
615 WebSize size_; 615 WebSize size_;
616 // If true, automatically resize the layout view around its content. 616 // If true, automatically resize the layout view around its content.
617 bool should_auto_resize_; 617 bool should_auto_resize_;
618 // The lower bound on the size when auto-resizing. 618 // The lower bound on the size when auto-resizing.
619 IntSize min_auto_size_; 619 IntSize min_auto_size_;
620 // The upper bound on the size when auto-resizing. 620 // The upper bound on the size when auto-resizing.
621 IntSize max_auto_size_; 621 IntSize max_auto_size_;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; 746 Persistent<ResizeViewportAnchor> resize_viewport_anchor_;
747 }; 747 };
748 748
749 // We have no ways to check if the specified WebView is an instance of 749 // We have no ways to check if the specified WebView is an instance of
750 // WebViewImpl because WebViewImpl is the only implementation of WebView. 750 // WebViewImpl because WebViewImpl is the only implementation of WebView.
751 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 751 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
752 752
753 } // namespace blink 753 } // namespace blink
754 754
755 #endif 755 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698