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

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

Issue 1858063002: Remove Mac NPAPI things (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more build fixes Created 4 years, 8 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 #include "content/browser/renderer_host/render_widget_host_view_mus.h" 5 #include "content/browser/renderer_host/render_widget_host_view_mus.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "components/mus/public/cpp/window.h" 10 #include "components/mus/public/cpp/window.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 gfx::Rect RenderWidgetHostViewMus::GetBoundsInRootWindow() { 265 gfx::Rect RenderWidgetHostViewMus::GetBoundsInRootWindow() {
266 aura::Window* top_level = aura_window_->GetToplevelWindow(); 266 aura::Window* top_level = aura_window_->GetToplevelWindow();
267 gfx::Rect bounds(top_level->GetBoundsInScreen()); 267 gfx::Rect bounds(top_level->GetBoundsInScreen());
268 return bounds; 268 return bounds;
269 } 269 }
270 270
271 #if defined(OS_MACOSX) 271 #if defined(OS_MACOSX)
272 void RenderWidgetHostViewMus::SetActive(bool active) { 272 void RenderWidgetHostViewMus::SetActive(bool active) {
273 } 273 }
274 274
275 void RenderWidgetHostViewMus::SetWindowVisibility(bool visible) {
276 // TODO(fsamuel): Propagate visibility to Mus?
277 }
278
279 void RenderWidgetHostViewMus::WindowFrameChanged() {
280 }
281
282 void RenderWidgetHostViewMus::ShowDefinitionForSelection() { 275 void RenderWidgetHostViewMus::ShowDefinitionForSelection() {
283 // TODO(fsamuel): Implement this on Mac. 276 // TODO(fsamuel): Implement this on Mac.
284 } 277 }
285 278
286 bool RenderWidgetHostViewMus::SupportsSpeech() const { 279 bool RenderWidgetHostViewMus::SupportsSpeech() const {
287 // TODO(fsamuel): Implement this on mac. 280 // TODO(fsamuel): Implement this on mac.
288 return false; 281 return false;
289 } 282 }
290 283
291 void RenderWidgetHostViewMus::SpeakSelection() { 284 void RenderWidgetHostViewMus::SpeakSelection() {
292 // TODO(fsamuel): Implement this on Mac. 285 // TODO(fsamuel): Implement this on Mac.
293 } 286 }
294 287
295 bool RenderWidgetHostViewMus::IsSpeaking() const { 288 bool RenderWidgetHostViewMus::IsSpeaking() const {
296 // TODO(fsamuel): Implement this on Mac. 289 // TODO(fsamuel): Implement this on Mac.
297 return false; 290 return false;
298 } 291 }
299 292
300 void RenderWidgetHostViewMus::StopSpeaking() { 293 void RenderWidgetHostViewMus::StopSpeaking() {
301 // TODO(fsamuel): Implement this on Mac. 294 // TODO(fsamuel): Implement this on Mac.
302 } 295 }
303
304 bool RenderWidgetHostViewMus::PostProcessEventForPluginIme(
305 const NativeWebKeyboardEvent& event) {
306 return false;
307 }
308
309 #endif // defined(OS_MACOSX) 296 #endif // defined(OS_MACOSX)
310 297
311 void RenderWidgetHostViewMus::LockCompositingSurface() { 298 void RenderWidgetHostViewMus::LockCompositingSurface() {
312 NOTIMPLEMENTED(); 299 NOTIMPLEMENTED();
313 } 300 }
314 301
315 void RenderWidgetHostViewMus::UnlockCompositingSurface() { 302 void RenderWidgetHostViewMus::UnlockCompositingSurface() {
316 NOTIMPLEMENTED(); 303 NOTIMPLEMENTED();
317 } 304 }
318 305
319 } // namespace content 306 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mus.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698