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

Side by Side Diff: ui/views/window/non_client_view.h

Issue 10938009: Views fuzzing for Aura and Windows (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Work in progress. Created 8 years, 2 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
« no previous file with comments | « ui/views/view.cc ('k') | ui/views/window/non_client_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) 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 #include "ui/views/window/client_view.h" 9 #include "ui/views/window/client_view.h"
10 10
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // Set the accessible name of this view. 203 // Set the accessible name of this view.
204 void SetAccessibleName(const string16& name); 204 void SetAccessibleName(const string16& name);
205 205
206 // NonClientView, View overrides: 206 // NonClientView, View overrides:
207 virtual gfx::Size GetPreferredSize() OVERRIDE; 207 virtual gfx::Size GetPreferredSize() OVERRIDE;
208 virtual gfx::Size GetMinimumSize() OVERRIDE; 208 virtual gfx::Size GetMinimumSize() OVERRIDE;
209 virtual gfx::Size GetMaximumSize() OVERRIDE; 209 virtual gfx::Size GetMaximumSize() OVERRIDE;
210 virtual void Layout() OVERRIDE; 210 virtual void Layout() OVERRIDE;
211 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 211 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
212 virtual std::string GetClassName() const OVERRIDE; 212 virtual std::string GetClassName() const OVERRIDE;
213 213 virtual View* GetEventHandler(const gfx::Rect& rect, EventType type)
214 virtual views::View* GetEventHandlerForPoint(const gfx::Point& point)
215 OVERRIDE; 214 OVERRIDE;
216 215
217 protected: 216 protected:
218 // NonClientView, View overrides: 217 // NonClientView, View overrides:
219 virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child) 218 virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child)
220 OVERRIDE; 219 OVERRIDE;
221 220
222 private: 221 private:
223 // A ClientView object or subclass, responsible for sizing the contents view 222 // A ClientView object or subclass, responsible for sizing the contents view
224 // of the window, hit testing and perhaps other tasks depending on the 223 // of the window, hit testing and perhaps other tasks depending on the
225 // implementation. 224 // implementation.
226 ClientView* client_view_; 225 ClientView* client_view_;
227 226
228 // The NonClientFrameView that renders the non-client portions of the window. 227 // The NonClientFrameView that renders the non-client portions of the window.
229 // This object is not owned by the view hierarchy because it can be replaced 228 // This object is not owned by the view hierarchy because it can be replaced
230 // dynamically as the system settings change. 229 // dynamically as the system settings change.
231 scoped_ptr<NonClientFrameView> frame_view_; 230 scoped_ptr<NonClientFrameView> frame_view_;
232 231
233 // The accessible name of this view. 232 // The accessible name of this view.
234 string16 accessible_name_; 233 string16 accessible_name_;
235 234
236 DISALLOW_COPY_AND_ASSIGN(NonClientView); 235 DISALLOW_COPY_AND_ASSIGN(NonClientView);
237 }; 236 };
238 237
239 } // namespace views 238 } // namespace views
240 239
241 #endif // UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ 240 #endif // UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_
OLDNEW
« no previous file with comments | « ui/views/view.cc ('k') | ui/views/window/non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698