Lines Matching defs:View

21 void StackChildRelativeTo(View* parent,
22 std::vector<View*>* children,
23 View* child,
24 View* other,
50 View* receiver,
59 void NotifyViewTreeChangeUp(View* start_at,
61 for (View* current = start_at; current; current = current->parent())
65 void NotifyViewTreeChangeDown(View* start_at,
68 View::Children::const_iterator it = start_at->children().begin();
92 ScopedTreeNotifier(View* target, View* old_parent, View* new_parent) {
109 void RemoveChildImpl(View* child, View::Children* children) {
110 std::vector<View*>::iterator it =
147 // View, public:
151 View::View() : visible_(true), owned_by_parent_(true), parent_(NULL) {
154 View::~View() {
159 View* child = children_.front();
177 void View::AddObserver(ViewObserver* observer) {
181 void View::RemoveObserver(ViewObserver* observer) {
185 void View::SetPainter(Painter* painter) {
189 void View::SetLayout(Layout* layout) {
195 void View::SetBounds(const gfx::Rect& bounds) {
209 void View::SetVisible(bool visible) {
228 void View::AddChild(View* child) {
236 void View::RemoveChild(View* child) {
242 bool View::Contains(View* child) const {
243 for (View* p = child->parent(); p; p = p->parent()) {
250 void View::StackChildAtTop(View* child) {
256 void View::StackChildAtBottom(View* child) {
262 void View::StackChildAbove(View* child, View* other) {
266 void View::StackChildBelow(View* child, View* other) {
272 const ui::Layer* View::layer() const {
276 ui::Layer* View::layer() {
277 return const_cast<ui::Layer*>(const_cast<const View*>(this)->layer());
280 bool View::HasLayer() const {
284 void View::CreateLayer(ui::LayerType layer_type) {
292 void View::DestroyLayer() {
297 ui::Layer* View::AcquireLayer() {