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

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, 9 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 void setInProgrammaticScroll(bool programmaticScroll) { m_inProgrammaticScro ll = programmaticScroll; } 290 void setInProgrammaticScroll(bool programmaticScroll) { m_inProgrammaticScro ll = programmaticScroll; }
291 291
292 void setHasSoftwareFilters(bool hasSoftwareFilters) { m_hasSoftwareFilters = hasSoftwareFilters; } 292 void setHasSoftwareFilters(bool hasSoftwareFilters) { m_hasSoftwareFilters = hasSoftwareFilters; }
293 bool hasSoftwareFilters() const { return m_hasSoftwareFilters; } 293 bool hasSoftwareFilters() const { return m_hasSoftwareFilters; }
294 294
295 virtual bool isActive() const OVERRIDE; 295 virtual bool isActive() const OVERRIDE;
296 296
297 // DEPRECATED: Use viewportConstrainedVisibleContentRect() instead. 297 // DEPRECATED: Use viewportConstrainedVisibleContentRect() instead.
298 IntSize scrollOffsetForFixedPosition() const; 298 IntSize scrollOffsetForFixedPosition() const;
299 299
300 virtual bool shouldPlaceVerticalScrollbarOnLeft() const OVERRIDE;
301
300 PartialLayoutState& partialLayout() { return m_partialLayout; } 302 PartialLayoutState& partialLayout() { return m_partialLayout; }
301 303
302 // Override scrollbar notifications to update the AXObject cache. 304 // Override scrollbar notifications to update the AXObject cache.
303 virtual void didAddScrollbar(Scrollbar*, ScrollbarOrientation) OVERRIDE; 305 virtual void didAddScrollbar(Scrollbar*, ScrollbarOrientation) OVERRIDE;
304 virtual void willRemoveScrollbar(Scrollbar*, ScrollbarOrientation) OVERRIDE; 306 virtual void willRemoveScrollbar(Scrollbar*, ScrollbarOrientation) OVERRIDE;
305 307
306 virtual bool shouldAttemptToScrollUsingFastPath() const OVERRIDE; 308 virtual bool shouldAttemptToScrollUsingFastPath() const OVERRIDE;
307 bool isSubtreeLayout() const { return !!m_layoutSubtreeRoot; } 309 bool isSubtreeLayout() const { return !!m_layoutSubtreeRoot; }
308 310
309 protected: 311 protected:
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 m_view->setCanRepaintDuringPerformLayout(m_originalValue); 550 m_view->setCanRepaintDuringPerformLayout(m_originalValue);
549 } 551 }
550 private: 552 private:
551 FrameView* m_view; 553 FrameView* m_view;
552 bool m_originalValue; 554 bool m_originalValue;
553 }; 555 };
554 556
555 } // namespace WebCore 557 } // namespace WebCore
556 558
557 #endif // FrameView_h 559 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698