зеркало из https://github.com/mozilla/pjs.git
317633 - undo/redo for Places. Make sure the various transactions work better - e.g. folder undo should save a list of its child nodes for restoration. Also ensure that bookmark edits done in the places tab aren't undone when another tab is selected and Ctrl+Z hit by implementing a transaction manager in the browser window that filters out places-tab transactions if the places tab isn't selected. Make the goDo*Command utility functions in globalOverlay.js consult the window looking for applicable controllers, not just the focused element. r=sullivan. Also 320085 - search menu keybindings for places: allow find bar to be turned off using a state variable, which prevents the opening of the strip but fires an event which other applications like places can listen to: 'find-activated'.
Original committer: beng%bengoodger.com Original revision: 1.48 Original date: 2006/01/31 17:59:54
This commit is contained in:
Родитель
18344e6fe0
Коммит
9c8df8ada9
|
@ -63,7 +63,6 @@
|
||||||
#include "nsServiceManagerUtils.h"
|
#include "nsServiceManagerUtils.h"
|
||||||
#include "nsIStringBundle.h"
|
#include "nsIStringBundle.h"
|
||||||
#include "nsITimer.h"
|
#include "nsITimer.h"
|
||||||
#include "nsITransactionManager.h"
|
|
||||||
#include "nsITreeSelection.h"
|
#include "nsITreeSelection.h"
|
||||||
#include "nsITreeView.h"
|
#include "nsITreeView.h"
|
||||||
#include "nsString.h"
|
#include "nsString.h"
|
||||||
|
@ -423,9 +422,6 @@ protected:
|
||||||
nsresult TokensToQueries(const nsTArray<QueryKeyValuePair>& aTokens,
|
nsresult TokensToQueries(const nsTArray<QueryKeyValuePair>& aTokens,
|
||||||
nsCOMArray<nsNavHistoryQuery>* aQueries,
|
nsCOMArray<nsNavHistoryQuery>* aQueries,
|
||||||
nsNavHistoryQueryOptions* aOptions);
|
nsNavHistoryQueryOptions* aOptions);
|
||||||
|
|
||||||
// Transaction Manager
|
|
||||||
nsCOMPtr<nsITransactionManager> mTransactionManager;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Загрузка…
Ссылка в новой задаче