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

Side by Side Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 10831240: Remove TouchEvent interface, and rename TouchEventImpl to TouchEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge-tot Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/web_contents/web_contents_view_aura.h" 5 #include "content/browser/web_contents/web_contents_view_aura.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "content/browser/renderer_host/dip_util.h" 8 #include "content/browser/renderer_host/dip_util.h"
9 #include "content/browser/renderer_host/render_view_host_factory.h" 9 #include "content/browser/renderer_host/render_view_host_factory.h"
10 #include "content/browser/web_contents/interstitial_page_impl.h" 10 #include "content/browser/web_contents/interstitial_page_impl.h"
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 case ui::ET_MOUSE_MOVED: 525 case ui::ET_MOUSE_MOVED:
526 web_contents_->GetDelegate()->ContentsMouseEvent( 526 web_contents_->GetDelegate()->ContentsMouseEvent(
527 web_contents_, gfx::Screen::GetCursorScreenPoint(), true); 527 web_contents_, gfx::Screen::GetCursorScreenPoint(), true);
528 break; 528 break;
529 default: 529 default:
530 break; 530 break;
531 } 531 }
532 return false; 532 return false;
533 } 533 }
534 534
535 ui::TouchStatus WebContentsViewAura::OnTouchEvent(ui::TouchEventImpl* event) { 535 ui::TouchStatus WebContentsViewAura::OnTouchEvent(ui::TouchEvent* event) {
536 return ui::TOUCH_STATUS_UNKNOWN; 536 return ui::TOUCH_STATUS_UNKNOWN;
537 } 537 }
538 538
539 ui::GestureStatus WebContentsViewAura::OnGestureEvent( 539 ui::GestureStatus WebContentsViewAura::OnGestureEvent(
540 ui::GestureEventImpl* event) { 540 ui::GestureEventImpl* event) {
541 return ui::GESTURE_STATUS_UNKNOWN; 541 return ui::GESTURE_STATUS_UNKNOWN;
542 } 542 }
543 543
544 bool WebContentsViewAura::CanFocus() { 544 bool WebContentsViewAura::CanFocus() {
545 // Do not take the focus if |view_| is gone because neither the view window 545 // Do not take the focus if |view_| is gone because neither the view window
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 OnDragEntered(event); 633 OnDragEntered(event);
634 634
635 web_contents_->GetRenderViewHost()->DragTargetDrop( 635 web_contents_->GetRenderViewHost()->DragTargetDrop(
636 event.location(), 636 event.location(),
637 gfx::Screen::GetCursorScreenPoint(), 637 gfx::Screen::GetCursorScreenPoint(),
638 ConvertAuraEventFlagsToWebInputEventModifiers(event.flags())); 638 ConvertAuraEventFlagsToWebInputEventModifiers(event.flags()));
639 if (drag_dest_delegate_) 639 if (drag_dest_delegate_)
640 drag_dest_delegate_->OnDrop(); 640 drag_dest_delegate_->OnDrop();
641 return current_drag_op_; 641 return current_drag_op_;
642 } 642 }
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.h ('k') | content/common/sandbox_seccomp_bpf_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698