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

Side by Side Diff: ui/aura/root_window_host_win.h

Issue 11273059: ash: Clean up system background layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: apply review feedback Created 8 years, 1 month 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_mac.mm ('k') | ui/aura/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_AURA_ROOT_WINDOW_HOST_WIN_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_AURA_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_AURA_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ui/aura/root_window_host.h" 9 #include "ui/aura/root_window_host.h"
10 #include "ui/base/win/window_impl.h" 10 #include "ui/base/win/window_impl.h"
(...skipping 15 matching lines...) Expand all
26 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 26 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
27 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 27 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
28 virtual void SetCapture() OVERRIDE; 28 virtual void SetCapture() OVERRIDE;
29 virtual void ReleaseCapture() OVERRIDE; 29 virtual void ReleaseCapture() OVERRIDE;
30 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 30 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
31 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 31 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
32 virtual bool ConfineCursorToRootWindow() OVERRIDE; 32 virtual bool ConfineCursorToRootWindow() OVERRIDE;
33 virtual void UnConfineCursor() OVERRIDE; 33 virtual void UnConfineCursor() OVERRIDE;
34 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; 34 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
35 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; 35 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE;
36 virtual bool CopyAreaToSkCanvas(const gfx::Rect& source_bounds,
37 const gfx::Point& dest_offset,
38 SkCanvas* canvas) OVERRIDE;
36 virtual bool GrabSnapshot( 39 virtual bool GrabSnapshot(
37 const gfx::Rect& snapshot_bounds, 40 const gfx::Rect& snapshot_bounds,
38 std::vector<unsigned char>* png_representation) OVERRIDE; 41 std::vector<unsigned char>* png_representation) OVERRIDE;
39 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 42 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
40 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 43 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
41 virtual void PrepareForShutdown() OVERRIDE; 44 virtual void PrepareForShutdown() OVERRIDE;
42 45
43 private: 46 private:
44 BEGIN_MSG_MAP_EX(RootWindowHostWin) 47 BEGIN_MSG_MAP_EX(RootWindowHostWin)
45 // Range handlers must go first! 48 // Range handlers must go first!
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 RECT saved_window_rect_; 80 RECT saved_window_rect_;
78 DWORD saved_window_style_; 81 DWORD saved_window_style_;
79 DWORD saved_window_ex_style_; 82 DWORD saved_window_ex_style_;
80 83
81 DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin); 84 DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin);
82 }; 85 };
83 86
84 } // namespace aura 87 } // namespace aura
85 88
86 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_ 89 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/aura/root_window_host_mac.mm ('k') | ui/aura/root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698