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

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

Issue 757143004: Remove m_layerTreeView from WebViewImpl. (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
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/frame/FrameView.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) 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 DocumentLifecycle& lifecycle() const; 237 DocumentLifecycle& lifecycle() const;
238 238
239 // FIXME(sky): Remove now that we're not a ScrollView? 239 // FIXME(sky): Remove now that we're not a ScrollView?
240 void contentRectangleForPaintInvalidation(const IntRect&); 240 void contentRectangleForPaintInvalidation(const IntRect&);
241 void contentsResized(); 241 void contentsResized();
242 242
243 bool wasViewportResized(); 243 bool wasViewportResized();
244 void sendResizeEventIfNeeded(); 244 void sendResizeEventIfNeeded();
245 245
246 void updateCompositedSelectionBoundsIfNeeded();
247
248 void setLayoutSizeInternal(const IntSize&); 246 void setLayoutSizeInternal(const IntSize&);
249 247
250 bool paintInvalidationIsAllowed() const 248 bool paintInvalidationIsAllowed() const
251 { 249 {
252 return !isInPerformLayout() || canInvalidatePaintDuringPerformLayout(); 250 return !isInPerformLayout() || canInvalidatePaintDuringPerformLayout();
253 } 251 }
254 252
255 static double s_currentFrameTimeStamp; // used for detecting decoded resourc e thrash in the cache 253 static double s_currentFrameTimeStamp; // used for detecting decoded resourc e thrash in the cache
256 static bool s_inPaintContents; 254 static bool s_inPaintContents;
257 255
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 328 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
331 } 329 }
332 private: 330 private:
333 FrameView* m_view; 331 FrameView* m_view;
334 bool m_originalValue; 332 bool m_originalValue;
335 }; 333 };
336 334
337 } // namespace blink 335 } // namespace blink
338 336
339 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 337 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698