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

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

Issue 2164483006: [MacViews] Implemented text context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for tapted 2 Created 4 years 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 "content/browser/renderer_host/render_process_host_impl.h" 10 #include "content/browser/renderer_host/render_process_host_impl.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 return nullptr; 265 return nullptr;
266 } 266 }
267 267
268 void RenderWidgetHostViewMus::SetActive(bool active) { 268 void RenderWidgetHostViewMus::SetActive(bool active) {
269 } 269 }
270 270
271 void RenderWidgetHostViewMus::ShowDefinitionForSelection() { 271 void RenderWidgetHostViewMus::ShowDefinitionForSelection() {
272 // TODO(fsamuel): Implement this on Mac. 272 // TODO(fsamuel): Implement this on Mac.
273 } 273 }
274 274
275 bool RenderWidgetHostViewMus::SupportsSpeech() const {
276 // TODO(fsamuel): Implement this on mac.
277 return false;
278 }
279
280 void RenderWidgetHostViewMus::SpeakSelection() { 275 void RenderWidgetHostViewMus::SpeakSelection() {
281 // TODO(fsamuel): Implement this on Mac. 276 // TODO(fsamuel): Implement this on Mac.
282 } 277 }
283 278
284 bool RenderWidgetHostViewMus::IsSpeaking() const {
285 // TODO(fsamuel): Implement this on Mac.
286 return false;
287 }
288
289 void RenderWidgetHostViewMus::StopSpeaking() {
290 // TODO(fsamuel): Implement this on Mac.
291 }
292 #endif // defined(OS_MACOSX) 279 #endif // defined(OS_MACOSX)
293 280
294 void RenderWidgetHostViewMus::LockCompositingSurface() { 281 void RenderWidgetHostViewMus::LockCompositingSurface() {
295 NOTIMPLEMENTED(); 282 NOTIMPLEMENTED();
296 } 283 }
297 284
298 void RenderWidgetHostViewMus::UnlockCompositingSurface() { 285 void RenderWidgetHostViewMus::UnlockCompositingSurface() {
299 NOTIMPLEMENTED(); 286 NOTIMPLEMENTED();
300 } 287 }
301 288
302 void RenderWidgetHostViewMus::OnWindowInputEvent( 289 void RenderWidgetHostViewMus::OnWindowInputEvent(
303 ui::Window* window, 290 ui::Window* window,
304 const ui::Event& event, 291 const ui::Event& event,
305 std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>>* 292 std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>>*
306 ack_callback) { 293 ack_callback) {
307 // TODO(sad): Dispatch |event| to the RenderWidgetHost. 294 // TODO(sad): Dispatch |event| to the RenderWidgetHost.
308 } 295 }
309 296
310 } // namespace content 297 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698