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 <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // IPC::Listener | 165 // IPC::Listener |
166 bool OnMessageReceived(const IPC::Message& msg) override; | 166 bool OnMessageReceived(const IPC::Message& msg) override; |
167 | 167 |
168 // IPC::Sender | 168 // IPC::Sender |
169 bool Send(IPC::Message* msg) override; | 169 bool Send(IPC::Message* msg) override; |
170 | 170 |
171 // blink::WebWidgetClient | 171 // blink::WebWidgetClient |
172 virtual void didAutoResize(const blink::WebSize& new_size); | 172 virtual void didAutoResize(const blink::WebSize& new_size); |
173 virtual void initializeLayerTreeView(); | 173 virtual void initializeLayerTreeView(); |
174 virtual blink::WebLayerTreeView* layerTreeView(); | 174 virtual blink::WebLayerTreeView* layerTreeView(); |
| 175 virtual void didFirstVisuallyNonEmptyLayout(); |
| 176 virtual void didFirstLayoutAfterFinishedParsing(); |
175 virtual void didFocus(); | 177 virtual void didFocus(); |
176 virtual void didBlur(); | 178 virtual void didBlur(); |
177 virtual void didChangeCursor(const blink::WebCursorInfo&); | 179 virtual void didChangeCursor(const blink::WebCursorInfo&); |
178 virtual void closeWidgetSoon(); | 180 virtual void closeWidgetSoon(); |
179 virtual void show(blink::WebNavigationPolicy); | 181 virtual void show(blink::WebNavigationPolicy); |
180 virtual blink::WebRect windowRect(); | 182 virtual blink::WebRect windowRect(); |
181 virtual void setToolTipText(const blink::WebString& text, | 183 virtual void setToolTipText(const blink::WebString& text, |
182 blink::WebTextDirection hint); | 184 blink::WebTextDirection hint); |
183 virtual void setWindowRect(const blink::WebRect&); | 185 virtual void setWindowRect(const blink::WebRect&); |
184 virtual blink::WebRect windowResizerRect(); | 186 virtual blink::WebRect windowResizerRect(); |
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
815 ui::MenuSourceType context_menu_source_type_; | 817 ui::MenuSourceType context_menu_source_type_; |
816 bool has_host_context_menu_location_; | 818 bool has_host_context_menu_location_; |
817 gfx::Point host_context_menu_location_; | 819 gfx::Point host_context_menu_location_; |
818 | 820 |
819 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 821 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
820 }; | 822 }; |
821 | 823 |
822 } // namespace content | 824 } // namespace content |
823 | 825 |
824 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 826 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |