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

Side by Side Diff: content/renderer/render_widget.h

Issue 8528006: Fix resize issues when using threaded compositing (Closed)
Patch Set: Created 9 years, 1 month 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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <queue> 9 #include <queue>
10 #include <vector> 10 #include <vector>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 virtual bool OnMessageReceived(const IPC::Message& msg); 105 virtual bool OnMessageReceived(const IPC::Message& msg);
106 106
107 // IPC::Message::Sender 107 // IPC::Message::Sender
108 virtual bool Send(IPC::Message* msg); 108 virtual bool Send(IPC::Message* msg);
109 109
110 // WebKit::WebWidgetClient 110 // WebKit::WebWidgetClient
111 virtual void didInvalidateRect(const WebKit::WebRect&); 111 virtual void didInvalidateRect(const WebKit::WebRect&);
112 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect); 112 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect);
113 virtual void didActivateCompositor(int compositorIdentifier); 113 virtual void didActivateCompositor(int compositorIdentifier);
114 virtual void didDeactivateCompositor(); 114 virtual void didDeactivateCompositor();
115 virtual void didBeginFrame();
116 virtual void didFinishFrame();
115 virtual void scheduleComposite(); 117 virtual void scheduleComposite();
116 virtual void scheduleAnimation(); 118 virtual void scheduleAnimation();
117 virtual void didFocus(); 119 virtual void didFocus();
118 virtual void didBlur(); 120 virtual void didBlur();
119 virtual void didChangeCursor(const WebKit::WebCursorInfo&); 121 virtual void didChangeCursor(const WebKit::WebCursorInfo&);
120 virtual void closeWidgetSoon(); 122 virtual void closeWidgetSoon();
121 virtual void show(WebKit::WebNavigationPolicy); 123 virtual void show(WebKit::WebNavigationPolicy);
122 virtual void runModal() {} 124 virtual void runModal() {}
123 virtual WebKit::WebRect windowRect(); 125 virtual WebKit::WebRect windowRect();
124 virtual void setToolTipText(const WebKit::WebString& text, 126 virtual void setToolTipText(const WebKit::WebString& text,
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 // delay sending of UpdateRect until the corresponding SwapBuffers has been 482 // delay sending of UpdateRect until the corresponding SwapBuffers has been
481 // executed. Since we can have several in flight, we need to keep them in a 483 // executed. Since we can have several in flight, we need to keep them in a
482 // queue. Note: some SwapBuffers may not correspond to an update, in which 484 // queue. Note: some SwapBuffers may not correspond to an update, in which
483 // case NULL is added to the queue. 485 // case NULL is added to the queue.
484 std::queue<ViewHostMsg_UpdateRect*> updates_pending_swap_; 486 std::queue<ViewHostMsg_UpdateRect*> updates_pending_swap_;
485 487
486 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 488 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
487 }; 489 };
488 490
489 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 491 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698