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

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

Issue 218393003: Use OwnPtr|PassOwnPtr to pass a pointer of NavigatorContentUtilsClient instance (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
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 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 #if ENABLE(INPUT_SPEECH) 743 #if ENABLE(INPUT_SPEECH)
744 OwnPtr<SpeechInputClientImpl> m_speechInputClient; 744 OwnPtr<SpeechInputClientImpl> m_speechInputClient;
745 #endif 745 #endif
746 OwnPtr<SpeechRecognitionClientProxy> m_speechRecognitionClient; 746 OwnPtr<SpeechRecognitionClientProxy> m_speechRecognitionClient;
747 747
748 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; 748 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy;
749 749
750 UserMediaClientImpl m_userMediaClientImpl; 750 UserMediaClientImpl m_userMediaClientImpl;
751 MediaKeysClientImpl m_mediaKeysClientImpl; 751 MediaKeysClientImpl m_mediaKeysClientImpl;
752 OwnPtr<MIDIClientProxy> m_midiClientProxy; 752 OwnPtr<MIDIClientProxy> m_midiClientProxy;
753 OwnPtr<NavigatorContentUtilsClientImpl> m_navigatorContentUtilsClient;
754 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; 753 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation;
755 WebPoint m_positionOnFlingStart; 754 WebPoint m_positionOnFlingStart;
756 WebPoint m_globalPositionOnFlingStart; 755 WebPoint m_globalPositionOnFlingStart;
757 int m_flingModifier; 756 int m_flingModifier;
758 bool m_flingSourceDevice; 757 bool m_flingSourceDevice;
759 Vector<OwnPtr<LinkHighlight> > m_linkHighlights; 758 Vector<OwnPtr<LinkHighlight> > m_linkHighlights;
760 OwnPtr<ValidationMessageClientImpl> m_validationMessage; 759 OwnPtr<ValidationMessageClientImpl> m_validationMessage;
761 OwnPtr<FullscreenController> m_fullscreenController; 760 OwnPtr<FullscreenController> m_fullscreenController;
762 761
763 bool m_showFPSCounter; 762 bool m_showFPSCounter;
764 bool m_showPaintRects; 763 bool m_showPaintRects;
765 bool m_showDebugBorders; 764 bool m_showDebugBorders;
766 bool m_continuousPaintingEnabled; 765 bool m_continuousPaintingEnabled;
767 bool m_showScrollBottleneckRects; 766 bool m_showScrollBottleneckRects;
768 WebColor m_baseBackgroundColor; 767 WebColor m_baseBackgroundColor;
769 WebColor m_backgroundColorOverride; 768 WebColor m_backgroundColorOverride;
770 float m_zoomFactorOverride; 769 float m_zoomFactorOverride;
771 }; 770 };
772 771
773 // We have no ways to check if the specified WebView is an instance of 772 // We have no ways to check if the specified WebView is an instance of
774 // WebViewImpl because WebViewImpl is the only implementation of WebView. 773 // WebViewImpl because WebViewImpl is the only implementation of WebView.
775 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 774 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
776 775
777 } // namespace blink 776 } // namespace blink
778 777
779 #endif 778 #endif
OLDNEW
« no previous file with comments | « Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698