Chromium Code Reviews| Index: third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h |
| diff --git a/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h b/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h |
| index 414a3d48ef319abced2635f037f1c2365cd37156..fd2f9419a23fe65dfc91840e8c20a427d5a9fc1b 100644 |
| --- a/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h |
| +++ b/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h |
| @@ -16,8 +16,8 @@ class HTMLVideoElement; |
| // MediaControlsOrientationLockDelegate is implementing the orientation lock |
| // feature when a <video> is fullscreen. It is meant to be created by |
| -// `MediaControls` when the feature applies. Once created, it will use events to |
| -// change state. |
| +// `MediaControlsImpl` when the feature applies. Once created, it will use |
| +// events to change state. |
| // |
| // The different states of the class are: |
| // - PendingFullscreen: the object is created and is waiting for the associated |
| @@ -42,11 +42,11 @@ class MediaControlsOrientationLockDelegate final : public EventListener { |
| public: |
| explicit MediaControlsOrientationLockDelegate(HTMLVideoElement&); |
| - // Called by MediaControls when the HTMLMediaElement is added to a document |
| + // Called by MediaControlsImpl when the HTMLMediaElement is added to a |
| // document. All event listeners should be added. |
| void Attach(); |
| - // Called by MediaControls when the HTMLMediaElement is no longer in the |
| + // Called by MediaControlsImpl when the HTMLMediaElement is no longer in the |
| // document. All event listeners should be removed in order to prepare the |
| // object to be garbage collected. |
| void Detach(); |
| @@ -92,7 +92,7 @@ class MediaControlsOrientationLockDelegate final : public EventListener { |
| // In other words, whether the orientation was locked. |
| bool should_unlock_orientation_ = false; |
| - // `m_videoElement` owns MediaControls that owns |this|. |
| + // `m_videoElement` owns MediaControlsImpl that owns |this|. |
|
kinuko
2017/04/25 06:30:58
nit: m_videoElement -> video_element_ maybe while
johnme
2017/04/27 15:57:48
Done.
|
| Member<HTMLVideoElement> video_element_; |
| }; |