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

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

Issue 224113006: Apply OwnPtr|PassOwnPtr to member variables and arguments in ContextFeatures. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | Source/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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 bool m_imeAcceptEvents; 685 bool m_imeAcceptEvents;
686 686
687 // The available drag operations (copy, move link...) allowed by the source. 687 // The available drag operations (copy, move link...) allowed by the source.
688 WebDragOperation m_operationsAllowed; 688 WebDragOperation m_operationsAllowed;
689 689
690 // The current drag operation as negotiated by the source and destination. 690 // The current drag operation as negotiated by the source and destination.
691 // When not equal to DragOperationNone, the drag data can be dropped onto th e 691 // When not equal to DragOperationNone, the drag data can be dropped onto th e
692 // current drop target in this WebView (the drop target can accept the drop) . 692 // current drop target in this WebView (the drop target can accept the drop) .
693 WebDragOperation m_dragOperation; 693 WebDragOperation m_dragOperation;
694 694
695 // Context-based feature switches.
696 OwnPtr<ContextFeaturesClientImpl> m_featureSwitchClient;
697
698 // The popup associated with a select element. 695 // The popup associated with a select element.
699 RefPtr<PopupContainer> m_selectPopup; 696 RefPtr<PopupContainer> m_selectPopup;
700 697
701 // The popup associated with an input element. 698 // The popup associated with an input element.
702 RefPtr<WebPagePopupImpl> m_pagePopup; 699 RefPtr<WebPagePopupImpl> m_pagePopup;
703 700
704 OwnPtr<WebDevToolsAgentPrivate> m_devToolsAgent; 701 OwnPtr<WebDevToolsAgentPrivate> m_devToolsAgent;
705 OwnPtr<PageOverlayList> m_pageOverlays; 702 OwnPtr<PageOverlayList> m_pageOverlays;
706 703
707 // Whether the webview is rendering transparently. 704 // Whether the webview is rendering transparently.
(...skipping 24 matching lines...) Expand all
732 bool m_layerTreeViewCommitsDeferred; 729 bool m_layerTreeViewCommitsDeferred;
733 bool m_compositorCreationFailed; 730 bool m_compositorCreationFailed;
734 // If true, the graphics context is being restored. 731 // If true, the graphics context is being restored.
735 bool m_recreatingGraphicsContext; 732 bool m_recreatingGraphicsContext;
736 static const WebInputEvent* m_currentInputEvent; 733 static const WebInputEvent* m_currentInputEvent;
737 734
738 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; 735 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy;
739 736
740 UserMediaClientImpl m_userMediaClientImpl; 737 UserMediaClientImpl m_userMediaClientImpl;
741 MediaKeysClientImpl m_mediaKeysClientImpl; 738 MediaKeysClientImpl m_mediaKeysClientImpl;
742 OwnPtr<MIDIClientProxy> m_midiClientProxy;
743 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; 739 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation;
744 WebPoint m_positionOnFlingStart; 740 WebPoint m_positionOnFlingStart;
745 WebPoint m_globalPositionOnFlingStart; 741 WebPoint m_globalPositionOnFlingStart;
746 int m_flingModifier; 742 int m_flingModifier;
747 bool m_flingSourceDevice; 743 bool m_flingSourceDevice;
748 Vector<OwnPtr<LinkHighlight> > m_linkHighlights; 744 Vector<OwnPtr<LinkHighlight> > m_linkHighlights;
749 OwnPtr<ValidationMessageClientImpl> m_validationMessage; 745 OwnPtr<ValidationMessageClientImpl> m_validationMessage;
750 OwnPtr<FullscreenController> m_fullscreenController; 746 OwnPtr<FullscreenController> m_fullscreenController;
751 747
752 bool m_showFPSCounter; 748 bool m_showFPSCounter;
753 bool m_showPaintRects; 749 bool m_showPaintRects;
754 bool m_showDebugBorders; 750 bool m_showDebugBorders;
755 bool m_continuousPaintingEnabled; 751 bool m_continuousPaintingEnabled;
756 bool m_showScrollBottleneckRects; 752 bool m_showScrollBottleneckRects;
757 WebColor m_baseBackgroundColor; 753 WebColor m_baseBackgroundColor;
758 WebColor m_backgroundColorOverride; 754 WebColor m_backgroundColorOverride;
759 float m_zoomFactorOverride; 755 float m_zoomFactorOverride;
760 }; 756 };
761 757
762 // We have no ways to check if the specified WebView is an instance of 758 // We have no ways to check if the specified WebView is an instance of
763 // WebViewImpl because WebViewImpl is the only implementation of WebView. 759 // WebViewImpl because WebViewImpl is the only implementation of WebView.
764 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 760 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
765 761
766 } // namespace blink 762 } // namespace blink
767 763
768 #endif 764 #endif
OLDNEW
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698