mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h
This commit is contained in:
parent
b817087e8e
commit
b6a67a9c1c
@ -32,15 +32,6 @@ class nsIDOMRange;
|
|||||||
{ 0xa6cf90e1, 0x15b3, 0x11d2, \
|
{ 0xa6cf90e1, 0x15b3, 0x11d2, \
|
||||||
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } }
|
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } }
|
||||||
|
|
||||||
#ifndef SELECTIONTYPE
|
|
||||||
enum SelectionType{SELECTION_NORMAL = 0,
|
|
||||||
SELECTION_SPELLCHECK,
|
|
||||||
SELECTION_IME_SOLID,
|
|
||||||
SELECTION_IME_DASHED,
|
|
||||||
NUM_SELECTIONTYPES};
|
|
||||||
#define SELECTIONTYPE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class nsIDOMSelection : public nsISupports {
|
class nsIDOMSelection : public nsISupports {
|
||||||
public:
|
public:
|
||||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMSELECTION_IID; return iid; }
|
static const nsIID& GetIID() { static nsIID iid = NS_IDOMSELECTION_IID; return iid; }
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include "nsIFrame.h"
|
#include "nsIFrame.h"
|
||||||
#include "nsIFocusTracker.h"
|
#include "nsIFocusTracker.h"
|
||||||
#include "nsIDOMSelection.h"
|
#include "nsIDOMSelection.h"
|
||||||
|
#include "nsIPresShell.h"
|
||||||
|
|
||||||
// IID for the nsIFrameSelection interface
|
// IID for the nsIFrameSelection interface
|
||||||
#define NS_IFRAMESELECTION_IID \
|
#define NS_IFRAMESELECTION_IID \
|
||||||
|
@ -52,6 +52,13 @@ class nsIFrameSelection;
|
|||||||
#define NS_PRESSHELL_SCROLL_CENTER 50
|
#define NS_PRESSHELL_SCROLL_CENTER 50
|
||||||
#define NS_PRESSHELL_SCROLL_ANYWHERE -1
|
#define NS_PRESSHELL_SCROLL_ANYWHERE -1
|
||||||
|
|
||||||
|
typedef enum SelectionType{SELECTION_NORMAL = 0,
|
||||||
|
SELECTION_SPELLCHECK,
|
||||||
|
SELECTION_IME_SOLID,
|
||||||
|
SELECTION_IME_DASHED,
|
||||||
|
NUM_SELECTIONTYPES} SelectionType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Presentation shell interface. Presentation shells are the
|
* Presentation shell interface. Presentation shells are the
|
||||||
* controlling point for managing the presentation of a document. The
|
* controlling point for managing the presentation of a document. The
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include "nsIFrame.h"
|
#include "nsIFrame.h"
|
||||||
#include "nsIFocusTracker.h"
|
#include "nsIFocusTracker.h"
|
||||||
#include "nsIDOMSelection.h"
|
#include "nsIDOMSelection.h"
|
||||||
|
#include "nsIPresShell.h"
|
||||||
|
|
||||||
// IID for the nsIFrameSelection interface
|
// IID for the nsIFrameSelection interface
|
||||||
#define NS_IFRAMESELECTION_IID \
|
#define NS_IFRAMESELECTION_IID \
|
||||||
|
@ -52,6 +52,13 @@ class nsIFrameSelection;
|
|||||||
#define NS_PRESSHELL_SCROLL_CENTER 50
|
#define NS_PRESSHELL_SCROLL_CENTER 50
|
||||||
#define NS_PRESSHELL_SCROLL_ANYWHERE -1
|
#define NS_PRESSHELL_SCROLL_ANYWHERE -1
|
||||||
|
|
||||||
|
typedef enum SelectionType{SELECTION_NORMAL = 0,
|
||||||
|
SELECTION_SPELLCHECK,
|
||||||
|
SELECTION_IME_SOLID,
|
||||||
|
SELECTION_IME_DASHED,
|
||||||
|
NUM_SELECTIONTYPES} SelectionType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Presentation shell interface. Presentation shells are the
|
* Presentation shell interface. Presentation shells are the
|
||||||
* controlling point for managing the presentation of a document. The
|
* controlling point for managing the presentation of a document. The
|
||||||
|
Loading…
x
Reference in New Issue
Block a user