Closed
Bug 260272
Opened 20 years ago
Closed 20 years ago
Clean up nsGlobalChromeWindow::SetCursor()
Categories
(Core :: XUL, enhancement)
Core
XUL
Tracking
()
RESOLVED
FIXED
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
References
Details
Attachments
(4 files, 1 obsolete file)
2.45 KB,
text/plain
|
Details | |
77.63 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
1.68 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
1.65 KB,
patch
|
MatsPalmgren_bugz
:
review+
|
Details | Diff | Splinter Review |
Spawned off from bug 163174 comment 95. If this is the same list, why not use the same code? (That probably requires moving nsCSSParser::SearchKeywordTable into nsCSSProps, making it return the result instead of the index (which wouldn't hurt at all), and then calling nsCSSKeywords::LookupKeyword and nsCSSProps::SearchKeywordTable (your new one, which might need a different name from the existing ones, which I think should be renamed to RSearch* -- and RSearchKeywordTableInt should return an nsCSSKeyword enum instead of an int).)
Assignee | ||
Comment 1•20 years ago
|
||
Maybe we can improve (or even remove) nsEventStateManager::SetCursor() too.
Assignee | ||
Comment 2•20 years ago
|
||
The name "RSearchKeywordTableInt" doesn't say much about its function. How about "ValueToKeyword" or "GetFirstKeywordWithValue" or something instead?
Assignee | ||
Comment 3•20 years ago
|
||
Assignee | ||
Comment 4•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #159670 -
Flags: superreview?(dbaron)
Attachment #159670 -
Flags: review?(dbaron)
Attachment #159670 -
Flags: superreview?(dbaron)
Attachment #159670 -
Flags: superreview+
Attachment #159670 -
Flags: review?(dbaron)
Attachment #159670 -
Flags: review+
Assignee | ||
Comment 5•20 years ago
|
||
Checked in on trunk 2004-10-01 10:15 PDT -> FIXED
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 6•19 years ago
|
||
The 1.9 branch is opened, so this code can now be removed for that branch, not?
Attachment #197083 -
Flags: review?(mats.palmgren)
Assignee | ||
Comment 7•19 years ago
|
||
Comment on attachment 197083 [details] [diff] [review] patch for trunk IIRC, I was thinking of this when writing that comment: aCursor.Equals(NS_LITERAL_STRING("auto")) r=mats either way.
Attachment #197083 -
Flags: superreview?(dbaron)
Attachment #197083 -
Flags: review?(mats.palmgren)
Attachment #197083 -
Flags: review+
Assignee | ||
Comment 8•19 years ago
|
||
David, feel free to + the one you prefer.
Comment on attachment 197091 [details] [diff] [review] with string fix too Not sure why this should be after 1.8 -- if you're going to break compatibility, better to have fewer people relying on it than more. Please fix: * instead of Equals(NS_LITERAL_STRING("auto")), use EqualsLiteral("auto") * remove two spaces of indent on the "return NS_OK;", since it's no longer in an "else".
Attachment #197091 -
Flags: superreview+
Attachment #197091 -
Flags: review+
Attachment #197083 -
Flags: superreview?(dbaron)
Comment 10•19 years ago
|
||
Mats, the patch has r+ and sr+ so it can be checked in, not?
Whiteboard: [checkin needed]
Comment 11•18 years ago
|
||
Mats: are you going to check in any of the followup patches in this bug, or are they not wanted?
Updated•18 years ago
|
Whiteboard: [checkin needed]
Updated•18 years ago
|
Attachment #197083 -
Attachment is obsolete: true
Updated•18 years ago
|
Attachment #159670 -
Attachment description: Patch rev. 1 → Patch rev. 1
[Checkin: Comment 5]
Comment 12•18 years ago
|
||
"asqueella@gmail.com 2007-01-29 03:36:52 PST" removed "[checkin needed]". In an attempt to clarify/answer comment 11, let's summarize: *The first patch has already been checked in (comment 5). *The second patch is obsoleted by the third (comments 8 & 9). *The third patch (was/)is waiting for checkin, with two "nits" (comment 9). Mats, can you do this ?
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets
Comment 13•11 years ago
|
||
It seems that the follow-up patch never got checked in. I've updated it to include the fixes from comment 9.
Attachment #748514 -
Flags: review?(matspal)
Assignee | ||
Comment 14•11 years ago
|
||
Comment on attachment 748514 [details] [diff] [review] with string fix too (updated patch) Thanks.
Attachment #748514 -
Flags: review?(matspal) → review+
Comment 15•11 years ago
|
||
I don't have commit access myself, so someone else will need to push it.
Assignee | ||
Comment 16•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3b30b52b30a1
You need to log in
before you can comment on or make changes to this bug.
Description
•