OLD | NEW |
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_WINDOW_NON_CLIENT_VIEW_H_ | 5 #ifndef UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ |
6 #define UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ | 6 #define UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ |
7 | 7 |
8 #include "ui/views/view.h" | 8 #include "ui/views/view.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 void SetAccessibleName(const string16& name); | 208 void SetAccessibleName(const string16& name); |
209 | 209 |
210 // NonClientView, View overrides: | 210 // NonClientView, View overrides: |
211 virtual gfx::Size GetPreferredSize() OVERRIDE; | 211 virtual gfx::Size GetPreferredSize() OVERRIDE; |
212 virtual gfx::Size GetMinimumSize() OVERRIDE; | 212 virtual gfx::Size GetMinimumSize() OVERRIDE; |
213 virtual gfx::Size GetMaximumSize() OVERRIDE; | 213 virtual gfx::Size GetMaximumSize() OVERRIDE; |
214 virtual void Layout() OVERRIDE; | 214 virtual void Layout() OVERRIDE; |
215 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 215 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
216 virtual const char* GetClassName() const OVERRIDE; | 216 virtual const char* GetClassName() const OVERRIDE; |
217 | 217 |
218 virtual views::View* GetEventHandlerForPoint( | 218 virtual views::View* GetEventHandlerForRect(const gfx::Rect& rect) OVERRIDE; |
219 const gfx::Point& point) OVERRIDE; | |
220 virtual views::View* GetTooltipHandlerForPoint( | 219 virtual views::View* GetTooltipHandlerForPoint( |
221 const gfx::Point& point) OVERRIDE; | 220 const gfx::Point& point) OVERRIDE; |
222 | 221 |
223 protected: | 222 protected: |
224 // NonClientView, View overrides: | 223 // NonClientView, View overrides: |
225 virtual void ViewHierarchyChanged( | 224 virtual void ViewHierarchyChanged( |
226 const ViewHierarchyChangedDetails& details) OVERRIDE; | 225 const ViewHierarchyChangedDetails& details) OVERRIDE; |
227 | 226 |
228 private: | 227 private: |
229 // A ClientView object or subclass, responsible for sizing the contents view | 228 // A ClientView object or subclass, responsible for sizing the contents view |
(...skipping 12 matching lines...) Expand all Loading... |
242 | 241 |
243 // The accessible name of this view. | 242 // The accessible name of this view. |
244 string16 accessible_name_; | 243 string16 accessible_name_; |
245 | 244 |
246 DISALLOW_COPY_AND_ASSIGN(NonClientView); | 245 DISALLOW_COPY_AND_ASSIGN(NonClientView); |
247 }; | 246 }; |
248 | 247 |
249 } // namespace views | 248 } // namespace views |
250 | 249 |
251 #endif // UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ | 250 #endif // UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ |
OLD | NEW |