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

Side by Side Diff: ui/views/widget/desktop_root_window_host_win.h

Issue 10909043: Cancel drag if display configuration changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « ui/aura/root_window_host_win.cc ('k') | ui/views/widget/desktop_root_window_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_ROOT_WINDOW_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include "ui/aura/root_window_host.h" 8 #include "ui/aura/root_window_host.h"
9 #include "ui/views/widget/desktop_root_window_host.h" 9 #include "ui/views/widget/desktop_root_window_host.h"
10 #include "ui/views/win/hwnd_message_handler_delegate.h" 10 #include "ui/views/win/hwnd_message_handler_delegate.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 43 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
44 virtual bool ConfineCursorToRootWindow() OVERRIDE; 44 virtual bool ConfineCursorToRootWindow() OVERRIDE;
45 virtual void UnConfineCursor() OVERRIDE; 45 virtual void UnConfineCursor() OVERRIDE;
46 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; 46 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
47 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; 47 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE;
48 virtual bool GrabSnapshot( 48 virtual bool GrabSnapshot(
49 const gfx::Rect& snapshot_bounds, 49 const gfx::Rect& snapshot_bounds,
50 std::vector<unsigned char>* png_representation) OVERRIDE; 50 std::vector<unsigned char>* png_representation) OVERRIDE;
51 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 51 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
52 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 52 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
53 virtual void PrepareForShutdown() OVERRIDE;
53 54
54 // Overridden from HWNDMessageHandlerDelegate: 55 // Overridden from HWNDMessageHandlerDelegate:
55 virtual bool IsWidgetWindow() const OVERRIDE; 56 virtual bool IsWidgetWindow() const OVERRIDE;
56 virtual bool IsUsingCustomFrame() const OVERRIDE; 57 virtual bool IsUsingCustomFrame() const OVERRIDE;
57 virtual void SchedulePaint() OVERRIDE; 58 virtual void SchedulePaint() OVERRIDE;
58 virtual void EnableInactiveRendering() OVERRIDE; 59 virtual void EnableInactiveRendering() OVERRIDE;
59 virtual bool IsInactiveRenderingDisabled() OVERRIDE; 60 virtual bool IsInactiveRenderingDisabled() OVERRIDE;
60 virtual bool CanResize() const OVERRIDE; 61 virtual bool CanResize() const OVERRIDE;
61 virtual bool CanMaximize() const OVERRIDE; 62 virtual bool CanMaximize() const OVERRIDE;
62 virtual bool CanActivate() const OVERRIDE; 63 virtual bool CanActivate() const OVERRIDE;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 135
135 aura::RootWindowHostDelegate* root_window_host_delegate_; 136 aura::RootWindowHostDelegate* root_window_host_delegate_;
136 aura::Window* content_window_; 137 aura::Window* content_window_;
137 138
138 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); 139 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin);
139 }; 140 };
140 141
141 } // namespace views 142 } // namespace views
142 143
143 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 144 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/aura/root_window_host_win.cc ('k') | ui/views/widget/desktop_root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698