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

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

Issue 6975051: Remove COMPOSITOR_2 flag, old compositor code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change conditional compile defines. Created 9 years, 6 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) 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 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 IsVisibleInRootView() 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 #if defined(COMPOSITOR_2)
106 virtual void SchedulePaintInternal(const gfx::Rect& rect) OVERRIDE; 105 virtual void SchedulePaintInternal(const gfx::Rect& rect) OVERRIDE;
107 #endif
108 virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE; 106 virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE;
109 virtual bool OnMouseDragged(const MouseEvent& event) OVERRIDE; 107 virtual bool OnMouseDragged(const MouseEvent& event) OVERRIDE;
110 virtual void OnMouseReleased(const MouseEvent& event) OVERRIDE; 108 virtual void OnMouseReleased(const MouseEvent& event) OVERRIDE;
111 virtual void OnMouseCaptureLost() OVERRIDE; 109 virtual void OnMouseCaptureLost() OVERRIDE;
112 virtual void OnMouseMoved(const MouseEvent& event) OVERRIDE; 110 virtual void OnMouseMoved(const MouseEvent& event) OVERRIDE;
113 virtual void OnMouseExited(const MouseEvent& event) OVERRIDE; 111 virtual void OnMouseExited(const MouseEvent& event) OVERRIDE;
114 virtual bool OnMouseWheel(const MouseWheelEvent& event) OVERRIDE; 112 virtual bool OnMouseWheel(const MouseWheelEvent& event) OVERRIDE;
115 #if defined(TOUCH_UI) 113 #if defined(TOUCH_UI)
116 virtual TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE; 114 virtual TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE;
117 #endif 115 #endif
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 // Tracks drag state for a view. 205 // Tracks drag state for a view.
208 View::DragInfo drag_info; 206 View::DragInfo drag_info;
209 207
210 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); 208 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView);
211 }; 209 };
212 210
213 } // namespace internal 211 } // namespace internal
214 } // namespace views 212 } // namespace views
215 213
216 #endif // VIEWS_WIDGET_ROOT_VIEW_H_ 214 #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