Bug 78082 - [BlackBerry] Upstream InspectorClientBlackBerry.{h, cpp}
Summary: [BlackBerry] Upstream InspectorClientBlackBerry.{h, cpp}
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Leo Yang
URL:
Keywords:
Depends on:
Blocks: 73144
  Show dependency treegraph
 
Reported: 2012-02-07 22:42 PST by Leo Yang
Modified: 2012-02-08 19:21 PST (History)
5 users (show)

See Also:


Attachments
Patch (8.45 KB, patch)
2012-02-07 22:49 PST, Leo Yang
rwlbuis: review-
Details | Formatted Diff | Diff
Patch v2 (8.44 KB, patch)
2012-02-08 18:55 PST, Leo Yang
rwlbuis: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Yang 2012-02-07 22:42:28 PST
This is the BlackBerry implement of InspectorClient.
Comment 1 Leo Yang 2012-02-07 22:49:12 PST
Created attachment 126009 [details]
Patch
Comment 2 Rob Buis 2012-02-08 04:39:36 PST
Comment on attachment 126009 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=126009&action=review

Looks good, can be cleaned up a bit more.

> Source/WebKit/blackberry/WebCoreSupport/InspectorClientBlackBerry.cpp:25
> +#include "FrameView.h"

Do you need this include?

> Source/WebKit/blackberry/WebCoreSupport/InspectorClientBlackBerry.cpp:26
> +#include "IntRect.h"

Ditto.

> Source/WebKit/blackberry/WebCoreSupport/InspectorClientBlackBerry.cpp:27
> +#include "IntSize.h"

Ditto.

> Source/WebKit/blackberry/WebCoreSupport/InspectorClientBlackBerry.cpp:132
> +    CString utf8Message =  message.utf8();

CString utf8Message = message.utf8();

> Source/WebKit/blackberry/WebCoreSupport/InspectorClientBlackBerry.h:24
> +#include "IntRect.h"

Do you need this include?
Comment 3 Leo Yang 2012-02-08 18:55:17 PST
Created attachment 126219 [details]
Patch v2
Comment 4 Rob Buis 2012-02-08 19:00:04 PST
Comment on attachment 126219 [details]
Patch v2

View in context: https://bugs.webkit.org/attachment.cgi?id=126219&action=review

Looks good!

> Source/WebKit/blackberry/WebCoreSupport/InspectorClientBlackBerry.h:56
> +    virtual void clearBrowserCookies();

Better add an empty line here.
Comment 5 Leo Yang 2012-02-08 19:04:29 PST
(In reply to comment #4)
> (From update of attachment 126219 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=126219&action=review
> 
> Looks good!
> 
> > Source/WebKit/blackberry/WebCoreSupport/InspectorClientBlackBerry.h:56
> > +    virtual void clearBrowserCookies();
> 
> Better add an empty line here.

Thanks. I will add a blank line before landing.
Comment 6 Leo Yang 2012-02-08 19:21:47 PST
Committed r107169: <http://trac.webkit.org/changeset/107169>