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

Side by Side Diff: ui/views/view.h

Issue 2715543003: Views a11y: Implement AXPlatformNode::FromNativeViewAccessible on all platforms. (Closed)
Patch Set: Fix bad rebase. Created 3 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
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_VIEW_H_ 5 #ifndef UI_VIEWS_VIEW_H_
6 #define UI_VIEWS_VIEW_H_ 6 #define UI_VIEWS_VIEW_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 // function makes the decision explicit. 1264 // function makes the decision explicit.
1265 std::string DoPrintViewGraph(bool first, View* view_with_children); 1265 std::string DoPrintViewGraph(bool first, View* view_with_children);
1266 #endif 1266 #endif
1267 1267
1268 private: 1268 private:
1269 friend class internal::PreEventDispatchHandler; 1269 friend class internal::PreEventDispatchHandler;
1270 friend class internal::PostEventDispatchHandler; 1270 friend class internal::PostEventDispatchHandler;
1271 friend class internal::RootView; 1271 friend class internal::RootView;
1272 friend class internal::ScopedChildrenLock; 1272 friend class internal::ScopedChildrenLock;
1273 friend class FocusManager; 1273 friend class FocusManager;
1274 #if !defined(PLATFORM_HAS_NATIVE_VIEW_ACCESSIBILITY_IMPL)
1275 friend class NativeViewAccessibility;
1276 #endif
1274 friend class ViewLayerTest; 1277 friend class ViewLayerTest;
1275 friend class Widget; 1278 friend class Widget;
1276 1279
1277 // Painting ----------------------------------------------------------------- 1280 // Painting -----------------------------------------------------------------
1278 1281
1279 enum SchedulePaintType { 1282 enum SchedulePaintType {
1280 // Indicates the size is the same (only the origin changed). 1283 // Indicates the size is the same (only the origin changed).
1281 SCHEDULE_PAINT_SIZE_SAME, 1284 SCHEDULE_PAINT_SIZE_SAME,
1282 1285
1283 // Indicates the size changed (and possibly the origin). 1286 // Indicates the size changed (and possibly the origin).
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1640 // Observers ------------------------------------------------------------- 1643 // Observers -------------------------------------------------------------
1641 1644
1642 base::ObserverList<ViewObserver> observers_; 1645 base::ObserverList<ViewObserver> observers_;
1643 1646
1644 DISALLOW_COPY_AND_ASSIGN(View); 1647 DISALLOW_COPY_AND_ASSIGN(View);
1645 }; 1648 };
1646 1649
1647 } // namespace views 1650 } // namespace views
1648 1651
1649 #endif // UI_VIEWS_VIEW_H_ 1652 #endif // UI_VIEWS_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698