| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Collabora Ltd. All rights reserved. | 3 * Copyright (C) 2008 Collabora Ltd. All rights reserved. |
| 4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 bool isVisible() const { | 86 bool isVisible() const { |
| 87 return m_selfVisible && m_parentVisible; | 87 return m_selfVisible && m_parentVisible; |
| 88 } // Whether or not we are actually visible. | 88 } // Whether or not we are actually visible. |
| 89 virtual void setParentVisible(bool visible) { m_parentVisible = visible; } | 89 virtual void setParentVisible(bool visible) { m_parentVisible = visible; } |
| 90 void setSelfVisible(bool v) { m_selfVisible = v; } | 90 void setSelfVisible(bool v) { m_selfVisible = v; } |
| 91 | 91 |
| 92 virtual bool isFrameView() const { return false; } | 92 virtual bool isFrameView() const { return false; } |
| 93 virtual bool isRemoteFrameView() const { return false; } | 93 virtual bool isRemoteFrameView() const { return false; } |
| 94 virtual bool isPluginView() const { return false; } | 94 virtual bool isPluginView() const { return false; } |
| 95 virtual bool isPluginContainer() const { return false; } | 95 virtual bool isPluginContainer() const { return false; } |
| 96 virtual bool isPlaceholder() { return false; } |
| 96 virtual bool isScrollbar() const { return false; } | 97 virtual bool isScrollbar() const { return false; } |
| 97 | 98 |
| 98 virtual void setParent(FrameViewBase*); | 99 virtual void setParent(FrameViewBase*); |
| 99 FrameViewBase* parent() const { return m_parent; } | 100 FrameViewBase* parent() const { return m_parent; } |
| 100 FrameViewBase* root() const; | 101 FrameViewBase* root() const; |
| 101 | 102 |
| 102 virtual void handleEvent(Event*) {} | 103 virtual void handleEvent(Event*) {} |
| 103 | 104 |
| 104 IntRect convertToRootFrame(const IntRect&) const; | 105 IntRect convertToRootFrame(const IntRect&) const; |
| 105 IntRect convertFromRootFrame(const IntRect&) const; | 106 IntRect convertFromRootFrame(const IntRect&) const; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 132 private: | 133 private: |
| 133 Member<FrameViewBase> m_parent; | 134 Member<FrameViewBase> m_parent; |
| 134 IntRect m_frameRect; | 135 IntRect m_frameRect; |
| 135 bool m_selfVisible; | 136 bool m_selfVisible; |
| 136 bool m_parentVisible; | 137 bool m_parentVisible; |
| 137 }; | 138 }; |
| 138 | 139 |
| 139 } // namespace blink | 140 } // namespace blink |
| 140 | 141 |
| 141 #endif // FrameViewBase_h | 142 #endif // FrameViewBase_h |
| OLD | NEW |