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

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

Issue 2278283002: Implement Mac Pop-up Dictionary for OOPIF. (Closed)
Patch Set: Moved ownership of TextInputClientObserver to RenderWidget Created 4 years, 3 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 PaintLayerCompositor* compositor() const; 133 PaintLayerCompositor* compositor() const;
134 134
135 // WebFrameWidgetBase overrides: 135 // WebFrameWidgetBase overrides:
136 bool forSubframe() const override { return true; } 136 bool forSubframe() const override { return true; }
137 void scheduleAnimation() override; 137 void scheduleAnimation() override;
138 CompositorProxyClient* createCompositorProxyClient() override; 138 CompositorProxyClient* createCompositorProxyClient() override;
139 WebWidgetClient* client() const override { return m_client; } 139 WebWidgetClient* client() const override { return m_client; }
140 void setRootGraphicsLayer(GraphicsLayer*) override; 140 void setRootGraphicsLayer(GraphicsLayer*) override;
141 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid e; 141 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid e;
142 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid e; 142 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid e;
143 HitTestResult coreHitTestResultAt(const WebPoint&) override;
143 144
144 // Exposed for the purpose of overriding device metrics. 145 // Exposed for the purpose of overriding device metrics.
145 void sendResizeEventAndRepaint(); 146 void sendResizeEventAndRepaint();
146 147
147 void updateMainFrameLayoutSize(); 148 void updateMainFrameLayoutSize();
148 149
149 void setIgnoreInputEvents(bool newValue); 150 void setIgnoreInputEvents(bool newValue);
150 151
151 // Returns the page object associated with this widget. This may be null whe n 152 // Returns the page object associated with this widget. This may be null whe n
152 // the page is shutting down, but will be valid at all other times. 153 // the page is shutting down, but will be valid at all other times.
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 WebColor m_baseBackgroundColor; 252 WebColor m_baseBackgroundColor;
252 253
253 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; 254 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive;
254 }; 255 };
255 256
256 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub frame(), widget.forSubframe()); 257 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub frame(), widget.forSubframe());
257 258
258 } // namespace blink 259 } // namespace blink
259 260
260 #endif 261 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698