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

Side by Side Diff: sky/engine/core/page/Page.h

Issue 661633003: Get rid of slow repaint objects and main thread scrolling reasons. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: merge to ToT Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/core/frame/FrameView.cpp ('k') | sky/engine/core/page/Page.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 void setOpenedByDOM(); 112 void setOpenedByDOM();
113 113
114 PageAnimator& animator() { return m_animator; } 114 PageAnimator& animator() { return m_animator; }
115 Chrome& chrome() const { return *m_chrome; } 115 Chrome& chrome() const { return *m_chrome; }
116 AutoscrollController& autoscrollController() const { return *m_autoscrollCon troller; } 116 AutoscrollController& autoscrollController() const { return *m_autoscrollCon troller; }
117 DragCaretController& dragCaretController() const { return *m_dragCaretContro ller; } 117 DragCaretController& dragCaretController() const { return *m_dragCaretContro ller; }
118 FocusController& focusController() const { return *m_focusController; } 118 FocusController& focusController() const { return *m_focusController; }
119 119
120 ScrollingCoordinator* scrollingCoordinator(); 120 ScrollingCoordinator* scrollingCoordinator();
121 121
122 String mainThreadScrollingReasonsAsText();
123 PassRefPtr<ClientRectList> nonFastScrollableRects(const LocalFrame*); 122 PassRefPtr<ClientRectList> nonFastScrollableRects(const LocalFrame*);
124 123
125 Settings& settings() const { return *m_settings; } 124 Settings& settings() const { return *m_settings; }
126 125
127 UseCounter& useCounter() { return m_useCounter; } 126 UseCounter& useCounter() { return m_useCounter; }
128 127
129 void setTabKeyCyclesThroughElements(bool b) { m_tabKeyCyclesThroughElements = b; } 128 void setTabKeyCyclesThroughElements(bool b) { m_tabKeyCyclesThroughElements = b; }
130 bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughEleme nts; } 129 bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughEleme nts; }
131 130
132 void unmarkAllTextMatches(); 131 void unmarkAllTextMatches();
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 HashSet<RawPtr<MultisamplingChangedObserver> > m_multisamplingChangedObserve rs; 222 HashSet<RawPtr<MultisamplingChangedObserver> > m_multisamplingChangedObserve rs;
224 223
225 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. 224 // A pointer to all the interfaces provided to in-process Frames for this Pa ge.
226 // FIXME: Most of the members of Page should move onto FrameHost. 225 // FIXME: Most of the members of Page should move onto FrameHost.
227 OwnPtr<FrameHost> m_frameHost; 226 OwnPtr<FrameHost> m_frameHost;
228 }; 227 };
229 228
230 } // namespace blink 229 } // namespace blink
231 230
232 #endif // Page_h 231 #endif // Page_h
OLDNEW
« no previous file with comments | « sky/engine/core/frame/FrameView.cpp ('k') | sky/engine/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698