Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mus.h

Issue 2242613003: Hoist SetNeedsBeginFrame messages up to the RWHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove base class call Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698