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

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

Issue 581953002: [Win] Update HWND style when SizeConstraintsChanged. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hidpi
Patch Set: Address comments Created 6 years, 2 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
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_X11_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
7 7
8 #include <X11/extensions/shape.h> 8 #include <X11/extensions/shape.h>
9 #include <X11/Xlib.h> 9 #include <X11/Xlib.h>
10 10
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 139 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
140 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 140 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
141 const gfx::ImageSkia& app_icon) OVERRIDE; 141 const gfx::ImageSkia& app_icon) OVERRIDE;
142 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; 142 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE;
143 virtual void FlashFrame(bool flash_frame) OVERRIDE; 143 virtual void FlashFrame(bool flash_frame) OVERRIDE;
144 virtual void OnRootViewLayout() OVERRIDE; 144 virtual void OnRootViewLayout() OVERRIDE;
145 virtual void OnNativeWidgetFocus() OVERRIDE; 145 virtual void OnNativeWidgetFocus() OVERRIDE;
146 virtual void OnNativeWidgetBlur() OVERRIDE; 146 virtual void OnNativeWidgetBlur() OVERRIDE;
147 virtual bool IsAnimatingClosed() const OVERRIDE; 147 virtual bool IsAnimatingClosed() const OVERRIDE;
148 virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE; 148 virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE;
149 virtual void SizeConstraintsChanged() OVERRIDE;
149 150
150 // Overridden from aura::WindowTreeHost: 151 // Overridden from aura::WindowTreeHost:
151 virtual ui::EventSource* GetEventSource() OVERRIDE; 152 virtual ui::EventSource* GetEventSource() OVERRIDE;
152 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 153 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
153 virtual void Show() OVERRIDE; 154 virtual void Show() OVERRIDE;
154 virtual void Hide() OVERRIDE; 155 virtual void Hide() OVERRIDE;
155 virtual gfx::Rect GetBounds() const OVERRIDE; 156 virtual gfx::Rect GetBounds() const OVERRIDE;
156 virtual void SetBounds(const gfx::Rect& requested_bounds) OVERRIDE; 157 virtual void SetBounds(const gfx::Rect& requested_bounds) OVERRIDE;
157 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 158 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
158 virtual void SetCapture() OVERRIDE; 159 virtual void SetCapture() OVERRIDE;
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 bool urgency_hint_set_; 339 bool urgency_hint_set_;
339 340
340 base::CancelableCallback<void()> delayed_resize_task_; 341 base::CancelableCallback<void()> delayed_resize_task_;
341 342
342 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); 343 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
343 }; 344 };
344 345
345 } // namespace views 346 } // namespace views
346 347
347 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 348 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698