diff options
Diffstat (limited to 'Source/core/css/parser/MediaQueryBlockWatcher.h')
-rw-r--r-- | Source/core/css/parser/MediaQueryBlockWatcher.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Source/core/css/parser/MediaQueryBlockWatcher.h b/Source/core/css/parser/MediaQueryBlockWatcher.h new file mode 100644 index 000000000..73937c066 --- /dev/null +++ b/Source/core/css/parser/MediaQueryBlockWatcher.h @@ -0,0 +1,25 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef MediaQueryBlockWatcher_h +#define MediaQueryBlockWatcher_h + +namespace WebCore { + +class MediaQueryToken; + +class MediaQueryBlockWatcher { +public: + + MediaQueryBlockWatcher(); + void handleToken(const MediaQueryToken&); + unsigned blockLevel() const { return m_blockLevel; } + +private: + unsigned m_blockLevel; +}; + +} // namespace + +#endif // MediaQueryBlockWatcher_h |