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

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

Issue 146363002: Linux Aura: Use system title bar is now set by preference, not flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build on Windows. Created 6 years, 10 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_ROOT_WINDOW_HOST_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/aura/root_window.h" 9 #include "ui/aura/root_window.h"
10 #include "ui/base/ui_base_types.h" 10 #include "ui/base/ui_base_types.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 virtual Widget::MoveLoopResult RunMoveLoop( 120 virtual Widget::MoveLoopResult RunMoveLoop(
121 const gfx::Vector2d& drag_offset, 121 const gfx::Vector2d& drag_offset,
122 Widget::MoveLoopSource source, 122 Widget::MoveLoopSource source,
123 Widget::MoveLoopEscapeBehavior escape_behavior) = 0; 123 Widget::MoveLoopEscapeBehavior escape_behavior) = 0;
124 virtual void EndMoveLoop() = 0; 124 virtual void EndMoveLoop() = 0;
125 125
126 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; 126 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0;
127 127
128 virtual bool ShouldUseNativeFrame() = 0; 128 virtual bool ShouldUseNativeFrame() = 0;
129 virtual void FrameTypeChanged() = 0; 129 virtual void FrameTypeChanged(Widget::FrameType new_type) = 0;
130 virtual NonClientFrameView* CreateNonClientFrameView() = 0; 130 virtual NonClientFrameView* CreateNonClientFrameView() = 0;
131 131
132 virtual void SetFullscreen(bool fullscreen) = 0; 132 virtual void SetFullscreen(bool fullscreen) = 0;
133 virtual bool IsFullscreen() const = 0; 133 virtual bool IsFullscreen() const = 0;
134 134
135 virtual void SetOpacity(unsigned char opacity) = 0; 135 virtual void SetOpacity(unsigned char opacity) = 0;
136 136
137 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 137 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
138 const gfx::ImageSkia& app_icon) = 0; 138 const gfx::ImageSkia& app_icon) = 0;
139 139
140 virtual void InitModalType(ui::ModalType modal_type) = 0; 140 virtual void InitModalType(ui::ModalType modal_type) = 0;
141 141
142 virtual void FlashFrame(bool flash_frame) = 0; 142 virtual void FlashFrame(bool flash_frame) = 0;
143 143
144 virtual void OnRootViewLayout() const = 0; 144 virtual void OnRootViewLayout() const = 0;
145 145
146 // Called when the DesktopNativeWidgetAura's aura::Window is focused and 146 // Called when the DesktopNativeWidgetAura's aura::Window is focused and
147 // blurred. 147 // blurred.
148 virtual void OnNativeWidgetFocus() = 0; 148 virtual void OnNativeWidgetFocus() = 0;
149 virtual void OnNativeWidgetBlur() = 0; 149 virtual void OnNativeWidgetBlur() = 0;
150 150
151 // Returns true if the Widget was closed but is still showing because of 151 // Returns true if the Widget was closed but is still showing because of
152 // animations. 152 // animations.
153 virtual bool IsAnimatingClosed() const = 0; 153 virtual bool IsAnimatingClosed() const = 0;
154 }; 154 };
155 155
156 } // namespace views 156 } // namespace views
157 157
158 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ 158 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698