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

Issue 11269022: Add Vector2d classes that represent offsets, instead of using Point. (Closed)

Created:
8 years, 2 months ago by danakj
Modified:
8 years, 1 month ago
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, yoshiki+watch_chromium.org, dcheng, dmazzoni+watch_chromium.org, alicet1, msw+watch_chromium.org, ben+watch_chromium.org, aboxhall+watch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, jennb, penghuang+watch_chromium.org, yuzo+watch_chromium.org, jianli, ctguil+watch_chromium.org, zork+watch_chromium.org, hashimoto+watch_chromium.org, tfarina, Dmitry Titov, davidbarr+watch_chromium.org, dtseng+watch_chromium.org, cc-bugs_chromium.org, James Su, piman, backer, shawnsingh
Visibility:
Public.

Description

Add Vector2d classes that represent offsets, instead of using Point. Previously Point served two purposes, to be a position in 2d space, and also an offset from the origin. This introduces a Vector2d class to represent an offset, allowing typesafety checks for geometric operations. The following are now the case: Point +/- Vector = Point - A point plus/minus an offset gives you a point at a position offset by the vector. Vector +/- Vector = Vector - Two offsets can be added together to make a new offset. Point - Point = Vector - Subtracting one point from another gives you the offset between the two points. We add some new methods to perform these operations: Rect::OffsetFromOrigin() gives the offset between the position of the rect and the origin. Point::OffsetFromOrigin() gives the offset between the point and the origin. PointAtOffsetFromOrigin(Vector2d) converts a Vector2d to a Point at the given offset away from the origin. Rect::Offset(), Point::Add(), and Point::Subtract() now receive a Vector2d instead of a point. BUG=147395 R=sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=165198

Patch Set 1 #

Patch Set 2 : build #

Total comments: 5

Patch Set 3 : stylenits+win #

Patch Set 4 : #

Patch Set 5 : Add vector2d unittests, IsZero(), and ==/+/- operators #

Patch Set 6 : win_aura-fix #

Patch Set 7 : vector scale and rect from a vector #

Patch Set 8 : add scale(x,y), rectf constructor to match rect, and unittests #

Patch Set 9 : vector length and conversion to size #

Total comments: 6

Patch Set 10 : consts #

Total comments: 10

Patch Set 11 : remove SizeOfVector #

Total comments: 13

Patch Set 12 : Offset instead of Distance, Subtract instead of OffsetFrom #

Patch Set 13 : Split up vector2d_f.h/cc similar to vector2d.h/cc #

Patch Set 14 : add back missing vector files #

Patch Set 15 : Add comments to the API #

Patch Set 16 : buildfixin #

Patch Set 17 : rebase #

Total comments: 17

Patch Set 18 : rebasefinal #

Total comments: 6

Patch Set 19 : inlines #

Total comments: 10

Patch Set 20 : more vector use fixes #

Total comments: 65

Patch Set 21 : addressed feedback #

Patch Set 22 : Build fixes including adding Point::operator+=/-= #

Patch Set 23 : Const+rebase to head #

Total comments: 2

Patch Set 24 : Comments addressed #

Total comments: 2

Patch Set 25 : Use step vector #

Patch Set 26 : Fix step change #

Patch Set 27 : Upload failed #

Patch Set 28 : Fix step one more time #

Total comments: 21

Patch Set 29 : Comments addressed #

