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

Side by Side Diff: ui/views/win/hwnd_message_handler_delegate.h

Issue 1161933007: ui: Introduce CanvasPainter, remove PaintContext(gfx::Canvas*). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: canvaspainter: . Created 5 years, 6 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
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc ('k') | no next file » | 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 UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
7 7
8 #include "ui/views/views_export.h" 8 #include "ui/views/views_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // Returns the minimum and maximum size the window can be resized to by the 67 // Returns the minimum and maximum size the window can be resized to by the
68 // user. 68 // user.
69 virtual void GetMinMaxSize(gfx::Size* min_size, 69 virtual void GetMinMaxSize(gfx::Size* min_size,
70 gfx::Size* max_size) const = 0; 70 gfx::Size* max_size) const = 0;
71 71
72 // Returns the current size of the RootView. 72 // Returns the current size of the RootView.
73 virtual gfx::Size GetRootViewSize() const = 0; 73 virtual gfx::Size GetRootViewSize() const = 0;
74 74
75 virtual void ResetWindowControls() = 0; 75 virtual void ResetWindowControls() = 0;
76 76
77 virtual void PaintLayeredWindow(gfx::Canvas* canvas) = 0;
78
79 virtual InputMethod* GetInputMethod() = 0; 77 virtual InputMethod* GetInputMethod() = 0;
80 78
81 virtual gfx::NativeViewAccessible GetNativeViewAccessible() = 0; 79 virtual gfx::NativeViewAccessible GetNativeViewAccessible() = 0;
82 80
83 // Returns true if the window should handle standard system commands, such as 81 // Returns true if the window should handle standard system commands, such as
84 // close, minimize, maximize. 82 // close, minimize, maximize.
85 // TODO(benwells): Remove this once bubbles don't have two widgets 83 // TODO(benwells): Remove this once bubbles don't have two widgets
86 // implementing them on non-aura windows. http://crbug.com/189112. 84 // implementing them on non-aura windows. http://crbug.com/189112.
87 virtual bool ShouldHandleSystemCommands() const = 0; 85 virtual bool ShouldHandleSystemCommands() const = 0;
88 86
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // Called when the window size is about to change. 226 // Called when the window size is about to change.
229 virtual void HandleWindowSizeChanging() = 0; 227 virtual void HandleWindowSizeChanging() = 0;
230 228
231 protected: 229 protected:
232 virtual ~HWNDMessageHandlerDelegate() {} 230 virtual ~HWNDMessageHandlerDelegate() {}
233 }; 231 };
234 232
235 } // namespace views 233 } // namespace views
236 234
237 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 235 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698