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

Side by Side Diff: ui/aura/remote_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: fix compile errors, hopefully 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
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_REMOTE_ROOT_WINDOW_HOST_WIN_H_ 5 #ifndef UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 42 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
43 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 43 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
44 virtual void SetCapture() OVERRIDE; 44 virtual void SetCapture() OVERRIDE;
45 virtual void ReleaseCapture() OVERRIDE; 45 virtual void ReleaseCapture() OVERRIDE;
46 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 46 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
47 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 47 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
48 virtual bool ConfineCursorToRootWindow() OVERRIDE; 48 virtual bool ConfineCursorToRootWindow() OVERRIDE;
49 virtual void UnConfineCursor() OVERRIDE; 49 virtual void UnConfineCursor() OVERRIDE;
50 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; 50 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
51 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; 51 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE;
52 virtual bool CopyAreaToSkCanvas(const gfx::Rect& source_bounds,
53 const gfx::Point& dest_offset,
54 SkCanvas* canvas) OVERRIDE;
52 virtual bool GrabSnapshot( 55 virtual bool GrabSnapshot(
53 const gfx::Rect& snapshot_bounds, 56 const gfx::Rect& snapshot_bounds,
54 std::vector<unsigned char>* png_representation) OVERRIDE; 57 std::vector<unsigned char>* png_representation) OVERRIDE;
55 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 58 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
56 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 59 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
57 virtual void PrepareForShutdown() OVERRIDE; 60 virtual void PrepareForShutdown() OVERRIDE;
58 61
59 RootWindowHostDelegate* delegate_; 62 RootWindowHostDelegate* delegate_;
60 scoped_ptr<ui::ViewProp> prop_; 63 scoped_ptr<ui::ViewProp> prop_;
61 64
62 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); 65 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin);
63 }; 66 };
64 67
65 } // namespace aura 68 } // namespace aura
66 69
67 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ 70 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698