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

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

Issue 2278283002: Implement Mac Pop-up Dictionary for OOPIF. (Closed)
Patch Set: Addressing lfg@'s comment Created 4 years, 2 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 setRootLayer(WebLayer*) override; 141 void setRootLayer(WebLayer*) override;
142 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid e; 142 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid e;
143 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid e; 143 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid e;
144 HitTestResult coreHitTestResultAt(const WebPoint&) override;
144 145
145 // Exposed for the purpose of overriding device metrics. 146 // Exposed for the purpose of overriding device metrics.
146 void sendResizeEventAndRepaint(); 147 void sendResizeEventAndRepaint();
147 148
148 void updateMainFrameLayoutSize(); 149 void updateMainFrameLayoutSize();
149 150
150 void setIgnoreInputEvents(bool newValue); 151 void setIgnoreInputEvents(bool newValue);
151 152
152 // Returns the page object associated with this widget. This may be null whe n 153 // Returns the page object associated with this widget. This may be null whe n
153 // the page is shutting down, but will be valid at all other times. 154 // 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
252 WebColor m_baseBackgroundColor; 253 WebColor m_baseBackgroundColor;
253 254
254 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; 255 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive;
255 }; 256 };
256 257
257 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub frame(), widget.forSubframe()); 258 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub frame(), widget.forSubframe());
258 259
259 } // namespace blink 260 } // namespace blink
260 261
261 #endif 262 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetBase.h ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698