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

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

Issue 13926009: Avoid sending empty OnRepaint msgs and propagate window damage correctly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: treat OnRepaint(0x0) as OnRepaint(size_) Created 7 years, 8 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 | « content/renderer/gpu/render_widget_compositor.cc ('k') | 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 const string16& text, 301 const string16& text,
302 const std::vector<WebKit::WebCompositionUnderline>& underlines, 302 const std::vector<WebKit::WebCompositionUnderline>& underlines,
303 int selection_start, 303 int selection_start,
304 int selection_end); 304 int selection_end);
305 virtual void OnImeConfirmComposition( 305 virtual void OnImeConfirmComposition(
306 const string16& text, const ui::Range& replacement_range); 306 const string16& text, const ui::Range& replacement_range);
307 void OnPaintAtSize(const TransportDIB::Handle& dib_id, 307 void OnPaintAtSize(const TransportDIB::Handle& dib_id,
308 int tag, 308 int tag,
309 const gfx::Size& page_size, 309 const gfx::Size& page_size,
310 const gfx::Size& desired_size); 310 const gfx::Size& desired_size);
311 void OnRepaint(const gfx::Size& size_to_paint); 311 void OnRepaint(gfx::Size size_to_paint);
312 void OnSmoothScrollCompleted(int gesture_id); 312 void OnSmoothScrollCompleted(int gesture_id);
313 void OnSetTextDirection(WebKit::WebTextDirection direction); 313 void OnSetTextDirection(WebKit::WebTextDirection direction);
314 void OnGetFPS(); 314 void OnGetFPS();
315 void OnScreenInfoChanged(const WebKit::WebScreenInfo& screen_info); 315 void OnScreenInfoChanged(const WebKit::WebScreenInfo& screen_info);
316 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 316 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
317 const gfx::Rect& window_screen_rect); 317 const gfx::Rect& window_screen_rect);
318 #if defined(OS_ANDROID) 318 #if defined(OS_ANDROID)
319 void OnImeBatchStateChanged(bool is_begin); 319 void OnImeBatchStateChanged(bool is_begin);
320 void OnShowImeIfNeeded(); 320 void OnShowImeIfNeeded();
321 #endif 321 #endif
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 bool is_threaded_compositing_enabled_; 692 bool is_threaded_compositing_enabled_;
693 693
694 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 694 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
695 695
696 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 696 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
697 }; 697 };
698 698
699 } // namespace content 699 } // namespace content
700 700
701 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 701 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698