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

Issue 6286013: V2 (Closed)

Created:
9 years, 11 months ago by Ben Goodger (Google)
Modified:
9 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 33

Patch Set 4 : '' #

Patch Set 5 : '' #

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

Messages

Total messages: 4 (0 generated)
Ben Goodger (Google)
9 years, 10 months ago (2011-02-01 17:20:09 UTC) #1
sky
http://codereview.chromium.org/6286013/diff/59002/ui/views/events/context_menu_controller.h File ui/views/events/context_menu_controller.h (right): http://codereview.chromium.org/6286013/diff/59002/ui/views/events/context_menu_controller.h#newcode5 ui/views/events/context_menu_controller.h:5: #ifndef UI_VIEWS_CONTEXT_MENU_CONTROLLER_H_ VIEWS_EVENTS http://codereview.chromium.org/6286013/diff/59002/ui/views/events/drag_controller.h File ui/views/events/drag_controller.h (right): http://codereview.chromium.org/6286013/diff/59002/ui/views/events/drag_controller.h#newcode5 ui/views/events/drag_controller.h:5: ...
9 years, 10 months ago (2011-02-01 18:56:22 UTC) #2
Ben Goodger (Google)
Updated CL. http://codereview.chromium.org/6286013/diff/59002/ui/views/events/event.h File ui/views/events/event.h (right): http://codereview.chromium.org/6286013/diff/59002/ui/views/events/event.h#newcode163 ui/views/events/event.h:163: /* On 2011/02/01 18:56:22, sky wrote: > ...
9 years, 10 months ago (2011-02-01 20:04:57 UTC) #3
sky
9 years, 10 months ago (2011-02-01 20:08:12 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698