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

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

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE; 108 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE;
109 virtual ui::GestureStatus OnGestureEvent(const GestureEvent& event) OVERRIDE; 109 virtual ui::GestureStatus OnGestureEvent(const GestureEvent& event) OVERRIDE;
110 virtual void SetMouseHandler(View* new_mouse_handler) OVERRIDE; 110 virtual void SetMouseHandler(View* new_mouse_handler) OVERRIDE;
111 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 111 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
112 virtual void ReorderChildLayers(ui::Layer* parent_layer) OVERRIDE; 112 virtual void ReorderChildLayers(ui::Layer* parent_layer) OVERRIDE;
113 113
114 protected: 114 protected:
115 // Overridden from View: 115 // Overridden from View:
116 virtual void ViewHierarchyChanged(bool is_add, View* parent, 116 virtual void ViewHierarchyChanged(bool is_add, View* parent,
117 View* child) OVERRIDE; 117 View* child) OVERRIDE;
118 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 118 virtual void OnPaint(gfx::CanvasSkia* canvas) OVERRIDE;
119 virtual void CalculateOffsetToAncestorWithLayer( 119 virtual void CalculateOffsetToAncestorWithLayer(
120 gfx::Point* offset, 120 gfx::Point* offset,
121 ui::Layer** layer_parent) OVERRIDE; 121 ui::Layer** layer_parent) OVERRIDE;
122 122
123 private: 123 private:
124 friend class View; 124 friend class View;
125 friend class Widget; 125 friend class Widget;
126 126
127 // Input --------------------------------------------------------------------- 127 // Input ---------------------------------------------------------------------
128 128
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 // Tracks drag state for a view. 192 // Tracks drag state for a view.
193 View::DragInfo drag_info_; 193 View::DragInfo drag_info_;
194 194
195 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); 195 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView);
196 }; 196 };
197 197
198 } // namespace internal 198 } // namespace internal
199 } // namespace views 199 } // namespace views
200 200
201 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ 201 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698