Bug 1869043 allow a device to be specified with MediaTrackGraph::NotifyWhenDeviceStar...
[gecko.git] / layout / tables / nsITableCellLayout.h
blob9413911689ac8db591f29a5695de7db85e150d6e
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef nsITableCellLayout_h__
6 #define nsITableCellLayout_h__
8 #include "nsQueryFrame.h"
10 #define MAX_ROWSPAN 65534 // the cellmap can not handle more.
11 #define MAX_COLSPAN \
12 1000 // limit as IE and opera do. If this ever changes,
13 // change COL_SPAN_OFFSET/COL_SPAN_SHIFT accordingly.
15 /**
16 * nsITableCellLayout
17 * interface for layout objects that act like table cells.
18 * XXXbz This interface should really go away...
20 * @author sclark
22 class nsITableCellLayout {
23 public:
24 NS_DECL_QUERYFRAME_TARGET(nsITableCellLayout)
26 /** return the mapped cell's row and column indexes (starting at 0 for each)
28 NS_IMETHOD GetCellIndexes(int32_t& aRowIndex, int32_t& aColIndex) = 0;
31 #endif