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

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: enabling layout tests Created 7 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 void setHasSoftwareFilters(bool hasSoftwareFilters) { m_hasSoftwareFilters = hasSoftwareFilters; } 330 void setHasSoftwareFilters(bool hasSoftwareFilters) { m_hasSoftwareFilters = hasSoftwareFilters; }
331 bool hasSoftwareFilters() const { return m_hasSoftwareFilters; } 331 bool hasSoftwareFilters() const { return m_hasSoftwareFilters; }
332 332
333 virtual bool isActive() const OVERRIDE; 333 virtual bool isActive() const OVERRIDE;
334 334
335 // DEPRECATED: Use viewportConstrainedVisibleContentRect() instead. 335 // DEPRECATED: Use viewportConstrainedVisibleContentRect() instead.
336 IntSize scrollOffsetForFixedPosition() const; 336 IntSize scrollOffsetForFixedPosition() const;
337 337
338 PartialLayoutState& partialLayout() { return m_partialLayout; } 338 PartialLayoutState& partialLayout() { return m_partialLayout; }
339 339
340 // Only called for main frame. Input object can be cross frame.
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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 ASSERT(!widget || widget->isFrameView()); 577 ASSERT(!widget || widget->isFrameView());
575 return static_cast<const FrameView*>(widget); 578 return static_cast<const FrameView*>(widget);
576 } 579 }
577 580
578 // This will catch anyone doing an unnecessary cast. 581 // This will catch anyone doing an unnecessary cast.
579 void toFrameView(const FrameView*); 582 void toFrameView(const FrameView*);
580 583
581 } // namespace WebCore 584 } // namespace WebCore
582 585
583 #endif // FrameView_h 586 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698