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

Side by Side Diff: sky/engine/web/WebViewImpl.h

Issue 749523002: Move inspector_backend_mojo.cc to v8_inspector (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/web/BUILD.gn ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 14 matching lines...) Expand all
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 "core/html/ime/InputMethodContext.h" 34 #include "core/html/ime/InputMethodContext.h"
35 #include "core/inspector/inspector_backend_mojo.h"
36 #include "platform/geometry/IntPoint.h" 35 #include "platform/geometry/IntPoint.h"
37 #include "platform/geometry/IntRect.h" 36 #include "platform/geometry/IntRect.h"
38 #include "platform/graphics/GraphicsLayer.h" 37 #include "platform/graphics/GraphicsLayer.h"
39 #include "public/platform/WebGestureCurveTarget.h" 38 #include "public/platform/WebGestureCurveTarget.h"
40 #include "public/platform/WebLayer.h" 39 #include "public/platform/WebLayer.h"
41 #include "public/platform/WebPoint.h" 40 #include "public/platform/WebPoint.h"
42 #include "public/platform/WebRect.h" 41 #include "public/platform/WebRect.h"
43 #include "public/platform/WebSize.h" 42 #include "public/platform/WebSize.h"
44 #include "public/platform/WebString.h" 43 #include "public/platform/WebString.h"
45 #include "public/web/WebInputEvent.h" 44 #include "public/web/WebInputEvent.h"
(...skipping 10 matching lines...) Expand all
56 namespace blink { 55 namespace blink {
57 56
58 class Frame; 57 class Frame;
59 class LinkHighlight; 58 class LinkHighlight;
60 class RenderLayerCompositor; 59 class RenderLayerCompositor;
61 class UserGestureToken; 60 class UserGestureToken;
62 class WebActiveGestureAnimation; 61 class WebActiveGestureAnimation;
63 class WebLocalFrameImpl; 62 class WebLocalFrameImpl;
64 class WebImage; 63 class WebImage;
65 class WebSettingsImpl; 64 class WebSettingsImpl;
65 class InspectorBackendMojo;
66 66
67 class WebViewImpl final : public WebView 67 class WebViewImpl final : public WebView
68 , public RefCounted<WebViewImpl> 68 , public RefCounted<WebViewImpl>
69 , public WebGestureCurveTarget 69 , public WebGestureCurveTarget
70 , public PageWidgetEventHandler { 70 , public PageWidgetEventHandler {
71 public: 71 public:
72 static WebViewImpl* create(WebViewClient*); 72 static WebViewImpl* create(WebViewClient*);
73 73
74 // WebWidget methods: 74 // WebWidget methods:
75 virtual void close() override; 75 virtual void close() override;
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 bool m_showFPSCounter; 444 bool m_showFPSCounter;
445 bool m_showPaintRects; 445 bool m_showPaintRects;
446 bool m_showDebugBorders; 446 bool m_showDebugBorders;
447 bool m_continuousPaintingEnabled; 447 bool m_continuousPaintingEnabled;
448 bool m_showScrollBottleneckRects; 448 bool m_showScrollBottleneckRects;
449 WebColor m_baseBackgroundColor; 449 WebColor m_baseBackgroundColor;
450 WebColor m_backgroundColorOverride; 450 WebColor m_backgroundColorOverride;
451 451
452 bool m_userGestureObserved; 452 bool m_userGestureObserved;
453 453
454 // FIXME(sky): InspectorBackendMojo should be a peer to WebView
455 // however right now it depends on acccess to the Page.
454 OwnPtr<InspectorBackendMojo> m_inspectorBackend; 456 OwnPtr<InspectorBackendMojo> m_inspectorBackend;
455 }; 457 };
456 458
457 // We have no ways to check if the specified WebView is an instance of 459 // We have no ways to check if the specified WebView is an instance of
458 // WebViewImpl because WebViewImpl is the only implementation of WebView. 460 // WebViewImpl because WebViewImpl is the only implementation of WebView.
459 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 461 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
460 462
461 } // namespace blink 463 } // namespace blink
462 464
463 #endif 465 #endif
OLDNEW
« no previous file with comments | « sky/engine/web/BUILD.gn ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698