diff --git a/dom/base/nsFocusManager.h b/dom/base/nsFocusManager.h index 626c831d83f..17bec430f9d 100644 --- a/dom/base/nsFocusManager.h +++ b/dom/base/nsFocusManager.h @@ -57,7 +57,6 @@ struct nsDelayedBlurOrFocusEvent; */ class nsFocusManager : public nsIFocusManager, - public nsIFocusManager_MOZILLA_2_0_BRANCH, public nsIObserver, public nsSupportsWeakReference { @@ -67,7 +66,6 @@ public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS NS_DECL_NSIOBSERVER NS_DECL_NSIFOCUSMANAGER - NS_DECL_NSIFOCUSMANAGER_MOZILLA_2_0_BRANCH // called to initialize and stop the focus manager at startup and shutdown static nsresult Init(); diff --git a/dom/interfaces/base/nsIFocusManager.idl b/dom/interfaces/base/nsIFocusManager.idl index 2a2b3298f3d..59fb1409de2 100644 --- a/dom/interfaces/base/nsIFocusManager.idl +++ b/dom/interfaces/base/nsIFocusManager.idl @@ -39,7 +39,7 @@ interface nsIDocument; interface nsIContent; -[scriptable, uuid(5cb91200-53f6-4d35-989d-1d28ad80a0d4)] +[scriptable, uuid(51db277b-7ee7-4bce-9b84-fd2efcd2c8bd)] /** * The focus manager deals with all focus related behaviour. Only one element * in the entire application may have the focus at a time; this element @@ -261,14 +261,7 @@ interface nsIFocusManager : nsISupports * Fire any events that have been delayed due to synchronized actions. */ [noscript] void fireDelayedEvents(in nsIDocument aDocument); -}; -/** - * This interface extends nsIFocusManager for the 2.0 branch - */ -[scriptable, uuid(94a49833-0f6d-4d9b-b859-990546ad9b8d)] -interface nsIFocusManager_MOZILLA_2_0_BRANCH : nsISupports -{ /** * Indicate that a plugin wishes to take the focus. This is similar to a * normal focus except that the widget focus is not changed. Updating the diff --git a/layout/generic/nsObjectFrame.cpp b/layout/generic/nsObjectFrame.cpp index b4d4148090b..d7a58a9363d 100644 --- a/layout/generic/nsObjectFrame.cpp +++ b/layout/generic/nsObjectFrame.cpp @@ -2551,7 +2551,7 @@ nsObjectFrame::HandleEvent(nsPresContext* aPresContext, return fm->SetFocus(elem, 0); } else if (anEvent->message == NS_PLUGIN_FOCUS) { - nsIFocusManager_MOZILLA_2_0_BRANCH* fm = nsFocusManager::GetFocusManager(); + nsIFocusManager* fm = nsFocusManager::GetFocusManager(); if (fm) return fm->FocusPlugin(GetContent()); }