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

Side by Side Diff: ui/views/view.cc

Issue 6685069: Disambiguate OnMouseCaptureLost from OnMouseReleased, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, fix tests, cleanup, etc. Created 9 years, 9 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
« no previous file with comments | « chrome/browser/ui/views/tabs/side_tab_strip.cc ('k') | views/controls/button/button_dropdown.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "ui/views/view.h" 5 #include "ui/views/view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 9
10 #include "ui/base/dragdrop/drag_drop_types.h" 10 #include "ui/base/dragdrop/drag_drop_types.h"
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 433
434 bool View::OnMousePressed(const MouseEvent& event) { 434 bool View::OnMousePressed(const MouseEvent& event) {
435 return true; 435 return true;
436 } 436 }
437 437
438 bool View::OnMouseDragged(const MouseEvent& event) { 438 bool View::OnMouseDragged(const MouseEvent& event) {
439 return true; 439 return true;
440 } 440 }
441 441
442 void View::OnMouseReleased(const MouseEvent& event) { 442 void View::OnMouseReleased(const MouseEvent& event) {
443
444 } 443 }
445 444
446 void View::OnMouseCaptureLost() { 445 void View::OnMouseCaptureLost() {
447
448 } 446 }
449 447
450 void View::OnMouseMoved(const MouseEvent& event) { 448 void View::OnMouseMoved(const MouseEvent& event) {
451
452 } 449 }
453 450
454 void View::OnMouseEntered(const MouseEvent& event) { 451 void View::OnMouseEntered(const MouseEvent& event) {
455
456 } 452 }
457 453
458 void View::OnMouseExited(const MouseEvent& event) { 454 void View::OnMouseExited(const MouseEvent& event) {
459
460 } 455 }
461 456
462 // Accelerators ---------------------------------------------------------------- 457 // Accelerators ----------------------------------------------------------------
463 458
464 bool View::OnAcceleratorPressed(const Accelerator& accelerator) { 459 bool View::OnAcceleratorPressed(const Accelerator& accelerator) {
465 return false; 460 return false;
466 } 461 }
467 462
468 // Focus ----------------------------------------------------------------------- 463 // Focus -----------------------------------------------------------------------
469 464
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 void View::WriteDragData(const gfx::Point& point, OSExchangeData* data) { 655 void View::WriteDragData(const gfx::Point& point, OSExchangeData* data) {
661 drag_controller_->WriteDragData(this, point, data); 656 drag_controller_->WriteDragData(this, point, data);
662 } 657 }
663 658
664 void View::StartShellDrag(const MouseEvent& event, 659 void View::StartShellDrag(const MouseEvent& event,
665 const gfx::Point& press_point) { 660 const gfx::Point& press_point) {
666 // TODO(beng): system stuff. 661 // TODO(beng): system stuff.
667 } 662 }
668 663
669 } // namespace ui 664 } // namespace ui
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/side_tab_strip.cc ('k') | views/controls/button/button_dropdown.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698