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

Side by Side Diff: sky/engine/core/frame/FrameView.cpp

Issue 870073003: Remove mouse events from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Dirk Mueller <mueller@kde.org> 5 * 2000 Dirk Mueller <mueller@kde.org>
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * Copyright (C) 2009 Google Inc. All rights reserved. 9 * Copyright (C) 2009 Google Inc. All rights reserved.
10 * 10 *
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 m_scrollableAreas->add(scrollableArea); 840 m_scrollableAreas->add(scrollableArea);
841 } 841 }
842 842
843 void FrameView::removeScrollableArea(ScrollableArea* scrollableArea) 843 void FrameView::removeScrollableArea(ScrollableArea* scrollableArea)
844 { 844 {
845 if (!m_scrollableAreas) 845 if (!m_scrollableAreas)
846 return; 846 return;
847 m_scrollableAreas->remove(scrollableArea); 847 m_scrollableAreas->remove(scrollableArea);
848 } 848 }
849 849
850 bool FrameView::wheelEvent(const PlatformWheelEvent& wheelEvent)
851 {
852 // FIXME(sky): Remove
853 return false;
854 }
855
856 bool FrameView::isVerticalDocument() const 850 bool FrameView::isVerticalDocument() const
857 { 851 {
858 // FIXME(sky): Remove 852 // FIXME(sky): Remove
859 return true; 853 return true;
860 } 854 }
861 855
862 bool FrameView::isFlippedDocument() const 856 bool FrameView::isFlippedDocument() const
863 { 857 {
864 // FIXME(sky): Remove 858 // FIXME(sky): Remove
865 return false; 859 return false;
(...skipping 29 matching lines...) Expand all
895 totalObjects = 0; 889 totalObjects = 0;
896 890
897 for (RenderObject* o = root; o; o = o->nextInPreOrder(root)) { 891 for (RenderObject* o = root; o; o = o->nextInPreOrder(root)) {
898 ++totalObjects; 892 ++totalObjects;
899 if (o->needsLayout()) 893 if (o->needsLayout())
900 ++needsLayoutObjects; 894 ++needsLayoutObjects;
901 } 895 }
902 } 896 }
903 897
904 } // namespace blink 898 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698