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

Side by Side Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.h

Issue 1991273003: Fire visibilityChange event on out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 5 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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 bool caretOrSelectionRange(size_t* location, size_t* length) override; 111 bool caretOrSelectionRange(size_t* location, size_t* length) override;
112 void setTextDirection(WebTextDirection) override; 112 void setTextDirection(WebTextDirection) override;
113 bool isAcceleratedCompositingActive() const override; 113 bool isAcceleratedCompositingActive() const override;
114 void willCloseLayerTreeView() override; 114 void willCloseLayerTreeView() override;
115 void didChangeWindowResizerRect() override; 115 void didChangeWindowResizerRect() override;
116 void didAcquirePointerLock() override; 116 void didAcquirePointerLock() override;
117 void didNotAcquirePointerLock() override; 117 void didNotAcquirePointerLock() override;
118 void didLosePointerLock() override; 118 void didLosePointerLock() override;
119 119
120 // WebFrameWidget implementation. 120 // WebFrameWidget implementation.
121 void setVisibilityState(WebPageVisibilityState, bool) override; 121 void setVisibilityState(WebPageVisibilityState) override;
122 bool isTransparent() const override; 122 bool isTransparent() const override;
123 void setIsTransparent(bool) override; 123 void setIsTransparent(bool) override;
124 void setBaseBackgroundColor(WebColor) override; 124 void setBaseBackgroundColor(WebColor) override;
125 void scheduleAnimation() override; 125 void scheduleAnimation() override;
126 CompositorProxyClient* createCompositorProxyClient() override; 126 CompositorProxyClient* createCompositorProxyClient() override;
127 127
128 WebWidgetClient* client() const override { return m_client; } 128 WebWidgetClient* client() const override { return m_client; }
129 129
130 Frame* focusedCoreFrame() const; 130 Frame* focusedCoreFrame() const;
131 131
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 WebColor m_baseBackgroundColor; 230 WebColor m_baseBackgroundColor;
231 231
232 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; 232 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive;
233 }; 233 };
234 234
235 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram e(), widget.forSubframe()); 235 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram e(), widget.forSubframe());
236 236
237 } // namespace blink 237 } // namespace blink
238 238
239 #endif 239 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698