| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 96 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| 97 void ClearCompositorFrame() override {} | 97 void ClearCompositorFrame() override {} |
| 98 bool LockMouse() override; | 98 bool LockMouse() override; |
| 99 void UnlockMouse() override; | 99 void UnlockMouse() override; |
| 100 void GetScreenInfo(blink::WebScreenInfo* results) override; | 100 void GetScreenInfo(blink::WebScreenInfo* results) override; |
| 101 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | 101 bool GetScreenColorProfile(std::vector<char>* color_profile) override; |
| 102 gfx::Rect GetBoundsInRootWindow() override; | 102 gfx::Rect GetBoundsInRootWindow() override; |
| 103 | 103 |
| 104 #if defined(OS_MACOSX) | 104 #if defined(OS_MACOSX) |
| 105 // RenderWidgetHostView implementation. | 105 // RenderWidgetHostView implementation. |
| 106 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
| 106 void SetActive(bool active) override; | 107 void SetActive(bool active) override; |
| 107 void ShowDefinitionForSelection() override; | 108 void ShowDefinitionForSelection() override; |
| 108 bool SupportsSpeech() const override; | 109 bool SupportsSpeech() const override; |
| 109 void SpeakSelection() override; | 110 void SpeakSelection() override; |
| 110 bool IsSpeaking() const override; | 111 bool IsSpeaking() const override; |
| 111 void StopSpeaking() override; | 112 void StopSpeaking() override; |
| 112 #endif // defined(OS_MACOSX) | 113 #endif // defined(OS_MACOSX) |
| 113 | 114 |
| 114 void LockCompositingSurface() override; | 115 void LockCompositingSurface() override; |
| 115 void UnlockCompositingSurface() override; | 116 void UnlockCompositingSurface() override; |
| 116 | 117 |
| 117 RenderWidgetHostImpl* host_; | 118 RenderWidgetHostImpl* host_; |
| 118 | 119 |
| 119 aura::Window* aura_window_; | 120 aura::Window* aura_window_; |
| 120 | 121 |
| 121 std::unique_ptr<mus::ScopedWindowPtr> mus_window_; | 122 std::unique_ptr<mus::ScopedWindowPtr> mus_window_; |
| 122 | 123 |
| 123 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); | 124 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); |
| 124 }; | 125 }; |
| 125 | 126 |
| 126 } // namespace content | 127 } // namespace content |
| 127 | 128 |
| 128 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 129 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
| OLD | NEW |