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

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

Issue 2883033003: Propagate inert state to OOPIFs when a modal dialog is active (Closed)
Patch Set: Set Frame's inert bit on style calculation Created 3 years, 6 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override; 102 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override;
103 bool SelectionTextDirection(WebTextDirection& start, 103 bool SelectionTextDirection(WebTextDirection& start,
104 WebTextDirection& end) const override; 104 WebTextDirection& end) const override;
105 bool IsSelectionAnchorFirst() const override; 105 bool IsSelectionAnchorFirst() const override;
106 WebRange CaretOrSelectionRange() override; 106 WebRange CaretOrSelectionRange() override;
107 void SetTextDirection(WebTextDirection) override; 107 void SetTextDirection(WebTextDirection) override;
108 bool IsAcceleratedCompositingActive() const override; 108 bool IsAcceleratedCompositingActive() const override;
109 void WillCloseLayerTreeView() override; 109 void WillCloseLayerTreeView() override;
110 bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) override; 110 bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) override;
111 void SetRemoteViewportIntersection(const WebRect&) override; 111 void SetRemoteViewportIntersection(const WebRect&) override;
112 void SetIsInert(bool) override;
112 113
113 // WebFrameWidget implementation. 114 // WebFrameWidget implementation.
114 WebLocalFrameBase* LocalRoot() const override { return local_root_; } 115 WebLocalFrameBase* LocalRoot() const override { return local_root_; }
115 void SetVisibilityState(WebPageVisibilityState) override; 116 void SetVisibilityState(WebPageVisibilityState) override;
116 void SetBackgroundColorOverride(WebColor) override; 117 void SetBackgroundColorOverride(WebColor) override;
117 void ClearBackgroundColorOverride() override; 118 void ClearBackgroundColorOverride() override;
118 void SetBaseBackgroundColorOverride(WebColor) override; 119 void SetBaseBackgroundColorOverride(WebColor) override;
119 void ClearBaseBackgroundColorOverride() override; 120 void ClearBaseBackgroundColorOverride() override;
120 void SetBaseBackgroundColor(WebColor) override; 121 void SetBaseBackgroundColor(WebColor) override;
121 WebInputMethodController* GetActiveWebInputMethodController() const override; 122 WebInputMethodController* GetActiveWebInputMethodController() const override;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 238
238 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, 239 DEFINE_TYPE_CASTS(WebFrameWidgetImpl,
239 WebFrameWidgetBase, 240 WebFrameWidgetBase,
240 widget, 241 widget,
241 widget->ForSubframe(), 242 widget->ForSubframe(),
242 widget.ForSubframe()); 243 widget.ForSubframe());
243 244
244 } // namespace blink 245 } // namespace blink
245 246
246 #endif 247 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698