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

Issue 1818: Bulk fixes to get Mac Test Shell more compile-happy. (Closed)

Created:
12 years, 3 months ago by Avi (use Gerrit)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Bulk fixes to get Mac Test Shell more compile-happy. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=1909

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -123 lines) Patch
M base/time.h View 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/event_sending_controller.h View 1 2 3 4 5 6 3 chunks +8 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/event_sending_controller.cc View 1 2 3 4 5 6 17 chunks +51 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/mac/TestShell.xcodeproj/project.pbxproj View 1 15 chunks +43 lines, -43 lines 0 comments Download
M webkit/tools/test_shell/test_shell.h View 1 2 3 4 5 6 8 chunks +27 lines, -10 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.h View 6 chunks +23 lines, -10 lines 0 comments Download
M webkit/tools/test_shell/webview_host.h View 1 2 3 4 5 6 2 chunks +11 lines, -10 lines 0 comments Download
M webkit/tools/test_shell/webview_host.cc View 1 3 chunks +5 lines, -4 lines 0 comments Download
M webkit/tools/test_shell/webwidget_host.h View 1 2 3 4 5 6 6 chunks +34 lines, -17 lines 0 comments Download
M webkit/tools/test_shell/webwidget_host.cc View 1 2 16 chunks +24 lines, -23 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Avi (use Gerrit)
What you've all been waiting for...
12 years, 3 months ago (2008-09-08 18:28:11 UTC) #1
pink (ping after 24hrs)
LGTM, agree with evan on some TODOs. http://codereview.chromium.org/1818/diff/1/2 File webkit/tools/test_shell/event_sending_controller.cc (right): http://codereview.chromium.org/1818/diff/1/2#newcode85 Line 85: timebase_info.numer ...
12 years, 3 months ago (2008-09-08 18:54:52 UTC) #2
Amanda Walker
As long as you didn't intend to include the mac implementations of WebViewHost and WebWidgetHost, ...
12 years, 3 months ago (2008-09-08 18:55:02 UTC) #3
cesar.alaniz
http://codereview.chromium.org/1818/diff/1/8 File webkit/tools/test_shell/webview_host.cc (right): http://codereview.chromium.org/1818/diff/1/8#newcode17 Line 17: WebViewHost* WebViewHost::Create(HWND parent_window, WebViewDelegate* delegate, Should the first ...
12 years, 3 months ago (2008-09-08 19:17:07 UTC) #4
Mark Mentovai
This isn't a complete review, but I wanted to piggyback on one of pink's comments. ...
12 years, 3 months ago (2008-09-08 19:39:32 UTC) #5
Avi (use Gerrit)
Changed; please tell me what you think. http://codereview.chromium.org/1818/diff/1/2 File webkit/tools/test_shell/event_sending_controller.cc (right): http://codereview.chromium.org/1818/diff/1/2#newcode68 Line 68: #if ...
12 years, 3 months ago (2008-09-09 14:20:57 UTC) #6
Mark Mentovai
http://codereview.chromium.org/1818/diff/1/2 File webkit/tools/test_shell/event_sending_controller.cc (right): http://codereview.chromium.org/1818/diff/1/2#newcode68 Line 68: #if defined(OS_WIN) Avi wrote: > On 2008/09/08 19:39:33, ...
12 years, 3 months ago (2008-09-09 14:27:15 UTC) #7
Avi (use Gerrit)
On 2008/09/09 14:27:15, Mark Mentovai wrote: > double GetCurrentEventTimeSec() { > return (TimeTicks::Now() + time_offset_ms) ...
12 years, 3 months ago (2008-09-09 14:33:39 UTC) #8
Mark Mentovai
LGTM, nice job. http://codereview.chromium.org/1818/diff/76/221 File webkit/tools/test_shell/event_sending_controller.cc (right): http://codereview.chromium.org/1818/diff/76/221#newcode19 Line 19: #if defined(OS_WIN) See comments later ...
12 years, 3 months ago (2008-09-09 17:34:51 UTC) #9
Avi (use Gerrit)
12 years, 3 months ago (2008-09-09 18:22:06 UTC) #10
http://codereview.chromium.org/1818/diff/76/229
File webkit/tools/test_shell/webwidget_host.h (right):

http://codereview.chromium.org/1818/diff/76/229#newcode63
Line 63: // These need to be called from a non-subclass, so they need to be
public.
On 2008/09/09 17:34:51, Mark Mentovai wrote:
> ...or can we make friends?

As much as I hate to argue against Sesame Street, I'm not leaning towards
friendship here. Using inheritance here like Windows does feels unnecessarily
restrictive. They can inherit, make the native view be a subclass and get away
with things. With our view being ObjC, we need to go with "has a", and I think
this is a reasonably-clean interface.

Powered by Google App Engine
This is Rietveld 408576698