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

Side by Side Diff: ui/views/widget/root_view.h

Issue 8915007: views: Rename IsVisibleInRootView() to IsDrawn(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « ui/views/view_unittest.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WIDGET_ROOT_VIEW_H_ 5 #ifndef UI_VIEWS_WIDGET_ROOT_VIEW_H_
6 #define UI_VIEWS_WIDGET_ROOT_VIEW_H_ 6 #define UI_VIEWS_WIDGET_ROOT_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 void LocaleChanged(); 92 void LocaleChanged();
93 93
94 // Overridden from FocusTraversable: 94 // Overridden from FocusTraversable:
95 virtual FocusSearch* GetFocusSearch() OVERRIDE; 95 virtual FocusSearch* GetFocusSearch() OVERRIDE;
96 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE; 96 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE;
97 virtual View* GetFocusTraversableParentView() OVERRIDE; 97 virtual View* GetFocusTraversableParentView() OVERRIDE;
98 98
99 // Overridden from View: 99 // Overridden from View:
100 virtual const Widget* GetWidget() const OVERRIDE; 100 virtual const Widget* GetWidget() const OVERRIDE;
101 virtual Widget* GetWidget() OVERRIDE; 101 virtual Widget* GetWidget() OVERRIDE;
102 virtual bool IsVisibleInRootView() const OVERRIDE; 102 virtual bool IsDrawn() const OVERRIDE;
103 virtual std::string GetClassName() const OVERRIDE; 103 virtual std::string GetClassName() const OVERRIDE;
104 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; 104 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE;
105 virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE; 105 virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE;
106 virtual bool OnMouseDragged(const MouseEvent& event) OVERRIDE; 106 virtual bool OnMouseDragged(const MouseEvent& event) OVERRIDE;
107 virtual void OnMouseReleased(const MouseEvent& event) OVERRIDE; 107 virtual void OnMouseReleased(const MouseEvent& event) OVERRIDE;
108 virtual void OnMouseCaptureLost() OVERRIDE; 108 virtual void OnMouseCaptureLost() OVERRIDE;
109 virtual void OnMouseMoved(const MouseEvent& event) OVERRIDE; 109 virtual void OnMouseMoved(const MouseEvent& event) OVERRIDE;
110 virtual void OnMouseExited(const MouseEvent& event) OVERRIDE; 110 virtual void OnMouseExited(const MouseEvent& event) OVERRIDE;
111 virtual bool OnMouseWheel(const MouseWheelEvent& event) OVERRIDE; 111 virtual bool OnMouseWheel(const MouseWheelEvent& event) OVERRIDE;
112 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE; 112 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // Tracks drag state for a view. 198 // Tracks drag state for a view.
199 View::DragInfo drag_info; 199 View::DragInfo drag_info;
200 200
201 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); 201 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView);
202 }; 202 };
203 203
204 } // namespace internal 204 } // namespace internal
205 } // namespace views 205 } // namespace views
206 206
207 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ 207 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_
OLDNEW
« no previous file with comments | « ui/views/view_unittest.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698