OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 void CopyFromCompositingSurfaceToVideoFrame( | 94 void CopyFromCompositingSurfaceToVideoFrame( |
95 const gfx::Rect& src_subrect, | 95 const gfx::Rect& src_subrect, |
96 const scoped_refptr<media::VideoFrame>& target, | 96 const scoped_refptr<media::VideoFrame>& target, |
97 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; | 97 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; |
98 bool CanCopyToVideoFrame() const override; | 98 bool CanCopyToVideoFrame() const override; |
99 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 99 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
100 void ClearCompositorFrame() override {} | 100 void ClearCompositorFrame() override {} |
101 bool LockMouse() override; | 101 bool LockMouse() override; |
102 void UnlockMouse() override; | 102 void UnlockMouse() override; |
103 gfx::Rect GetBoundsInRootWindow() override; | 103 gfx::Rect GetBoundsInRootWindow() override; |
| 104 void SetNeedsBeginFrames(bool needs_begin_frames) override; |
104 | 105 |
105 #if defined(OS_MACOSX) | 106 #if defined(OS_MACOSX) |
106 // RenderWidgetHostView implementation. | 107 // RenderWidgetHostView implementation. |
107 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; | 108 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
108 void SetActive(bool active) override; | 109 void SetActive(bool active) override; |
109 void ShowDefinitionForSelection() override; | 110 void ShowDefinitionForSelection() override; |
110 bool SupportsSpeech() const override; | 111 bool SupportsSpeech() const override; |
111 void SpeakSelection() override; | 112 void SpeakSelection() override; |
112 bool IsSpeaking() const override; | 113 bool IsSpeaking() const override; |
113 void StopSpeaking() override; | 114 void StopSpeaking() override; |
(...skipping 14 matching lines...) Expand all Loading... |
128 aura::Window* aura_window_; | 129 aura::Window* aura_window_; |
129 | 130 |
130 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; | 131 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; |
131 | 132 |
132 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); | 133 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); |
133 }; | 134 }; |
134 | 135 |
135 } // namespace content | 136 } // namespace content |
136 | 137 |
137 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 138 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
OLD | NEW |