OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
228 void SetScreenMetricsEmulationParameters( | 228 void SetScreenMetricsEmulationParameters( |
229 bool enabled, | 229 bool enabled, |
230 const blink::WebDeviceEmulationParams& params) override; | 230 const blink::WebDeviceEmulationParams& params) override; |
231 void SetScreenRects(const gfx::Rect& view_screen_rect, | 231 void SetScreenRects(const gfx::Rect& view_screen_rect, |
232 const gfx::Rect& window_screen_rect) override; | 232 const gfx::Rect& window_screen_rect) override; |
233 | 233 |
234 // blink::WebWidgetClient | 234 // blink::WebWidgetClient |
235 void initializeLayerTreeView() override; | 235 void initializeLayerTreeView() override; |
236 blink::WebLayerTreeView* layerTreeView() override; | 236 blink::WebLayerTreeView* layerTreeView() override; |
237 void didMeaningfulLayout(blink::WebMeaningfulLayout layout_type) override; | 237 void didMeaningfulLayout(blink::WebMeaningfulLayout layout_type) override; |
238 void didFocus() override; | |
dcheng
2016/07/19 13:51:14
We should probably update the comment in render_vi
| |
239 void didChangeCursor(const blink::WebCursorInfo&) override; | 238 void didChangeCursor(const blink::WebCursorInfo&) override; |
240 void closeWidgetSoon() override; | 239 void closeWidgetSoon() override; |
241 void show(blink::WebNavigationPolicy) override; | 240 void show(blink::WebNavigationPolicy) override; |
242 blink::WebRect windowRect() override; | 241 blink::WebRect windowRect() override; |
243 void setToolTipText(const blink::WebString& text, | 242 void setToolTipText(const blink::WebString& text, |
244 blink::WebTextDirection hint) override; | 243 blink::WebTextDirection hint) override; |
245 void setWindowRect(const blink::WebRect&) override; | 244 void setWindowRect(const blink::WebRect&) override; |
246 blink::WebRect windowResizerRect() override; | 245 blink::WebRect windowResizerRect() override; |
247 blink::WebRect rootWindowRect() override; | 246 blink::WebRect rootWindowRect() override; |
248 blink::WebScreenInfo screenInfo() override; | 247 blink::WebScreenInfo screenInfo() override; |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
770 | 769 |
771 // Indicates whether this widget has focus. | 770 // Indicates whether this widget has focus. |
772 bool has_focus_; | 771 bool has_focus_; |
773 | 772 |
774 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 773 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
775 }; | 774 }; |
776 | 775 |
777 } // namespace content | 776 } // namespace content |
778 | 777 |
779 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 778 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |