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

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 linking errors Created 6 years, 6 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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 WebCore::GraphicsLayer* m_rootGraphicsLayer; 685 WebCore::GraphicsLayer* m_rootGraphicsLayer;
687 WebCore::GraphicsLayer* m_rootTransformLayer; 686 WebCore::GraphicsLayer* m_rootTransformLayer;
688 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory; 687 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory;
689 bool m_isAcceleratedCompositingActive; 688 bool m_isAcceleratedCompositingActive;
690 bool m_layerTreeViewCommitsDeferred; 689 bool m_layerTreeViewCommitsDeferred;
691 bool m_matchesHeuristicsForGpuRasterization; 690 bool m_matchesHeuristicsForGpuRasterization;
692 // If true, the graphics context is being restored. 691 // If true, the graphics context is being restored.
693 bool m_recreatingGraphicsContext; 692 bool m_recreatingGraphicsContext;
694 static const WebInputEvent* m_currentInputEvent; 693 static const WebInputEvent* m_currentInputEvent;
695 694
696 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy;
697
698 MediaKeysClientImpl m_mediaKeysClientImpl; 695 MediaKeysClientImpl m_mediaKeysClientImpl;
699 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; 696 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation;
700 WebPoint m_positionOnFlingStart; 697 WebPoint m_positionOnFlingStart;
701 WebPoint m_globalPositionOnFlingStart; 698 WebPoint m_globalPositionOnFlingStart;
702 int m_flingModifier; 699 int m_flingModifier;
703 bool m_flingSourceDevice; 700 bool m_flingSourceDevice;
704 Vector<OwnPtr<LinkHighlight> > m_linkHighlights; 701 Vector<OwnPtr<LinkHighlight> > m_linkHighlights;
705 OwnPtr<FullscreenController> m_fullscreenController; 702 OwnPtr<FullscreenController> m_fullscreenController;
706 703
707 bool m_showFPSCounter; 704 bool m_showFPSCounter;
708 bool m_showPaintRects; 705 bool m_showPaintRects;
709 bool m_showDebugBorders; 706 bool m_showDebugBorders;
710 bool m_continuousPaintingEnabled; 707 bool m_continuousPaintingEnabled;
711 bool m_showScrollBottleneckRects; 708 bool m_showScrollBottleneckRects;
712 WebColor m_baseBackgroundColor; 709 WebColor m_baseBackgroundColor;
713 WebColor m_backgroundColorOverride; 710 WebColor m_backgroundColorOverride;
714 float m_zoomFactorOverride; 711 float m_zoomFactorOverride;
715 712
716 bool m_userGestureObserved; 713 bool m_userGestureObserved;
717 }; 714 };
718 715
719 // We have no ways to check if the specified WebView is an instance of 716 // We have no ways to check if the specified WebView is an instance of
720 // WebViewImpl because WebViewImpl is the only implementation of WebView. 717 // WebViewImpl because WebViewImpl is the only implementation of WebView.
721 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 718 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
722 719
723 } // namespace blink 720 } // namespace blink
724 721
725 #endif 722 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698