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

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

Issue 22891016: Add support for rect-based event targeting in views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 7 years, 1 month 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 | « ui/views/widget/root_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 9
10 namespace gfx { 10 namespace gfx {
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « ui/views/widget/root_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