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

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

Issue 771323002: Remove a couple more core/ header includes from v8_inspector (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
8 8
9 This library is free software; you can redistribute it and/or 9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public 10 modify it under the terms of the GNU Library General Public
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 IntRect contentsToWindow(const IntRect& contentsRect) const { return content sRect; } 199 IntRect contentsToWindow(const IntRect& contentsRect) const { return content sRect; }
200 200
201 bool scheduleAnimation(); 201 bool scheduleAnimation();
202 IntRect visibleContentRect(IncludeScrollbarsInRect = ExcludeScrollbars) cons t { return IntRect(IntPoint(), expandedIntSize(frameRect().size())); } 202 IntRect visibleContentRect(IncludeScrollbarsInRect = ExcludeScrollbars) cons t { return IntRect(IntPoint(), expandedIntSize(frameRect().size())); }
203 IntSize unscaledVisibleContentSize(IncludeScrollbarsInRect = ExcludeScrollba rs) const { return frameRect().size(); } 203 IntSize unscaledVisibleContentSize(IncludeScrollbarsInRect = ExcludeScrollba rs) const { return frameRect().size(); }
204 // FIXME(sky): Not clear what values these should return. This is just what they happen to be 204 // FIXME(sky): Not clear what values these should return. This is just what they happen to be
205 // returning today. 205 // returning today.
206 bool paintsEntireContents() const { return false; } 206 bool paintsEntireContents() const { return false; }
207 bool clipsPaintInvalidations() const { return true; } 207 bool clipsPaintInvalidations() const { return true; }
208 208
209 // For inspector reporting:
210 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& total Objects, bool& isPartial);
211
209 protected: 212 protected:
210 bool isVerticalDocument() const; 213 bool isVerticalDocument() const;
211 bool isFlippedDocument() const; 214 bool isFlippedDocument() const;
212 215
213 private: 216 private:
214 explicit FrameView(LocalFrame*); 217 explicit FrameView(LocalFrame*);
215 218
216 void reset(); 219 void reset();
217 void init(); 220 void init();
218 221
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 323 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
321 } 324 }
322 private: 325 private:
323 FrameView* m_view; 326 FrameView* m_view;
324 bool m_originalValue; 327 bool m_originalValue;
325 }; 328 };
326 329
327 } // namespace blink 330 } // namespace blink
328 331
329 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 332 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698