| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 void ClearCompositorFrame() override {} | 98 void ClearCompositorFrame() override {} |
| 99 bool LockMouse() override; | 99 bool LockMouse() override; |
| 100 void UnlockMouse() override; | 100 void UnlockMouse() override; |
| 101 void GetScreenInfo(blink::WebScreenInfo* results) override; | 101 void GetScreenInfo(blink::WebScreenInfo* results) override; |
| 102 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | 102 bool GetScreenColorProfile(std::vector<char>* color_profile) override; |
| 103 gfx::Rect GetBoundsInRootWindow() override; | 103 gfx::Rect GetBoundsInRootWindow() override; |
| 104 | 104 |
| 105 #if defined(OS_MACOSX) | 105 #if defined(OS_MACOSX) |
| 106 // RenderWidgetHostView implementation. | 106 // RenderWidgetHostView implementation. |
| 107 void SetActive(bool active) override; | 107 void SetActive(bool active) override; |
| 108 void SetWindowVisibility(bool visible) override; | |
| 109 void WindowFrameChanged() override; | |
| 110 void ShowDefinitionForSelection() override; | 108 void ShowDefinitionForSelection() override; |
| 111 bool SupportsSpeech() const override; | 109 bool SupportsSpeech() const override; |
| 112 void SpeakSelection() override; | 110 void SpeakSelection() override; |
| 113 bool IsSpeaking() const override; | 111 bool IsSpeaking() const override; |
| 114 void StopSpeaking() override; | 112 void StopSpeaking() override; |
| 115 | |
| 116 // RenderWidgetHostViewBase implementation. | |
| 117 bool PostProcessEventForPluginIme( | |
| 118 const NativeWebKeyboardEvent& event) override; | |
| 119 #endif // defined(OS_MACOSX) | 113 #endif // defined(OS_MACOSX) |
| 120 | 114 |
| 121 void LockCompositingSurface() override; | 115 void LockCompositingSurface() override; |
| 122 void UnlockCompositingSurface() override; | 116 void UnlockCompositingSurface() override; |
| 123 | 117 |
| 124 RenderWidgetHostImpl* host_; | 118 RenderWidgetHostImpl* host_; |
| 125 | 119 |
| 126 aura::Window* aura_window_; | 120 aura::Window* aura_window_; |
| 127 | 121 |
| 128 scoped_ptr<mus::ScopedWindowPtr> mus_window_; | 122 scoped_ptr<mus::ScopedWindowPtr> mus_window_; |
| 129 | 123 |
| 130 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); | 124 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); |
| 131 }; | 125 }; |
| 132 | 126 |
| 133 } // namespace content | 127 } // namespace content |
| 134 | 128 |
| 135 #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 |