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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutView.cpp

Issue 2346663004: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 3 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 23 matching lines...) Expand all
34 #include "core/layout/ViewFragmentationContext.h" 34 #include "core/layout/ViewFragmentationContext.h"
35 #include "core/layout/api/LayoutAPIShim.h" 35 #include "core/layout/api/LayoutAPIShim.h"
36 #include "core/layout/api/LayoutPartItem.h" 36 #include "core/layout/api/LayoutPartItem.h"
37 #include "core/layout/api/LayoutViewItem.h" 37 #include "core/layout/api/LayoutViewItem.h"
38 #include "core/layout/compositing/PaintLayerCompositor.h" 38 #include "core/layout/compositing/PaintLayerCompositor.h"
39 #include "core/page/Page.h" 39 #include "core/page/Page.h"
40 #include "core/paint/PaintLayer.h" 40 #include "core/paint/PaintLayer.h"
41 #include "core/paint/ViewPainter.h" 41 #include "core/paint/ViewPainter.h"
42 #include "core/svg/SVGDocumentExtensions.h" 42 #include "core/svg/SVGDocumentExtensions.h"
43 #include "platform/Histogram.h" 43 #include "platform/Histogram.h"
44 #include "platform/TraceEvent.h"
45 #include "platform/TracedValue.h"
46 #include "platform/geometry/FloatQuad.h" 44 #include "platform/geometry/FloatQuad.h"
47 #include "platform/geometry/TransformState.h" 45 #include "platform/geometry/TransformState.h"
48 #include "platform/graphics/paint/PaintController.h" 46 #include "platform/graphics/paint/PaintController.h"
47 #include "platform/tracing/TraceEvent.h"
48 #include "platform/tracing/TracedValue.h"
49 #include "public/platform/Platform.h" 49 #include "public/platform/Platform.h"
50 #include "wtf/PtrUtil.h" 50 #include "wtf/PtrUtil.h"
51 #include <inttypes.h> 51 #include <inttypes.h>
52 52
53 namespace blink { 53 namespace blink {
54 54
55 namespace { 55 namespace {
56 56
57 class HitTestLatencyRecorder { 57 class HitTestLatencyRecorder {
58 public: 58 public:
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 // of this override. All frame scrolling should be handled by 992 // of this override. All frame scrolling should be handled by
993 // ViewportScrollCallback. 993 // ViewportScrollCallback.
994 994
995 if (!frameView()) 995 if (!frameView())
996 return ScrollResult(false, false, delta.width(), delta.height()); 996 return ScrollResult(false, false, delta.width(), delta.height());
997 997
998 return frameView()->getScrollableArea()->userScroll(granularity, delta); 998 return frameView()->getScrollableArea()->userScroll(granularity, delta);
999 } 999 }
1000 1000
1001 } // namespace blink 1001 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698