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

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

Issue 6529037: Rename ProcessPaint to Paint() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « views/view_unittest.cc ('k') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 VIEWS_WIDGET_ROOT_VIEW_H_ 5 #ifndef VIEWS_WIDGET_ROOT_VIEW_H_
6 #define VIEWS_WIDGET_ROOT_VIEW_H_ 6 #define VIEWS_WIDGET_ROOT_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // hierarchy. 166 // hierarchy.
167 void NotifyLocaleChanged(); 167 void NotifyLocaleChanged();
168 168
169 // Overridden from FocusTraversable: 169 // Overridden from FocusTraversable:
170 virtual FocusSearch* GetFocusSearch(); 170 virtual FocusSearch* GetFocusSearch();
171 virtual FocusTraversable* GetFocusTraversableParent(); 171 virtual FocusTraversable* GetFocusTraversableParent();
172 virtual View* GetFocusTraversableParentView(); 172 virtual View* GetFocusTraversableParentView();
173 173
174 // Overridden from View: 174 // Overridden from View:
175 virtual void SchedulePaintInRect(const gfx::Rect& r, bool urgent); 175 virtual void SchedulePaintInRect(const gfx::Rect& r, bool urgent);
176 virtual void ProcessPaint(gfx::Canvas* canvas); 176 virtual void Paint(gfx::Canvas* canvas);
177 virtual void PaintNow(); 177 virtual void PaintNow();
178 virtual const Widget* GetWidget() const; 178 virtual const Widget* GetWidget() const;
179 virtual Widget* GetWidget(); 179 virtual Widget* GetWidget();
180 virtual bool OnMousePressed(const MouseEvent& e); 180 virtual bool OnMousePressed(const MouseEvent& e);
181 virtual bool OnMouseDragged(const MouseEvent& e); 181 virtual bool OnMouseDragged(const MouseEvent& e);
182 virtual void OnMouseReleased(const MouseEvent& e, bool canceled); 182 virtual void OnMouseReleased(const MouseEvent& e, bool canceled);
183 virtual void OnMouseMoved(const MouseEvent& e); 183 virtual void OnMouseMoved(const MouseEvent& e);
184 virtual void SetMouseHandler(View* new_mouse_handler); 184 virtual void SetMouseHandler(View* new_mouse_handler);
185 #if defined(TOUCH_UI) 185 #if defined(TOUCH_UI)
186 virtual TouchStatus OnTouchEvent(const TouchEvent& e); 186 virtual TouchStatus OnTouchEvent(const TouchEvent& e);
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 338
339 // Valid for the lifetime of StartDragForViewFromMouseEvent, indicates the 339 // Valid for the lifetime of StartDragForViewFromMouseEvent, indicates the
340 // view the drag started from. 340 // view the drag started from.
341 View* drag_view_; 341 View* drag_view_;
342 342
343 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); 343 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView);
344 }; 344 };
345 } // namespace views 345 } // namespace views
346 346
347 #endif // VIEWS_WIDGET_ROOT_VIEW_H_ 347 #endif // VIEWS_WIDGET_ROOT_VIEW_H_
OLDNEW
« no previous file with comments | « views/view_unittest.cc ('k') | views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698