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

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

Issue 150733002: Place inner frame scrollbars on the left side, if indicated by the frame-level text direction. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@issue_312435
Patch Set: Place inner frame scrollbars on the left side, if indicated by the frame-level text direction. Created 6 years, 10 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
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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 void setInProgrammaticScroll(bool programmaticScroll) { m_inProgrammaticScro ll = programmaticScroll; } 297 void setInProgrammaticScroll(bool programmaticScroll) { m_inProgrammaticScro ll = programmaticScroll; }
298 298
299 void setHasSoftwareFilters(bool hasSoftwareFilters) { m_hasSoftwareFilters = hasSoftwareFilters; } 299 void setHasSoftwareFilters(bool hasSoftwareFilters) { m_hasSoftwareFilters = hasSoftwareFilters; }
300 bool hasSoftwareFilters() const { return m_hasSoftwareFilters; } 300 bool hasSoftwareFilters() const { return m_hasSoftwareFilters; }
301 301
302 virtual bool isActive() const OVERRIDE; 302 virtual bool isActive() const OVERRIDE;
303 303
304 // DEPRECATED: Use viewportConstrainedVisibleContentRect() instead. 304 // DEPRECATED: Use viewportConstrainedVisibleContentRect() instead.
305 IntSize scrollOffsetForFixedPosition() const; 305 IntSize scrollOffsetForFixedPosition() const;
306 306
307 virtual bool shouldPlaceVerticalScrollbarOnLeft() const OVERRIDE;
308
307 PartialLayoutState& partialLayout() { return m_partialLayout; } 309 PartialLayoutState& partialLayout() { return m_partialLayout; }
308 310
309 // Override scrollbar notifications to update the AXObject cache. 311 // Override scrollbar notifications to update the AXObject cache.
310 virtual void didAddScrollbar(Scrollbar*, ScrollbarOrientation) OVERRIDE; 312 virtual void didAddScrollbar(Scrollbar*, ScrollbarOrientation) OVERRIDE;
311 virtual void willRemoveScrollbar(Scrollbar*, ScrollbarOrientation) OVERRIDE; 313 virtual void willRemoveScrollbar(Scrollbar*, ScrollbarOrientation) OVERRIDE;
312 314
313 protected: 315 protected:
314 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRec t& rectToScroll, const IntRect& clipRect) OVERRIDE; 316 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRec t& rectToScroll, const IntRect& clipRect) OVERRIDE;
315 virtual void scrollContentsSlowPath(const IntRect& updateRect) OVERRIDE; 317 virtual void scrollContentsSlowPath(const IntRect& updateRect) OVERRIDE;
316 318
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 m_view->setCanRepaintDuringPerformLayout(m_originalValue); 559 m_view->setCanRepaintDuringPerformLayout(m_originalValue);
558 } 560 }
559 private: 561 private:
560 FrameView* m_view; 562 FrameView* m_view;
561 bool m_originalValue; 563 bool m_originalValue;
562 }; 564 };
563 565
564 } // namespace WebCore 566 } // namespace WebCore
565 567
566 #endif // FrameView_h 568 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698