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

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

Issue 4815001: Use inner HWND for accelerated rendering on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CHROME_RENDERER_RENDER_WIDGET_H_
6 #define CHROME_RENDERER_RENDER_WIDGET_H_ 6 #define CHROME_RENDERER_RENDER_WIDGET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 // IPC::Channel::Listener 93 // IPC::Channel::Listener
94 virtual void OnMessageReceived(const IPC::Message& msg); 94 virtual void OnMessageReceived(const IPC::Message& msg);
95 95
96 // IPC::Message::Sender 96 // IPC::Message::Sender
97 virtual bool Send(IPC::Message* msg); 97 virtual bool Send(IPC::Message* msg);
98 98
99 // WebKit::WebWidgetClient 99 // WebKit::WebWidgetClient
100 virtual void didInvalidateRect(const WebKit::WebRect&); 100 virtual void didInvalidateRect(const WebKit::WebRect&);
101 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect); 101 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect);
102 virtual void didChangeAcceleratedCompositingActive(bool active);
102 virtual void scheduleComposite(); 103 virtual void scheduleComposite();
103 virtual void didFocus(); 104 virtual void didFocus();
104 virtual void didBlur(); 105 virtual void didBlur();
105 virtual void didChangeCursor(const WebKit::WebCursorInfo&); 106 virtual void didChangeCursor(const WebKit::WebCursorInfo&);
106 virtual void closeWidgetSoon(); 107 virtual void closeWidgetSoon();
107 virtual void show(WebKit::WebNavigationPolicy); 108 virtual void show(WebKit::WebNavigationPolicy);
108 virtual void runModal() {} 109 virtual void runModal() {}
109 virtual WebKit::WebRect windowRect(); 110 virtual WebKit::WebRect windowRect();
110 virtual void setWindowRect(const WebKit::WebRect&); 111 virtual void setWindowRect(const WebKit::WebRect&);
111 virtual WebKit::WebRect windowResizerRect(); 112 virtual WebKit::WebRect windowResizerRect();
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 // Indicates if the next sequence of Char events should be suppressed or not. 360 // Indicates if the next sequence of Char events should be suppressed or not.
360 bool suppress_next_char_events_; 361 bool suppress_next_char_events_;
361 362
362 // Set to true if painting to the window is handled by the GPU process. 363 // Set to true if painting to the window is handled by the GPU process.
363 bool is_gpu_rendering_active_; 364 bool is_gpu_rendering_active_;
364 365
365 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 366 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
366 }; 367 };
367 368
368 #endif // CHROME_RENDERER_RENDER_WIDGET_H_ 369 #endif // CHROME_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698