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

Unified Diff: ui/views/win/hwnd_message_handler_delegate.h

Issue 10871077: Move more code from NWW to HWNDMessageHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/hwnd_message_handler_delegate.h
===================================================================
--- ui/views/win/hwnd_message_handler_delegate.h (revision 153487)
+++ ui/views/win/hwnd_message_handler_delegate.h (working copy)
@@ -52,8 +52,14 @@
virtual void GetMinMaxSize(gfx::Size* min_size,
gfx::Size* max_size) const = 0;
+ // Returns the current size of the RootView.
+ virtual gfx::Size GetRootViewSize() const = 0;
+
virtual void ResetWindowControls() = 0;
+ virtual void UpdateFrame() = 0;
+ virtual void PaintLayeredWindow(gfx::Canvas* canvas) = 0;
+
virtual InputMethod* GetInputMethod() = 0;
virtual gfx::NativeViewAccessible GetNativeViewAccessible() = 0;
@@ -129,6 +135,13 @@
// by the delegate.
virtual bool HandleKeyEvent(const ui::KeyEvent& event) = 0;
+ // Called to compel the delegate to paint |invalid_rect| accelerated. Returns
+ // true if accelerated painting was performed.
+ virtual bool HandlePaintAccelerated(const gfx::Rect& invalid_rect) = 0;
+
+ // Called to compel the delegate to paint using the software path.
+ virtual void HandlePaint(gfx::Canvas* canvas) = 0;
+
// Called when we have detected a screen reader.
virtual void HandleScreenReaderDetected() = 0;
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698