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

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

Issue 2085973004: Color: Remove ViewMsg_ColorProfile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't change profile yet Created 4 years, 6 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void CopyFromCompositingSurfaceToVideoFrame( 91 void CopyFromCompositingSurfaceToVideoFrame(
92 const gfx::Rect& src_subrect, 92 const gfx::Rect& src_subrect,
93 const scoped_refptr<media::VideoFrame>& target, 93 const scoped_refptr<media::VideoFrame>& target,
94 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; 94 const base::Callback<void(const gfx::Rect&, bool)>& callback) override;
95 bool CanCopyToVideoFrame() const override; 95 bool CanCopyToVideoFrame() const override;
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;
102 gfx::Rect GetBoundsInRootWindow() override; 101 gfx::Rect GetBoundsInRootWindow() override;
103 102
104 #if defined(OS_MACOSX) 103 #if defined(OS_MACOSX)
105 // RenderWidgetHostView implementation. 104 // RenderWidgetHostView implementation.
106 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; 105 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override;
107 void SetActive(bool active) override; 106 void SetActive(bool active) override;
108 void ShowDefinitionForSelection() override; 107 void ShowDefinitionForSelection() override;
109 bool SupportsSpeech() const override; 108 bool SupportsSpeech() const override;
110 void SpeakSelection() override; 109 void SpeakSelection() override;
111 bool IsSpeaking() const override; 110 bool IsSpeaking() const override;
112 void StopSpeaking() override; 111 void StopSpeaking() override;
113 #endif // defined(OS_MACOSX) 112 #endif // defined(OS_MACOSX)
114 113
115 void LockCompositingSurface() override; 114 void LockCompositingSurface() override;
116 void UnlockCompositingSurface() override; 115 void UnlockCompositingSurface() override;
117 116
118 RenderWidgetHostImpl* host_; 117 RenderWidgetHostImpl* host_;
119 118
120 aura::Window* aura_window_; 119 aura::Window* aura_window_;
121 120
122 std::unique_ptr<mus::ScopedWindowPtr> mus_window_; 121 std::unique_ptr<mus::ScopedWindowPtr> mus_window_;
123 122
124 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); 123 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus);
125 }; 124 };
126 125
127 } // namespace content 126 } // namespace content
128 127
129 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ 128 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698