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

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

Issue 12090051: Revert 178746 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1397/src/
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 void PaintDebugBorder(const gfx::Rect& rect, SkCanvas* canvas); 240 void PaintDebugBorder(const gfx::Rect& rect, SkCanvas* canvas);
241 241
242 bool IsRenderingVSynced(); 242 bool IsRenderingVSynced();
243 void AnimationCallback(); 243 void AnimationCallback();
244 void AnimateIfNeeded(); 244 void AnimateIfNeeded();
245 void InvalidationCallback(); 245 void InvalidationCallback();
246 void DoDeferredUpdateAndSendInputAck(); 246 void DoDeferredUpdateAndSendInputAck();
247 void DoDeferredUpdate(); 247 void DoDeferredUpdate();
248 void DoDeferredClose(); 248 void DoDeferredClose();
249 void DoDeferredSetWindowRect(const WebKit::WebRect& pos); 249 void DoDeferredSetWindowRect(const WebKit::WebRect& pos);
250 virtual void Composite();
251 250
252 // Set the background of the render widget to a bitmap. The bitmap will be 251 // Set the background of the render widget to a bitmap. The bitmap will be
253 // tiled in both directions if it isn't big enough to fill the area. This is 252 // tiled in both directions if it isn't big enough to fill the area. This is
254 // mainly intended to be used in conjuction with WebView::SetIsTransparent(). 253 // mainly intended to be used in conjuction with WebView::SetIsTransparent().
255 virtual void SetBackground(const SkBitmap& bitmap); 254 virtual void SetBackground(const SkBitmap& bitmap);
256 255
257 // Resizes the render widget. 256 // Resizes the render widget.
258 void Resize(const gfx::Size& new_size, 257 void Resize(const gfx::Size& new_size,
259 const gfx::Rect& resizer_rect, 258 const gfx::Rect& resizer_rect,
260 bool is_fullscreen, 259 bool is_fullscreen,
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 639
641 // Specified whether the compositor will run in its own thread. 640 // Specified whether the compositor will run in its own thread.
642 bool is_threaded_compositing_enabled_; 641 bool is_threaded_compositing_enabled_;
643 642
644 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 643 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
645 }; 644 };
646 645
647 } // namespace content 646 } // namespace content
648 647
649 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 648 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698