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

Side by Side Diff: Source/core/frame/FrameView.h

Issue 454643002: Route selection bounds updates through WebLayerTreeView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revised Created 6 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 | Annotate | Revision Log
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class KURL; 47 class KURL;
48 class Node; 48 class Node;
49 class Page; 49 class Page;
50 class RenderBox; 50 class RenderBox;
51 class RenderEmbeddedObject; 51 class RenderEmbeddedObject;
52 class RenderObject; 52 class RenderObject;
53 class RenderScrollbarPart; 53 class RenderScrollbarPart;
54 class RenderStyle; 54 class RenderStyle;
55 class RenderView; 55 class RenderView;
56 class RenderWidget; 56 class RenderWidget;
57 struct CompositedSelectionBound;
57 58
58 typedef unsigned long long DOMTimeStamp; 59 typedef unsigned long long DOMTimeStamp;
59 60
60 class FrameView FINAL : public ScrollView { 61 class FrameView FINAL : public ScrollView {
61 public: 62 public:
62 friend class RenderView; 63 friend class RenderView;
63 friend class Internals; 64 friend class Internals;
64 65
65 static PassRefPtr<FrameView> create(LocalFrame*); 66 static PassRefPtr<FrameView> create(LocalFrame*);
66 static PassRefPtr<FrameView> create(LocalFrame*, const IntSize& initialSize) ; 67 static PassRefPtr<FrameView> create(LocalFrame*, const IntSize& initialSize) ;
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 382
382 void scheduleUpdateWidgetsIfNecessary(); 383 void scheduleUpdateWidgetsIfNecessary();
383 void updateWidgetsTimerFired(Timer<FrameView>*); 384 void updateWidgetsTimerFired(Timer<FrameView>*);
384 bool updateWidgets(); 385 bool updateWidgets();
385 386
386 void scrollToAnchor(); 387 void scrollToAnchor();
387 void scrollPositionChanged(); 388 void scrollPositionChanged();
388 void didScrollTimerFired(Timer<FrameView>*); 389 void didScrollTimerFired(Timer<FrameView>*);
389 390
390 void updateLayersAndCompositingAfterScrollIfNeeded(); 391 void updateLayersAndCompositingAfterScrollIfNeeded();
392
393 static bool computeCompositedSelectionBounds(LocalFrame&, CompositedSelectio nBound& start, CompositedSelectionBound& end);
391 void updateCompositedSelectionBoundsIfNeeded(); 394 void updateCompositedSelectionBoundsIfNeeded();
392 395
393 bool hasCustomScrollbars() const; 396 bool hasCustomScrollbars() const;
394 bool shouldUseCustomScrollbars(Element*& customScrollbarElement, LocalFrame* & customScrollbarFrame); 397 bool shouldUseCustomScrollbars(Element*& customScrollbarElement, LocalFrame* & customScrollbarFrame);
395 398
396 virtual void updateScrollCorner() OVERRIDE; 399 virtual void updateScrollCorner() OVERRIDE;
397 400
398 FrameView* parentFrameView() const; 401 FrameView* parentFrameView() const;
399 402
400 AXObjectCache* axObjectCache() const; 403 AXObjectCache* axObjectCache() const;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 542 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
540 } 543 }
541 private: 544 private:
542 FrameView* m_view; 545 FrameView* m_view;
543 bool m_originalValue; 546 bool m_originalValue;
544 }; 547 };
545 548
546 } // namespace blink 549 } // namespace blink
547 550
548 #endif // FrameView_h 551 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698