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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.cc

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/bind_helpers.h" 5 #include "base/bind_helpers.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "cc/surfaces/surface.h" 9 #include "cc/surfaces/surface.h"
10 #include "cc/surfaces/surface_factory.h" 10 #include "cc/surfaces/surface_factory.h"
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 509
510 #endif // defined(OS_MACOSX) 510 #endif // defined(OS_MACOSX)
511 511
512 #if defined(OS_ANDROID) || defined(USE_AURA) 512 #if defined(OS_ANDROID) || defined(USE_AURA)
513 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( 513 void RenderWidgetHostViewGuest::ShowDisambiguationPopup(
514 const gfx::Rect& rect_pixels, 514 const gfx::Rect& rect_pixels,
515 const SkBitmap& zoomed_bitmap) { 515 const SkBitmap& zoomed_bitmap) {
516 } 516 }
517 #endif // defined(OS_ANDROID) || defined(USE_AURA) 517 #endif // defined(OS_ANDROID) || defined(USE_AURA)
518 518
519 #if defined(OS_ANDROID) 519 #if defined(OS_ANDROID) && !defined(USE_AURA)
520 void RenderWidgetHostViewGuest::LockCompositingSurface() { 520 void RenderWidgetHostViewGuest::LockCompositingSurface() {
521 } 521 }
522 522
523 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { 523 void RenderWidgetHostViewGuest::UnlockCompositingSurface() {
524 } 524 }
525 #endif // defined(OS_ANDROID) 525 #endif // defined(OS_ANDROID)
526 526
527 #if defined(OS_WIN) 527 #if defined(OS_WIN)
528 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible( 528 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible(
529 gfx::NativeViewAccessible accessible_parent) { 529 gfx::NativeViewAccessible accessible_parent) {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 } 657 }
658 658
659 if (blink::WebInputEvent::isGestureEventType(event->type)) { 659 if (blink::WebInputEvent::isGestureEventType(event->type)) {
660 host_->ForwardGestureEvent( 660 host_->ForwardGestureEvent(
661 *static_cast<const blink::WebGestureEvent*>(event)); 661 *static_cast<const blink::WebGestureEvent*>(event));
662 return; 662 return;
663 } 663 }
664 } 664 }
665 665
666 } // namespace content 666 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698