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

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

Issue 22454003: Support subtitles for native fullscreen video (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 void setInProgrammaticScroll(bool programmaticScroll) { m_inProgrammaticScro ll = programmaticScroll; } 330 void setInProgrammaticScroll(bool programmaticScroll) { m_inProgrammaticScro ll = programmaticScroll; }
331 331
332 void setHasSoftwareFilters(bool hasSoftwareFilters) { m_hasSoftwareFilters = hasSoftwareFilters; } 332 void setHasSoftwareFilters(bool hasSoftwareFilters) { m_hasSoftwareFilters = hasSoftwareFilters; }
333 bool hasSoftwareFilters() const { return m_hasSoftwareFilters; } 333 bool hasSoftwareFilters() const { return m_hasSoftwareFilters; }
334 334
335 virtual bool isActive() const OVERRIDE; 335 virtual bool isActive() const OVERRIDE;
336 336
337 // DEPRECATED: Use viewportConstrainedVisibleContentRect() instead. 337 // DEPRECATED: Use viewportConstrainedVisibleContentRect() instead.
338 IntSize scrollOffsetForFixedPosition() const; 338 IntSize scrollOffsetForFixedPosition() const;
339 339
340 // Only called for main frame. Input object can be cross frame.
falken 2013/08/22 12:40:34 Can you elaborate on this comment, it's a bit cryp
341 void setCurrentFullscreenRenderer(RenderObject*);
342
340 protected: 343 protected:
341 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRec t& rectToScroll, const IntRect& clipRect); 344 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRec t& rectToScroll, const IntRect& clipRect);
342 virtual void scrollContentsSlowPath(const IntRect& updateRect); 345 virtual void scrollContentsSlowPath(const IntRect& updateRect);
343 346
344 virtual bool isVerticalDocument() const; 347 virtual bool isVerticalDocument() const;
345 virtual bool isFlippedDocument() const; 348 virtual bool isFlippedDocument() const;
346 349
347 private: 350 private:
348 explicit FrameView(Frame*); 351 explicit FrameView(Frame*);
349 352
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 ASSERT(!widget || widget->isFrameView()); 576 ASSERT(!widget || widget->isFrameView());
574 return static_cast<const FrameView*>(widget); 577 return static_cast<const FrameView*>(widget);
575 } 578 }
576 579
577 // This will catch anyone doing an unnecessary cast. 580 // This will catch anyone doing an unnecessary cast.
578 void toFrameView(const FrameView*); 581 void toFrameView(const FrameView*);
579 582
580 } // namespace WebCore 583 } // namespace WebCore
581 584
582 #endif // FrameView_h 585 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698