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

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

Issue 217323011: Apply OwnPtr|PassOwnPtr to handle member variables and arguments in SpeechRecognitionClient|Control… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased 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/modules/speech/SpeechRecognitionController.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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 WebCore::GraphicsLayer* m_rootGraphicsLayer; 729 WebCore::GraphicsLayer* m_rootGraphicsLayer;
730 WebCore::GraphicsLayer* m_rootTransformLayer; 730 WebCore::GraphicsLayer* m_rootTransformLayer;
731 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory; 731 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory;
732 bool m_isAcceleratedCompositingActive; 732 bool m_isAcceleratedCompositingActive;
733 bool m_layerTreeViewCommitsDeferred; 733 bool m_layerTreeViewCommitsDeferred;
734 bool m_compositorCreationFailed; 734 bool m_compositorCreationFailed;
735 // If true, the graphics context is being restored. 735 // If true, the graphics context is being restored.
736 bool m_recreatingGraphicsContext; 736 bool m_recreatingGraphicsContext;
737 static const WebInputEvent* m_currentInputEvent; 737 static const WebInputEvent* m_currentInputEvent;
738 738
739 OwnPtr<SpeechRecognitionClientProxy> m_speechRecognitionClient;
740
741 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; 739 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy;
742 740
743 UserMediaClientImpl m_userMediaClientImpl; 741 UserMediaClientImpl m_userMediaClientImpl;
744 MediaKeysClientImpl m_mediaKeysClientImpl; 742 MediaKeysClientImpl m_mediaKeysClientImpl;
745 OwnPtr<MIDIClientProxy> m_midiClientProxy; 743 OwnPtr<MIDIClientProxy> m_midiClientProxy;
746 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; 744 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation;
747 WebPoint m_positionOnFlingStart; 745 WebPoint m_positionOnFlingStart;
748 WebPoint m_globalPositionOnFlingStart; 746 WebPoint m_globalPositionOnFlingStart;
749 int m_flingModifier; 747 int m_flingModifier;
750 bool m_flingSourceDevice; 748 bool m_flingSourceDevice;
(...skipping 11 matching lines...) Expand all
762 float m_zoomFactorOverride; 760 float m_zoomFactorOverride;
763 }; 761 };
764 762
765 // We have no ways to check if the specified WebView is an instance of 763 // We have no ways to check if the specified WebView is an instance of
766 // WebViewImpl because WebViewImpl is the only implementation of WebView. 764 // WebViewImpl because WebViewImpl is the only implementation of WebView.
767 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 765 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
768 766
769 } // namespace blink 767 } // namespace blink
770 768
771 #endif 769 #endif
OLDNEW
« no previous file with comments | « Source/modules/speech/SpeechRecognitionController.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698