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

Side by Side Diff: Source/modules/accessibility/AXSpinButton.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 30 matching lines...) Expand all
41 , m_spinButtonElement(0) 41 , m_spinButtonElement(0)
42 { 42 {
43 } 43 }
44 44
45 AXSpinButton::~AXSpinButton() 45 AXSpinButton::~AXSpinButton()
46 { 46 {
47 } 47 }
48 48
49 LayoutRect AXSpinButton::elementRect() const 49 LayoutRect AXSpinButton::elementRect() const
50 { 50 {
51 if (!m_spinButtonElement || !m_spinButtonElement->renderer()) 51 if (!m_spinButtonElement || !m_spinButtonElement->layoutObject())
52 return LayoutRect(); 52 return LayoutRect();
53 53
54 return LayoutRect(m_spinButtonElement->renderer()->absoluteFocusRingBounding BoxRect()); 54 return LayoutRect(m_spinButtonElement->layoutObject()->absoluteFocusRingBoun dingBoxRect());
55 } 55 }
56 56
57 void AXSpinButton::detach() 57 void AXSpinButton::detach()
58 { 58 {
59 AXObject::detach(); 59 AXObject::detach();
60 m_spinButtonElement = 0; 60 m_spinButtonElement = 0;
61 } 61 }
62 62
63 void AXSpinButton::detachFromParent() 63 void AXSpinButton::detachFromParent()
64 { 64 {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 AXSpinButton* spinButton = toAXSpinButton(parentObject()); 132 AXSpinButton* spinButton = toAXSpinButton(parentObject());
133 if (m_isIncrementor) 133 if (m_isIncrementor)
134 spinButton->step(1); 134 spinButton->step(1);
135 else 135 else
136 spinButton->step(-1); 136 spinButton->step(-1);
137 137
138 return true; 138 return true;
139 } 139 }
140 140
141 } // namespace blink 141 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXSlider.cpp ('k') | Source/modules/accessibility/AXTableColumn.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698