зеркало из https://github.com/mozilla/gecko-dev.git
84230 - DOM Inspector revival, rs=hyatt
This commit is contained in:
Родитель
4c79b367b4
Коммит
26b485c0aa
|
@ -1,5 +1,4 @@
|
||||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
/*
|
||||||
*
|
|
||||||
* The contents of this file are subject to the Netscape Public
|
* The contents of this file are subject to the Netscape Public
|
||||||
* License Version 1.1 (the "License"); you may not use this file
|
* License Version 1.1 (the "License"); you may not use this file
|
||||||
* except in compliance with the License. You may obtain a copy of
|
* except in compliance with the License. You may obtain a copy of
|
||||||
|
@ -14,10 +13,11 @@
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Netscape
|
* The Initial Developer of the Original Code is Netscape
|
||||||
* Communications Corporation. Portions created by Netscape are
|
* Communications Corporation. Portions created by Netscape are
|
||||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
* Copyright (C) 2001 Netscape Communications Corporation. All
|
||||||
* Rights Reserved.
|
* Rights Reserved.
|
||||||
*
|
*
|
||||||
* Contributor(s):
|
* Contributor(s):
|
||||||
|
* Joe Hewitt <hewitt@netscape.com> (original author)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __inCSSValueSearch_h__
|
#ifndef __inCSSValueSearch_h__
|
||||||
|
@ -73,13 +73,4 @@ public:
|
||||||
NS_DECL_INICSSVALUESEARCH
|
NS_DECL_INICSSVALUESEARCH
|
||||||
};
|
};
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////
|
#endif // __inCSSValueSearch_h__
|
||||||
|
|
||||||
// {4D977F60-FBE7-4583-8CB7-F5ED882293EF}
|
|
||||||
#define IN_CSSVALUESEARCH_CID \
|
|
||||||
{ 0x4d977f60, 0xfbe7, 0x4583, { 0x8c, 0xb7, 0xf5, 0xed, 0x88, 0x22, 0x93, 0xef } }
|
|
||||||
|
|
||||||
#define IN_CSSVALUESEARCH_CONTRACTID \
|
|
||||||
"@mozilla.org/inspector/search;1?type=cssvalue"
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -36,6 +36,8 @@ inFileSearch::inFileSearch()
|
||||||
|
|
||||||
inFileSearch::~inFileSearch()
|
inFileSearch::~inFileSearch()
|
||||||
{
|
{
|
||||||
|
delete mSearchLoop;
|
||||||
|
delete mTextCriteria;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_ISUPPORTS2(inFileSearch, inISearchProcess, inIFileSearch);
|
NS_IMPL_ISUPPORTS2(inFileSearch, inISearchProcess, inIFileSearch);
|
||||||
|
@ -71,7 +73,6 @@ inFileSearch::SetHoldResults(PRBool aHoldResults)
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
inFileSearch::SearchSync()
|
inFileSearch::SearchSync()
|
||||||
{
|
{
|
||||||
|
@ -240,7 +241,7 @@ inFileSearch::SetFilenameCriteria(const PRUnichar* aFilenameCriteria)
|
||||||
|
|
||||||
// second pass: split up at commas and insert into array
|
// second pass: split up at commas and insert into array
|
||||||
idx = 0;
|
idx = 0;
|
||||||
PRUint32 lastComma = -1;
|
PRInt32 lastComma = -1;
|
||||||
PRUnichar* buf = new PRUnichar[257];
|
PRUnichar* buf = new PRUnichar[257];
|
||||||
c = aFilenameCriteria;
|
c = aFilenameCriteria;
|
||||||
PRBool going = PR_TRUE;
|
PRBool going = PR_TRUE;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче