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

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

Issue 219273002: Use OwnPtr|PassOwnPtr to pass a pointer of SpeechInputClient (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/core/speech/SpeechInputClient.h ('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 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 WebCore::GraphicsLayer* m_rootGraphicsLayer; 730 WebCore::GraphicsLayer* m_rootGraphicsLayer;
731 WebCore::GraphicsLayer* m_rootTransformLayer; 731 WebCore::GraphicsLayer* m_rootTransformLayer;
732 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory; 732 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory;
733 bool m_isAcceleratedCompositingActive; 733 bool m_isAcceleratedCompositingActive;
734 bool m_layerTreeViewCommitsDeferred; 734 bool m_layerTreeViewCommitsDeferred;
735 bool m_compositorCreationFailed; 735 bool m_compositorCreationFailed;
736 // If true, the graphics context is being restored. 736 // If true, the graphics context is being restored.
737 bool m_recreatingGraphicsContext; 737 bool m_recreatingGraphicsContext;
738 static const WebInputEvent* m_currentInputEvent; 738 static const WebInputEvent* m_currentInputEvent;
739 739
740 #if ENABLE(INPUT_SPEECH)
741 OwnPtr<SpeechInputClientImpl> m_speechInputClient;
742 #endif
743 OwnPtr<SpeechRecognitionClientProxy> m_speechRecognitionClient; 740 OwnPtr<SpeechRecognitionClientProxy> m_speechRecognitionClient;
744 741
745 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; 742 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy;
746 743
747 UserMediaClientImpl m_userMediaClientImpl; 744 UserMediaClientImpl m_userMediaClientImpl;
748 MediaKeysClientImpl m_mediaKeysClientImpl; 745 MediaKeysClientImpl m_mediaKeysClientImpl;
749 OwnPtr<MIDIClientProxy> m_midiClientProxy; 746 OwnPtr<MIDIClientProxy> m_midiClientProxy;
750 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; 747 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation;
751 WebPoint m_positionOnFlingStart; 748 WebPoint m_positionOnFlingStart;
752 WebPoint m_globalPositionOnFlingStart; 749 WebPoint m_globalPositionOnFlingStart;
(...skipping 13 matching lines...) Expand all
766 float m_zoomFactorOverride; 763 float m_zoomFactorOverride;
767 }; 764 };
768 765
769 // We have no ways to check if the specified WebView is an instance of 766 // We have no ways to check if the specified WebView is an instance of
770 // WebViewImpl because WebViewImpl is the only implementation of WebView. 767 // WebViewImpl because WebViewImpl is the only implementation of WebView.
771 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 768 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
772 769
773 } // namespace blink 770 } // namespace blink
774 771
775 #endif 772 #endif
OLDNEW
« no previous file with comments | « Source/core/speech/SpeechInputClient.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698