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

Side by Side Diff: Source/core/rendering/RenderObject.h

Issue 220343006: Fix for ::selection pseudo element to work on input elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding RefTests Created 6 years, 8 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 #ifndef NDEBUG 304 #ifndef NDEBUG
305 bool isSetNeedsLayoutForbidden() const { return m_setNeedsLayoutForbidden; } 305 bool isSetNeedsLayoutForbidden() const { return m_setNeedsLayoutForbidden; }
306 void setNeedsLayoutIsForbidden(bool flag) { m_setNeedsLayoutForbidden = flag ; } 306 void setNeedsLayoutIsForbidden(bool flag) { m_setNeedsLayoutForbidden = flag ; }
307 #endif 307 #endif
308 308
309 void addAbsoluteRectForLayer(LayoutRect& result); 309 void addAbsoluteRectForLayer(LayoutRect& result);
310 void setLayerNeedsFullRepaint(); 310 void setLayerNeedsFullRepaint();
311 void setLayerNeedsFullRepaintForPositionedMovementLayout(); 311 void setLayerNeedsFullRepaintForPositionedMovementLayout();
312 bool requiresAnonymousTableWrappers(const RenderObject*) const; 312 bool requiresAnonymousTableWrappers(const RenderObject*) const;
313 313
314 // Gets pseudoStyle from Shadow host(in case of input elements)
315 // or from Parent element.
316 PassRefPtr<RenderStyle> getUncachedPseudoStyleFromParentOrShadowHost() const ;
317
314 public: 318 public:
315 #ifndef NDEBUG 319 #ifndef NDEBUG
316 void showTreeForThis() const; 320 void showTreeForThis() const;
317 void showRenderTreeForThis() const; 321 void showRenderTreeForThis() const;
318 void showLineTreeForThis() const; 322 void showLineTreeForThis() const;
319 323
320 void showRenderObject() const; 324 void showRenderObject() const;
321 // We don't make printedCharacters an optional parameter so that 325 // We don't make printedCharacters an optional parameter so that
322 // showRenderObject can be called from gdb easily. 326 // showRenderObject can be called from gdb easily.
323 void showRenderObject(int printedCharacters) const; 327 void showRenderObject(int printedCharacters) const;
(...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 void showTree(const WebCore::RenderObject*); 1447 void showTree(const WebCore::RenderObject*);
1444 void showLineTree(const WebCore::RenderObject*); 1448 void showLineTree(const WebCore::RenderObject*);
1445 void showRenderTree(const WebCore::RenderObject* object1); 1449 void showRenderTree(const WebCore::RenderObject* object1);
1446 // We don't make object2 an optional parameter so that showRenderTree 1450 // We don't make object2 an optional parameter so that showRenderTree
1447 // can be called from gdb easily. 1451 // can be called from gdb easily.
1448 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1452 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1449 1453
1450 #endif 1454 #endif
1451 1455
1452 #endif // RenderObject_h 1456 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698