| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 const SkColorType preferred_color_type) override; | 93 const SkColorType preferred_color_type) override; |
| 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 void GetScreenInfo(blink::WebScreenInfo* results) override; | |
| 104 gfx::Rect GetBoundsInRootWindow() override; | 103 gfx::Rect GetBoundsInRootWindow() override; |
| 105 | 104 |
| 106 #if defined(OS_MACOSX) | 105 #if defined(OS_MACOSX) |
| 107 // RenderWidgetHostView implementation. | 106 // RenderWidgetHostView implementation. |
| 108 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; | 107 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
| 109 void SetActive(bool active) override; | 108 void SetActive(bool active) override; |
| 110 void ShowDefinitionForSelection() override; | 109 void ShowDefinitionForSelection() override; |
| 111 bool SupportsSpeech() const override; | 110 bool SupportsSpeech() const override; |
| 112 void SpeakSelection() override; | 111 void SpeakSelection() override; |
| 113 bool IsSpeaking() const override; | 112 bool IsSpeaking() const override; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 129 aura::Window* aura_window_; | 128 aura::Window* aura_window_; |
| 130 | 129 |
| 131 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; | 130 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; |
| 132 | 131 |
| 133 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); | 132 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); |
| 134 }; | 133 }; |
| 135 | 134 |
| 136 } // namespace content | 135 } // namespace content |
| 137 | 136 |
| 138 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 137 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
| OLD | NEW |