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

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

Issue 256843004: Get the WebGeolocationClient from WebFrameClient instead of WebViewClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix layouttest, fix webkit_unit_tests crash, remove obsolete layout test Created 6 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 #include "wtf/Vector.h" 61 #include "wtf/Vector.h"
62 62
63 namespace WebCore { 63 namespace WebCore {
64 class DataObject; 64 class DataObject;
65 class Frame; 65 class Frame;
66 class RenderLayerCompositor; 66 class RenderLayerCompositor;
67 class UserGestureToken; 67 class UserGestureToken;
68 } 68 }
69 69
70 namespace blink { 70 namespace blink {
71 class GeolocationClientProxy;
72 class LinkHighlight; 71 class LinkHighlight;
73 class PopupContainer; 72 class PopupContainer;
74 class WebActiveGestureAnimation; 73 class WebActiveGestureAnimation;
75 class WebDevToolsAgentPrivate; 74 class WebDevToolsAgentPrivate;
76 class WebLocalFrameImpl; 75 class WebLocalFrameImpl;
77 class WebImage; 76 class WebImage;
78 class WebPagePopupImpl; 77 class WebPagePopupImpl;
79 class WebPlugin; 78 class WebPlugin;
80 class WebSettingsImpl; 79 class WebSettingsImpl;
81 class FullscreenController; 80 class FullscreenController;
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 WebLayer* m_rootLayer; 692 WebLayer* m_rootLayer;
694 WebCore::GraphicsLayer* m_rootGraphicsLayer; 693 WebCore::GraphicsLayer* m_rootGraphicsLayer;
695 WebCore::GraphicsLayer* m_rootTransformLayer; 694 WebCore::GraphicsLayer* m_rootTransformLayer;
696 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory; 695 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory;
697 bool m_isAcceleratedCompositingActive; 696 bool m_isAcceleratedCompositingActive;
698 bool m_layerTreeViewCommitsDeferred; 697 bool m_layerTreeViewCommitsDeferred;
699 // If true, the graphics context is being restored. 698 // If true, the graphics context is being restored.
700 bool m_recreatingGraphicsContext; 699 bool m_recreatingGraphicsContext;
701 static const WebInputEvent* m_currentInputEvent; 700 static const WebInputEvent* m_currentInputEvent;
702 701
703 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy;
704
705 MediaKeysClientImpl m_mediaKeysClientImpl; 702 MediaKeysClientImpl m_mediaKeysClientImpl;
706 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; 703 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation;
707 WebPoint m_positionOnFlingStart; 704 WebPoint m_positionOnFlingStart;
708 WebPoint m_globalPositionOnFlingStart; 705 WebPoint m_globalPositionOnFlingStart;
709 int m_flingModifier; 706 int m_flingModifier;
710 bool m_flingSourceDevice; 707 bool m_flingSourceDevice;
711 Vector<OwnPtr<LinkHighlight> > m_linkHighlights; 708 Vector<OwnPtr<LinkHighlight> > m_linkHighlights;
712 OwnPtr<FullscreenController> m_fullscreenController; 709 OwnPtr<FullscreenController> m_fullscreenController;
713 710
714 bool m_showFPSCounter; 711 bool m_showFPSCounter;
715 bool m_showPaintRects; 712 bool m_showPaintRects;
716 bool m_showDebugBorders; 713 bool m_showDebugBorders;
717 bool m_continuousPaintingEnabled; 714 bool m_continuousPaintingEnabled;
718 bool m_showScrollBottleneckRects; 715 bool m_showScrollBottleneckRects;
719 WebColor m_baseBackgroundColor; 716 WebColor m_baseBackgroundColor;
720 WebColor m_backgroundColorOverride; 717 WebColor m_backgroundColorOverride;
721 float m_zoomFactorOverride; 718 float m_zoomFactorOverride;
722 719
723 bool m_userGestureObserved; 720 bool m_userGestureObserved;
724 }; 721 };
725 722
726 // We have no ways to check if the specified WebView is an instance of 723 // We have no ways to check if the specified WebView is an instance of
727 // WebViewImpl because WebViewImpl is the only implementation of WebView. 724 // WebViewImpl because WebViewImpl is the only implementation of WebView.
728 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 725 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
729 726
730 } // namespace blink 727 } // namespace blink
731 728
732 #endif 729 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698