Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: third_party/WebKit/Source/platform/Widget.h

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual void setFocus(bool, WebFocusType) { } 74 virtual void setFocus(bool, WebFocusType) { }
75 75
76 virtual void show() { } 76 virtual void show() { }
77 virtual void hide() { } 77 virtual void hide() { }
78 bool isSelfVisible() const { return m_selfVisible; } // Whether or not we ha ve been explicitly marked as visible or not. 78 bool isSelfVisible() const { return m_selfVisible; } // Whether or not we ha ve been explicitly marked as visible or not.
79 bool isParentVisible() const { return m_parentVisible; } // Whether or not o ur parent is visible. 79 bool isParentVisible() const { return m_parentVisible; } // Whether or not o ur parent is visible.
80 bool isVisible() const { return m_selfVisible && m_parentVisible; } // Wheth er or not we are actually visible. 80 bool isVisible() const { return m_selfVisible && m_parentVisible; } // Wheth er or not we are actually visible.
81 virtual void setParentVisible(bool visible) { m_parentVisible = visible; } 81 virtual void setParentVisible(bool visible) { m_parentVisible = visible; }
82 void setSelfVisible(bool v) { m_selfVisible = v; } 82 void setSelfVisible(bool v) { m_selfVisible = v; }
83 83
84 virtual bool isFrameletView() const { return false; }
84 virtual bool isFrameView() const { return false; } 85 virtual bool isFrameView() const { return false; }
85 virtual bool isRemoteFrameView() const { return false; } 86 virtual bool isRemoteFrameView() const { return false; }
86 virtual bool isPluginView() const { return false; } 87 virtual bool isPluginView() const { return false; }
87 virtual bool isPluginContainer() const { return false; } 88 virtual bool isPluginContainer() const { return false; }
88 virtual bool isScrollbar() const { return false; } 89 virtual bool isScrollbar() const { return false; }
89 90
90 virtual void setParent(Widget*); 91 virtual void setParent(Widget*);
91 Widget* parent() const { return m_parent; } 92 Widget* parent() const { return m_parent; }
92 Widget* root() const; 93 Widget* root() const;
93 94
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 private: 127 private:
127 RawPtrWillBeMember<Widget> m_parent; 128 RawPtrWillBeMember<Widget> m_parent;
128 IntRect m_frame; 129 IntRect m_frame;
129 bool m_selfVisible; 130 bool m_selfVisible;
130 bool m_parentVisible; 131 bool m_parentVisible;
131 }; 132 };
132 133
133 } // namespace blink 134 } // namespace blink
134 135
135 #endif // Widget_h 136 #endif // Widget_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/FocusController.cpp ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698