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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.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/view_unittest.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.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 UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "ui/aura/window_tree_host.h" 8 #include "ui/aura/window_tree_host.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 bool WidgetSizeIsClientSize() const override; 140 bool WidgetSizeIsClientSize() const override;
141 bool IsModal() const override; 141 bool IsModal() const override;
142 int GetInitialShowState() const override; 142 int GetInitialShowState() const override;
143 bool WillProcessWorkAreaChange() const override; 143 bool WillProcessWorkAreaChange() const override;
144 int GetNonClientComponent(const gfx::Point& point) const override; 144 int GetNonClientComponent(const gfx::Point& point) const override;
145 void GetWindowMask(const gfx::Size& size, gfx::Path* path) override; 145 void GetWindowMask(const gfx::Size& size, gfx::Path* path) override;
146 bool GetClientAreaInsets(gfx::Insets* insets) const override; 146 bool GetClientAreaInsets(gfx::Insets* insets) const override;
147 void GetMinMaxSize(gfx::Size* min_size, gfx::Size* max_size) const override; 147 void GetMinMaxSize(gfx::Size* min_size, gfx::Size* max_size) const override;
148 gfx::Size GetRootViewSize() const override; 148 gfx::Size GetRootViewSize() const override;
149 void ResetWindowControls() override; 149 void ResetWindowControls() override;
150 void PaintLayeredWindow(gfx::Canvas* canvas) override;
151 gfx::NativeViewAccessible GetNativeViewAccessible() override; 150 gfx::NativeViewAccessible GetNativeViewAccessible() override;
152 bool ShouldHandleSystemCommands() const override; 151 bool ShouldHandleSystemCommands() const override;
153 InputMethod* GetInputMethod() override; 152 InputMethod* GetInputMethod() override;
154 void HandleAppDeactivated() override; 153 void HandleAppDeactivated() override;
155 void HandleActivationChanged(bool active) override; 154 void HandleActivationChanged(bool active) override;
156 bool HandleAppCommand(short command) override; 155 bool HandleAppCommand(short command) override;
157 void HandleCancelMode() override; 156 void HandleCancelMode() override;
158 void HandleCaptureLost() override; 157 void HandleCaptureLost() override;
159 void HandleClose() override; 158 void HandleClose() override;
160 bool HandleCommand(int command) override; 159 bool HandleCommand(int command) override;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 static bool is_cursor_visible_; 257 static bool is_cursor_visible_;
259 258
260 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 259 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
261 260
262 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 261 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
263 }; 262 };
264 263
265 } // namespace views 264 } // namespace views
266 265
267 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 266 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/view_unittest.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698