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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h

Issue 274273004: Use the native frame for the task manager on Linux Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed mgiuca@'s nits Created 6 years, 7 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
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual void ClearNativeFocus() OVERRIDE; 85 virtual void ClearNativeFocus() OVERRIDE;
86 virtual Widget::MoveLoopResult RunMoveLoop( 86 virtual Widget::MoveLoopResult RunMoveLoop(
87 const gfx::Vector2d& drag_offset, 87 const gfx::Vector2d& drag_offset,
88 Widget::MoveLoopSource source, 88 Widget::MoveLoopSource source,
89 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE; 89 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE;
90 virtual void EndMoveLoop() OVERRIDE; 90 virtual void EndMoveLoop() OVERRIDE;
91 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; 91 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE;
92 virtual bool ShouldUseNativeFrame() const OVERRIDE; 92 virtual bool ShouldUseNativeFrame() const OVERRIDE;
93 virtual bool ShouldWindowContentsBeTransparent() const OVERRIDE; 93 virtual bool ShouldWindowContentsBeTransparent() const OVERRIDE;
94 virtual void FrameTypeChanged() OVERRIDE; 94 virtual void FrameTypeChanged() OVERRIDE;
95 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
96 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 95 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
97 virtual bool IsFullscreen() const OVERRIDE; 96 virtual bool IsFullscreen() const OVERRIDE;
98 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 97 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
99 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 98 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
100 const gfx::ImageSkia& app_icon) OVERRIDE; 99 const gfx::ImageSkia& app_icon) OVERRIDE;
101 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; 100 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE;
102 virtual void FlashFrame(bool flash_frame) OVERRIDE; 101 virtual void FlashFrame(bool flash_frame) OVERRIDE;
103 virtual void OnRootViewLayout() const OVERRIDE; 102 virtual void OnRootViewLayout() const OVERRIDE;
104 virtual void OnNativeWidgetFocus() OVERRIDE; 103 virtual void OnNativeWidgetFocus() OVERRIDE;
105 virtual void OnNativeWidgetBlur() OVERRIDE; 104 virtual void OnNativeWidgetBlur() OVERRIDE;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 static bool is_cursor_visible_; 265 static bool is_cursor_visible_;
267 266
268 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 267 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
269 268
270 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 269 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
271 }; 270 };
272 271
273 } // namespace views 272 } // namespace views
274 273
275 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 274 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host.h ('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