|
sFirst cut at an experiment with what a simplified View/Widget API would look like.
Of note:
- Widget is a cross-platform class encapsulating widget-specific state
- NativeWidget interface wraps different implementations of a native widget. Starting with HWND.
- NativeWidget implementation should eventually be swappable at runtime.
- Simpler Event construction directly from a NativeEvent (e.g. MSG struct)
- Simpler View API with fewer, more clearly delineated overrides.
Notes:
- Window* are just empty files for now while I get View/Widget to work.
BUG=none
TEST=see unittests, in development
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=73353
Total comments: 33
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+4132 lines, -0 lines) |
Patch |
|
A |
ui/views/demo/main.cc
|
View
|
1
2
|
1 chunk |
+177 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/events/context_menu_controller.h
|
View
|
1
2
3
4
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/events/drag_controller.h
|
View
|
1
2
3
4
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/events/event.h
|
View
|
1
2
3
4
|
1 chunk |
+190 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/events/event.cc
|
View
|
1
2
3
4
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/events/event_win.cc
|
View
|
1
2
3
4
|
1 chunk |
+195 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/layout/fill_layout.h
|
View
|
1
2
3
4
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/layout/fill_layout.cc
|
View
|
1
2
3
4
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/layout/layout_manager.h
|
View
|
1
2
3
4
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/layout/layout_manager.cc
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/native_types.h
|
View
|
1
2
3
4
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/rendering/border.h
|
View
|
1
2
3
4
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/rendering/border.cc
|
View
|
1
2
3
4
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/rendering/border_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/run_all_unittests.cc
|
View
|
1
2
3
4
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/view.h
|
View
|
1
2
3
4
|
1 chunk |
+393 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/view.cc
|
View
|
1
2
3
4
|
1 chunk |
+629 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/view_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+204 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/views.gyp
|
View
|
1
2
3
4
|
1 chunk |
+186 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/native_widget.h
|
View
|
1
2
3
4
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/native_widget_listener.h
|
View
|
1
2
3
4
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/native_widget_views.h
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/native_widget_views.cc
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/native_widget_win.h
|
View
|
1
2
3
4
|
1 chunk |
+271 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/native_widget_win.cc
|
View
|
1
2
3
4
|
1 chunk |
+626 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/root_view.h
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/root_view.cc
|
View
|
1
2
3
4
|
1 chunk |
+145 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/widget.h
|
View
|
1
2
3
4
|
1 chunk |
+131 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/widget.cc
|
View
|
1
2
3
4
|
1 chunk |
+219 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/widget.rc
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/widget_resource.h
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/widget/widget_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/window/native_window.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/window/native_window_views.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/window/native_window_views.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/window/native_window_win.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/window/native_window_win.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/window/window.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/views/window/window.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|