Patch Set 30 : RenderText fixup #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1111 lines, -489 lines) Patch
M WATCHLISTS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -1 line 0 comments Download
M ash/display/multi_display_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +8 lines, -6 lines 0 comments Download
M ash/drag_drop/drag_drop_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/launcher/launcher_tooltip_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/launcher/overflow_bubble.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +3 lines, -3 lines 0 comments Download
M ash/tooltips/tooltip_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -3 lines 0 comments Download
M ash/wm/gestures/long_press_affordance_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/toplevel_window_event_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/toplevel_window_event_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace/frame_maximize_button.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +7 lines, -10 lines 0 comments Download
M ash/wm/workspace/workspace_event_handler_unittest.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M cc/gl_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/notifications/balloon.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/notifications/balloon_collection_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/download/download_shelf_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/ui/gtk/gtk_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +3 lines, -9 lines 0 comments Download
M chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/panel_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_drag_browsertest.cc View 23 chunks +32 lines, -32 lines 0 comments Download
M chrome/browser/ui/panels/panel_drag_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_drag_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_resize_browsertest.cc View 17 chunks +17 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/browser_actions_container.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/constrained_window_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/download/download_item_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/dropdown_bar_view.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/panels/panel_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/speech_recognition_bubble_views.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/tab_drag_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_drag_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 8 chunks +11 lines, -13 lines 0 comments Download
M chrome/browser/ui/window_snapshot/window_snapshot_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/window_snapshot/window_snapshot_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +6 lines, -10 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_embedder_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +7 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +8 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac_unittest.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 3 chunks +3 lines, -4 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/interstitial_page_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 22 23 24 25 26 27 28 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_drag_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_drag_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_view_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_gtk.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_view_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_drag_source_gtk.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_drag_source_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M content/common/browser_plugin_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M content/common/drag_messages.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +2 lines, -1 line 0 comments Download
M content/plugin/webplugin_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/port/browser/render_view_host_delegate_view.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/port/browser/render_widget_host_view_port.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/browser/render_widget_host.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/common_param_traits.h View 2 chunks +9 lines, -0 lines 0 comments Download
M content/public/common/common_param_traits.cc View 1 chunk +20 lines, -0 lines 2 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +8 lines, -9 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/test_web_contents_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M content/test/test_web_contents_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/apps_grid_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/apps_grid_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +4 lines, -4 lines 0 comments Download
M ui/aura/client/window_move_client.h View 2 chunks +2 lines, -1 line 0 comments Download
M ui/aura/test/event_generator.h View 3 chunks +3 lines, -3 lines 0 comments Download
M ui/aura/test/event_generator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +6 lines, -4 lines 0 comments Download
M ui/base/dragdrop/drag_utils.h View 12 13 14 15 3 chunks +3 lines, -3 lines 0 comments Download
M ui/base/dragdrop/drag_utils.cc View 12 13 14 15 21 22 23 24 25 26 27 28 1 chunk +3 lines, -4 lines 0 comments Download
M ui/base/dragdrop/drag_utils_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -2 lines 0 comments Download
M ui/base/dragdrop/drag_utils_gtk.cc View 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M ui/base/dragdrop/drag_utils_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +3 lines, -3 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aura.h View 3 chunks +4 lines, -4 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_gtk.h View 12 13 14 15 3 chunks +4 lines, -4 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +3 lines, -2 lines 0 comments Download
M ui/base/gestures/gesture_recognizer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +7 lines, -6 lines 0 comments Download
M ui/base/gtk/gtk_screen_util.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -2 lines 0 comments Download
M ui/base/gtk/gtk_screen_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +5 lines, -7 lines 0 comments Download
M ui/gfx/blit.h View 2 chunks +2 lines, -1 line 0 comments Download
M ui/gfx/blit.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -1 line 0 comments Download
M ui/gfx/blit_unittest.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M ui/gfx/canvas.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/canvas.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/gfx/point.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +13 lines, -4 lines 0 comments Download
M ui/gfx/point.cc View 2 chunks +8 lines, -6 lines 0 comments Download
M ui/gfx/point_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +21 lines, -5 lines 0 comments Download
M ui/gfx/point_f.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +13 lines, -4 lines 0 comments Download
M ui/gfx/point_f.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ui/gfx/point_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +33 lines, -0 lines 0 comments Download
M ui/gfx/rect.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +4 lines, -2 lines 0 comments Download
M ui/gfx/rect.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -2 lines 0 comments Download
M ui/gfx/rect_base.h View 1 2 3 4 5 6 7 8 9 10 11 19 20 3 chunks +7 lines, -2 lines 0 comments Download
M ui/gfx/rect_base_impl.h View 19 chunks +59 lines, -38 lines 0 comments Download
M ui/gfx/rect_f.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +4 lines, -2 lines 0 comments Download
M ui/gfx/rect_f.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +3 lines, -2 lines 0 comments Download
M ui/gfx/render_text.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +7 lines, -5 lines 0 comments Download
M ui/gfx/render_text.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 4 chunks +29 lines, -29 lines 0 comments Download
M ui/gfx/render_text_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +5 lines, -6 lines 0 comments Download
A ui/gfx/vector2d.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +81 lines, -0 lines 0 comments Download
A ui/gfx/vector2d.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +45 lines, -0 lines 0 comments Download
A ui/gfx/vector2d_conversions.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +24 lines, -0 lines 0 comments Download
A ui/gfx/vector2d_conversions.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +30 lines, -0 lines 0 comments Download
A ui/gfx/vector2d_f.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +81 lines, -0 lines 0 comments Download
A ui/gfx/vector2d_f.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +54 lines, -0 lines 0 comments Download
A ui/gfx/vector2d_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +186 lines, -0 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +6 lines, -0 lines 0 comments Download
M ui/ui_unittests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/bubble/bubble_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/button_drag_utils.cc View 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/menu/menu_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +3 lines, -4 lines 0 comments Download
M ui/views/controls/menu/menu_image_util.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/slider.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/table/table_view_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 3 chunks +5 lines, -6 lines 0 comments Download
M ui/views/controls/textfield/native_textfield_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/painter.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M ui/views/view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +2 lines, -1 line 0 comments Download
M ui/views/view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 7 chunks +11 lines, -14 lines 0 comments Download
M ui/views/widget/desktop_native_widget_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_native_widget_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_root_window_host.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/widget/desktop_root_window_host_linux.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_root_window_host_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_root_window_host_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_root_window_host_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/native_widget_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/native_widget_private.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/widget/native_widget_win.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/native_widget_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/widget.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/widget.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/x11_desktop_window_move_client.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/widget/x11_desktop_window_move_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/win/hwnd_message_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/win/hwnd_message_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +4 lines, -3 lines 0 comments Download
M webkit/plugins/ppapi/ppb_graphics_2d_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 60 (0 generated)
danakj
Hi Sky, Please take a look! Thanks. The interesting parts are, of course: ui/gfx/vector* ui/gfx/point* ...
8 years, 2 months ago (2012-10-25 00:32:12 UTC) #1
tfarina
https://codereview.chromium.org/11269022/diff/2001/ui/gfx/vector2d.h File ui/gfx/vector2d.h (right): https://codereview.chromium.org/11269022/diff/2001/ui/gfx/vector2d.h#newcode46 ui/gfx/vector2d.h:46: int m_x; nit: please remember that we are in ...
8 years, 2 months ago (2012-10-25 00:40:20 UTC) #2
tfarina
https://codereview.chromium.org/11269022/diff/2001/ui/gfx/point.h File ui/gfx/point.h (right): https://codereview.chromium.org/11269022/diff/2001/ui/gfx/point.h#newcode25 ui/gfx/point.h:25: class UI_EXPORT Point : public PointBase<Point, int, Vector2d> { ...
8 years, 2 months ago (2012-10-25 00:41:52 UTC) #3
danakj
https://codereview.chromium.org/11269022/diff/2001/ui/gfx/point.h File ui/gfx/point.h (right): https://codereview.chromium.org/11269022/diff/2001/ui/gfx/point.h#newcode25 ui/gfx/point.h:25: class UI_EXPORT Point : public PointBase<Point, int, Vector2d> { ...
8 years, 2 months ago (2012-10-25 00:59:08 UTC) #4
danakj
I started making use of the Vector2d to replace IntSize in cc/ here https://codereview.chromium.org/11266030/ and ...
8 years, 2 months ago (2012-10-25 02:38:00 UTC) #5
sky
Before reviewing this I want to resolve whether we we should go with returning new ...
8 years, 1 month ago (2012-10-25 15:30:39 UTC) #6
danakj
I used this for a bunch more porting found these missing, so I added them ...
8 years, 1 month ago (2012-10-26 02:48:56 UTC) #7
danakj
On Oct 25, 2012 10:48 PM, <danakj@chromium.org> wrote: > > I used this for a ...
8 years, 1 month ago (2012-10-26 04:36:53 UTC) #8
Ian Vollick
On 2012/10/26 04:36:53, danakj wrote: > On Oct 25, 2012 10:48 PM, <mailto:danakj@chromium.org> wrote: > ...
8 years, 1 month ago (2012-10-26 12:45:02 UTC) #9
danakj
On Fri, Oct 26, 2012 at 8:45 AM, <vollick@chromium.org> wrote: > On 2012/10/26 04:36:53, danakj ...
8 years, 1 month ago (2012-10-26 15:53:03 UTC) #10
sky
I'm adding Peter as a reviewer on this one. https://codereview.chromium.org/11269022/diff/16001/ui/gfx/point.h File ui/gfx/point.h (right): https://codereview.chromium.org/11269022/diff/16001/ui/gfx/point.h#newcode72 ui/gfx/point.h:72: ...
8 years, 1 month ago (2012-10-26 20:22:17 UTC) #11
tfarina
On Fri, Oct 26, 2012 at 1:52 PM, Dana Jansens <danakj@chromium.org> wrote: > On Fri, ...
8 years, 1 month ago (2012-10-26 20:26:13 UTC) #12
Peter Kasting
Talked with Scott. The concept of a vector is something I'm fine with, and the ...
8 years, 1 month ago (2012-10-26 20:36:18 UTC) #13
danakj
On Fri, Oct 26, 2012 at 4:36 PM, <pkasting@chromium.org> wrote: > Talked with Scott. The ...
8 years, 1 month ago (2012-10-26 20:41:43 UTC) #14
danakj
Thanks Sky, consts addressed. vollick@ had suggested to me that "Rect BoundingRect(Point, Point)" might make ...
8 years, 1 month ago (2012-10-26 20:42:56 UTC) #15
Peter Kasting
On 2012/10/26 20:42:56, danakj wrote: > Thanks Sky, consts addressed. > > vollick@ had suggested ...
8 years, 1 month ago (2012-10-26 20:50:46 UTC) #16
danakj
On 2012/10/26 20:50:46, Peter Kasting wrote: > On 2012/10/26 20:42:56, danakj wrote: > > Thanks ...
8 years, 1 month ago (2012-10-26 21:03:04 UTC) #17
sky
I didn't make it all the way through this review. I feel like there are ...
8 years, 1 month ago (2012-10-26 21:37:49 UTC) #18
Peter Kasting
I think we need to be careful to be as simple and clear as possible ...
8 years, 1 month ago (2012-10-26 21:50:11 UTC) #19
Peter Kasting
Oh, one other thing. "Distance" may be a bad word to use with arguments or ...
8 years, 1 month ago (2012-10-26 21:51:59 UTC) #20
danakj
Agree about Offset for the name, thanks. I'll switch that and make these two changes. ...
8 years, 1 month ago (2012-10-26 21:59:43 UTC) #21
Peter Kasting
On 2012/10/26 21:59:43, danakj wrote: > I don't feel religious about using Vectors instead of ...
8 years, 1 month ago (2012-10-26 22:04:05 UTC) #22
tfarina
http://codereview.chromium.org/11269022/diff/16002/ui/gfx/vector2d_unittest.cc File ui/gfx/vector2d_unittest.cc (right): http://codereview.chromium.org/11269022/diff/16002/ui/gfx/vector2d_unittest.cc#newcode12 ui/gfx/vector2d_unittest.cc:12: namespace ui { Looks like only the unittests you ...
8 years, 1 month ago (2012-10-26 22:04:18 UTC) #23
danakj
http://codereview.chromium.org/11269022/diff/16002/ui/gfx/vector2d_unittest.cc File ui/gfx/vector2d_unittest.cc (right): http://codereview.chromium.org/11269022/diff/16002/ui/gfx/vector2d_unittest.cc#newcode12 ui/gfx/vector2d_unittest.cc:12: namespace ui { On 2012/10/26 22:04:19, tfarina wrote: > ...
8 years, 1 month ago (2012-10-26 22:07:58 UTC) #24
tfarina
http://codereview.chromium.org/11269022/diff/16002/ui/gfx/vector2d_f.h File ui/gfx/vector2d_f.h (right): http://codereview.chromium.org/11269022/diff/16002/ui/gfx/vector2d_f.h#newcode5 ui/gfx/vector2d_f.h:5: // Defines a simple float vector class. This class ...
8 years, 1 month ago (2012-10-26 22:22:30 UTC) #25
danakj
http://codereview.chromium.org/11269022/diff/16002/ui/gfx/vector2d_f.h File ui/gfx/vector2d_f.h (right): http://codereview.chromium.org/11269022/diff/16002/ui/gfx/vector2d_f.h#newcode56 ui/gfx/vector2d_f.h:56: float Length() const { On 2012/10/26 22:22:30, tfarina wrote: ...
8 years, 1 month ago (2012-10-26 22:24:51 UTC) #26
tfarina
On Fri, Oct 26, 2012 at 8:24 PM, <danakj@chromium.org> wrote: > I can, though I'm ...
8 years, 1 month ago (2012-10-26 22:26:59 UTC) #27
sky
Old cranky stick in the mud here. For the record I prefer adding more methods ...
8 years, 1 month ago (2012-10-26 22:37:00 UTC) #28
Peter Kasting
After talking with Scott some more, I suspect some of the friction here is because, ...
8 years, 1 month ago (2012-10-26 22:44:49 UTC) #29
danakj
I think one thing that helps a lot is renaming distance to offset. Now you ...
8 years, 1 month ago (2012-10-26 22:55:49 UTC) #30
sky
On Fri, Oct 26, 2012 at 3:44 PM, <pkasting@chromium.org> wrote: > After talking with Scott ...
8 years, 1 month ago (2012-10-26 23:20:49 UTC) #31
danakj
PTAL http://codereview.chromium.org/11269022/diff/15002/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc File chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc (right): http://codereview.chromium.org/11269022/diff/15002/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc#newcode510 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc:510: gfx::Vector2d tabstrip_offset = On 2012/10/26 21:50:12, Peter Kasting ...
8 years, 1 month ago (2012-10-26 23:30:33 UTC) #32
Peter Kasting
http://codereview.chromium.org/11269022/diff/16002/ui/views/view.cc File ui/views/view.cc (right): http://codereview.chromium.org/11269022/diff/16002/ui/views/view.cc#newcode626 ui/views/view.cc:626: root->GetWidget()->GetClientAreaBoundsInScreen().DistanceFromOrigin()); On 2012/10/26 23:30:34, danakj wrote: > We probably ...
8 years, 1 month ago (2012-10-26 23:50:15 UTC) #33
danakj
Rebased. http://codereview.chromium.org/11269022/diff/23302/ash/display/multi_display_manager.cc File ash/display/multi_display_manager.cc (left): http://codereview.chromium.org/11269022/diff/23302/ash/display/multi_display_manager.cc#oldcode521 ash/display/multi_display_manager.cc:521: int64 distance = diff.x() * diff.x() + diff.y() ...
8 years, 1 month ago (2012-10-27 00:35:32 UTC) #34
Peter Kasting
Had to run before I made it any further than chrome/browser/ui/gtk/download/download_shelf_gtk.cc . Feel free to ...
8 years, 1 month ago (2012-10-27 01:01:39 UTC) #35
danakj
I think our best API change would be to add a GetOffsetInScreen() method and CenterOffset() ...
8 years, 1 month ago (2012-10-29 19:17:19 UTC) #36
Peter Kasting
(Sending comments up to but not including browser_view.cc since you're uploading a new patch) http://codereview.chromium.org/11269022/diff/32016/ash/display/multi_display_manager.cc ...
8 years, 1 month ago (2012-10-29 23:06:32 UTC) #37
danakj
http://codereview.chromium.org/11269022/diff/32016/ash/display/multi_display_manager.cc File ash/display/multi_display_manager.cc (right): http://codereview.chromium.org/11269022/diff/32016/ash/display/multi_display_manager.cc#newcode529 ash/display/multi_display_manager.cc:529: int64 distance = (center - location_in_screen).LengthSquared(); On 2012/10/29 23:06:33, ...
8 years, 1 month ago (2012-10-29 23:21:40 UTC) #38
danakj
The other changes were: content/browser/accessibility/browser_accessibility_win.cc BrowserAccessibilityWin::scrollToPoint content/browser/renderer_host/render_widget_host_view_gtk.cc RenderWidgetHostViewGtk::CopyFromCompositingSurface content/browser/renderer_host/render_widget_host_view_win.cc RenderWidgetHostViewWin::Redraw ui/views/view.cc View::ConvertPointToScreen View::ConvertPointFromScreen
8 years, 1 month ago (2012-10-29 23:26:05 UTC) #39
Peter Kasting
http://codereview.chromium.org/11269022/diff/5049/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): http://codereview.chromium.org/11269022/diff/5049/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode505 chrome/browser/ui/views/tabs/tab_drag_controller.cc:505: gfx::Vector2d dragged_view_offset = GetWindowOffset(point_in_screen); Nit: Inline http://codereview.chromium.org/11269022/diff/5049/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode1300 chrome/browser/ui/views/tabs/tab_drag_controller.cc:1300: gfx::Vector2d ...
8 years, 1 month ago (2012-10-30 01:14:14 UTC) #40
danakj
PTAL. Avoiding done spam; anything without a reply comment I addressed without needing to comment ...
8 years, 1 month ago (2012-10-30 19:21:21 UTC) #41
Peter Kasting
http://codereview.chromium.org/11269022/diff/5049/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): http://codereview.chromium.org/11269022/diff/5049/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode2038 chrome/browser/ui/views/tabs/tab_drag_controller.cc:2038: return point.OffsetFromOrigin(); On 2012/10/30 19:21:21, danakj wrote: > On ...
8 years, 1 month ago (2012-10-30 20:24:37 UTC) #42
danakj
There's some set_x() use elsewhere in the code still, that used to set_x() on a ...
8 years, 1 month ago (2012-10-30 21:14:52 UTC) #43
Peter Kasting
http://codereview.chromium.org/11269022/diff/5049/ui/aura/test/event_generator.cc File ui/aura/test/event_generator.cc (right): http://codereview.chromium.org/11269022/diff/5049/ui/aura/test/event_generator.cc#newcode132 ui/aura/test/event_generator.cc:132: gfx::Vector2d(diff.x() / count * i, diff.y() / count * ...
8 years, 1 month ago (2012-10-30 21:41:23 UTC) #44
danakj
Done. http://codereview.chromium.org/11269022/diff/5049/ui/aura/test/event_generator.cc File ui/aura/test/event_generator.cc (right): http://codereview.chromium.org/11269022/diff/5049/ui/aura/test/event_generator.cc#newcode132 ui/aura/test/event_generator.cc:132: gfx::Vector2d(diff.x() / count * i, diff.y() / count ...
8 years, 1 month ago (2012-10-30 21:49:09 UTC) #45
Peter Kasting
Will re-review http://codereview.chromium.org/11269022/diff/5049/ui/aura/test/event_generator.cc File ui/aura/test/event_generator.cc (right): http://codereview.chromium.org/11269022/diff/5049/ui/aura/test/event_generator.cc#newcode132 ui/aura/test/event_generator.cc:132: gfx::Vector2d(diff.x() / count * i, diff.y() / ...
8 years, 1 month ago (2012-10-30 21:56:35 UTC) #46
danakj
I messed up the upload and then one blew up, but should be good to ...
8 years, 1 month ago (2012-10-30 21:59:34 UTC) #47
Peter Kasting
LGTM http://codereview.chromium.org/11269022/diff/42207/ash/wm/workspace/frame_maximize_button.cc File ash/wm/workspace/frame_maximize_button.cc (right): http://codereview.chromium.org/11269022/diff/42207/ash/wm/workspace/frame_maximize_button.cc#newcode453 ash/wm/workspace/frame_maximize_button.cc:453: else if (delta.x() < 0 && delta.y() > ...
8 years, 1 month ago (2012-10-31 01:04:40 UTC) #48
danakj
Thanks so much for the very thorough review on such a large change! http://codereview.chromium.org/11269022/diff/42207/ash/wm/workspace/frame_maximize_button.cc File ...
8 years, 1 month ago (2012-10-31 16:55:46 UTC) #49
danakj
+sky for OWNERS on ui/ ash/ chrome/ +piman for OWNERS on content/ webkit/plugins/ppapi/ +enne for ...
8 years, 1 month ago (2012-10-31 16:58:15 UTC) #50
sky
Rubber stamp LGTM
8 years, 1 month ago (2012-10-31 17:13:03 UTC) #51
Peter Kasting
http://codereview.chromium.org/11269022/diff/42207/ui/aura/test/event_generator.cc File ui/aura/test/event_generator.cc (right): http://codereview.chromium.org/11269022/diff/42207/ui/aura/test/event_generator.cc#newcode134 ui/aura/test/event_generator.cc:134: gfx::Point move_point = current_location_ + gfx::ToFlooredVector2d(step); On 2012/10/31 16:55:46, ...
8 years, 1 month ago (2012-10-31 17:13:40 UTC) #52
danakj
http://codereview.chromium.org/11269022/diff/42207/ui/gfx/render_text.cc File ui/gfx/render_text.cc (right): http://codereview.chromium.org/11269022/diff/42207/ui/gfx/render_text.cc#newcode875 ui/gfx/render_text.cc:875: Vector2d(0, (display_rect().height() - GetStringSize().height()) / 2)); On 2012/10/31 17:13:41, ...
8 years, 1 month ago (2012-10-31 17:15:00 UTC) #53
Peter Kasting
http://codereview.chromium.org/11269022/diff/42207/ui/gfx/render_text.cc File ui/gfx/render_text.cc (right): http://codereview.chromium.org/11269022/diff/42207/ui/gfx/render_text.cc#newcode875 ui/gfx/render_text.cc:875: Vector2d(0, (display_rect().height() - GetStringSize().height()) / 2)); On 2012/10/31 17:15:00, ...
8 years, 1 month ago (2012-10-31 17:18:41 UTC) #54
Peter Kasting
http://codereview.chromium.org/11269022/diff/42207/ui/gfx/render_text.cc File ui/gfx/render_text.cc (right): http://codereview.chromium.org/11269022/diff/42207/ui/gfx/render_text.cc#newcode875 ui/gfx/render_text.cc:875: Vector2d(0, (display_rect().height() - GetStringSize().height()) / 2)); Incidentally, I suspect ...
8 years, 1 month ago (2012-10-31 17:19:53 UTC) #55
danakj
On Wed, Oct 31, 2012 at 1:18 PM, <pkasting@chromium.org> wrote: > > http://codereview.chromium.org/11269022/diff/42207/ui/gfx/render_text.cc > File ...
8 years, 1 month ago (2012-10-31 17:29:31 UTC) #56
enne (OOO)
lgtm
8 years, 1 month ago (2012-10-31 17:51:52 UTC) #57
piman
LGTM+nit http://codereview.chromium.org/11269022/diff/62001/content/public/common/common_param_traits.cc File content/public/common/common_param_traits.cc (right): http://codereview.chromium.org/11269022/diff/62001/content/public/common/common_param_traits.cc#newcode160 content/public/common/common_param_traits.cc:160: gfx::Vector2d* r) { nit: indentation
8 years, 1 month ago (2012-10-31 18:07:23 UTC) #58
Peter Kasting
On 2012/10/31 17:29:31, danakj wrote: > Oh, but then the Vector2d is still a parameter ...
8 years, 1 month ago (2012-10-31 18:08:52 UTC) #59
Peter Kasting
8 years, 1 month ago (2012-10-31 18:09:28 UTC) #60
http://codereview.chromium.org/11269022/diff/62001/content/public/common/comm...
File content/public/common/common_param_traits.cc (right):

http://codereview.chromium.org/11269022/diff/62001/content/public/common/comm...
content/public/common/common_param_traits.cc:160: gfx::Vector2d* r) {
On 2012/10/31 18:07:23, piman wrote:
> nit: indentation

Also, one arg per line if they don't all fit on one line.

Powered by Google App Engine
This is Rietveld 408576698