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

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

Issue 1707233002: Reduce the fullscreen window height by 1px on activation loss. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reduce the size of the fullscreen window by 1px on activation loss Created 4 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
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 "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 bool WillProcessWorkAreaChange() const override; 142 bool WillProcessWorkAreaChange() const override;
143 int GetNonClientComponent(const gfx::Point& point) const override; 143 int GetNonClientComponent(const gfx::Point& point) const override;
144 void GetWindowMask(const gfx::Size& size, gfx::Path* path) override; 144 void GetWindowMask(const gfx::Size& size, gfx::Path* path) override;
145 bool GetClientAreaInsets(gfx::Insets* insets) const override; 145 bool GetClientAreaInsets(gfx::Insets* insets) const override;
146 void GetMinMaxSize(gfx::Size* min_size, gfx::Size* max_size) const override; 146 void GetMinMaxSize(gfx::Size* min_size, gfx::Size* max_size) const override;
147 gfx::Size GetRootViewSize() const override; 147 gfx::Size GetRootViewSize() const override;
148 void ResetWindowControls() override; 148 void ResetWindowControls() override;
149 gfx::NativeViewAccessible GetNativeViewAccessible() override; 149 gfx::NativeViewAccessible GetNativeViewAccessible() override;
150 bool ShouldHandleSystemCommands() const override; 150 bool ShouldHandleSystemCommands() const override;
151 void HandleAppDeactivated() override; 151 void HandleAppDeactivated() override;
152 void HandleActivationChanged(bool active) override; 152 void HandleActivationChanged(
153 bool active,
154 HWND window_gaining_or_losing_activation) override;
153 bool HandleAppCommand(short command) override; 155 bool HandleAppCommand(short command) override;
154 void HandleCancelMode() override; 156 void HandleCancelMode() override;
155 void HandleCaptureLost() override; 157 void HandleCaptureLost() override;
156 void HandleClose() override; 158 void HandleClose() override;
157 bool HandleCommand(int command) override; 159 bool HandleCommand(int command) override;
158 void HandleAccelerator(const ui::Accelerator& accelerator) override; 160 void HandleAccelerator(const ui::Accelerator& accelerator) override;
159 void HandleCreate() override; 161 void HandleCreate() override;
160 void HandleDestroying() override; 162 void HandleDestroying() override;
161 void HandleDestroyed() override; 163 void HandleDestroyed() override;
162 bool HandleInitialFocus(ui::WindowShowState show_state) override; 164 bool HandleInitialFocus(ui::WindowShowState show_state) override;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 // Indicates if current window will receive mouse events when should not 261 // Indicates if current window will receive mouse events when should not
260 // become activated. 262 // become activated.
261 bool wants_mouse_events_when_inactive_ = false; 263 bool wants_mouse_events_when_inactive_ = false;
262 264
263 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 265 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
264 }; 266 };
265 267
266 } // namespace views 268 } // namespace views
267 269
268 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 270 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698