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

Side by Side Diff: third_party/WebKit/WebCore/rendering/RenderBlock.h

Issue 21165: Revert the merge. Mac build is mysteriously broken. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * This file is part of the render object implementation for KHTML. 2 * This file is part of the render object implementation for KHTML.
3 * 3 *
4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
5 * (C) 1999 Antti Koivisto (koivisto@kde.org) 5 * (C) 1999 Antti Koivisto (koivisto@kde.org)
6 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 249
250 bool containsNonZeroBidiLevel() const; 250 bool containsNonZeroBidiLevel() const;
251 251
252 // Obtains the nearest enclosing block (including this block) that contribut es a first-line style to our inline 252 // Obtains the nearest enclosing block (including this block) that contribut es a first-line style to our inline
253 // children. 253 // children.
254 virtual RenderBlock* firstLineBlock() const; 254 virtual RenderBlock* firstLineBlock() const;
255 virtual void updateFirstLetter(); 255 virtual void updateFirstLetter();
256 256
257 bool inRootBlockContext() const; 257 bool inRootBlockContext() const;
258 258
259 virtual IntRect rectWithOutlineForRepaint(RenderBoxModelObject* repaintConta iner, int outlineWidth); 259 virtual IntRect rectWithOutlineForRepaint(RenderBox* repaintContainer, int o utlineWidth);
260 virtual RenderStyle* outlineStyleForRepaint() const; 260 virtual RenderStyle* outlineStyleForRepaint() const;
261 261
262 virtual RenderObject* hoverAncestor() const; 262 virtual RenderObject* hoverAncestor() const;
263 virtual void updateDragState(bool dragOn); 263 virtual void updateDragState(bool dragOn);
264 virtual void updateHitTestResult(HitTestResult&, const IntPoint&); 264 virtual void updateHitTestResult(HitTestResult&, const IntPoint&);
265 265
266 virtual void childBecameNonInline(RenderObject* child); 266 virtual void childBecameNonInline(RenderObject* child);
267 267
268 virtual void setSelectionState(SelectionState s); 268 virtual void setSelectionState(SelectionState s);
269 269
270 virtual IntRect selectionRectForRepaint(RenderBoxModelObject* repaintContain er, bool /*clipToVisibleContent*/) 270 virtual IntRect selectionRectForRepaint(RenderBox* repaintContainer, bool /* clipToVisibleContent*/)
271 { 271 {
272 return selectionGapRectsForRepaint(repaintContainer); 272 return selectionGapRectsForRepaint(repaintContainer);
273 } 273 }
274 GapRects selectionGapRectsForRepaint(RenderBoxModelObject* repaintContainer) ; 274 GapRects selectionGapRectsForRepaint(RenderBox* repaintContainer);
275 virtual bool shouldPaintSelectionGaps() const; 275 virtual bool shouldPaintSelectionGaps() const;
276 bool isSelectionRoot() const; 276 bool isSelectionRoot() const;
277 GapRects fillSelectionGaps(RenderBlock* rootBlock, int blockX, int blockY, i nt tx, int ty, 277 GapRects fillSelectionGaps(RenderBlock* rootBlock, int blockX, int blockY, i nt tx, int ty,
278 int& lastTop, int& lastLeft, int& lastRight, cons t PaintInfo* = 0); 278 int& lastTop, int& lastLeft, int& lastRight, cons t PaintInfo* = 0);
279 GapRects fillInlineSelectionGaps(RenderBlock* rootBlock, int blockX, int blo ckY, int tx, int ty, 279 GapRects fillInlineSelectionGaps(RenderBlock* rootBlock, int blockX, int blo ckY, int tx, int ty,
280 int& lastTop, int& lastLeft, int& lastRight , const PaintInfo*); 280 int& lastTop, int& lastLeft, int& lastRight , const PaintInfo*);
281 GapRects fillBlockSelectionGaps(RenderBlock* rootBlock, int blockX, int bloc kY, int tx, int ty, 281 GapRects fillBlockSelectionGaps(RenderBlock* rootBlock, int blockX, int bloc kY, int tx, int ty,
282 int& lastTop, int& lastLeft, int& lastRight, const PaintInfo*); 282 int& lastTop, int& lastLeft, int& lastRight, const PaintInfo*);
283 IntRect fillVerticalSelectionGap(int lastTop, int lastLeft, int lastRight, i nt bottomY, RenderBlock* rootBlock, 283 IntRect fillVerticalSelectionGap(int lastTop, int lastLeft, int lastRight, i nt bottomY, RenderBlock* rootBlock,
284 int blockX, int blockY, const PaintInfo*); 284 int blockX, int blockY, const PaintInfo*);
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 return static_cast<const RenderBlock*>(o); 515 return static_cast<const RenderBlock*>(o);
516 } 516 }
517 517
518 // This will catch anyone doing an unnecessary cast. 518 // This will catch anyone doing an unnecessary cast.
519 void toRenderBlock(const RenderBlock* o); 519 void toRenderBlock(const RenderBlock* o);
520 520
521 } // namespace WebCore 521 } // namespace WebCore
522 522
523 #endif // RenderBlock_h 523 #endif // RenderBlock_h
524 524
OLDNEW
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderBR.h ('k') | third_party/WebKit/WebCore/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698