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

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

Issue 72503002: Remove some pass-thrus on RootWindow API in favor of exposing the RootWindowHost again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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/window_tree_host.h ('k') | ui/aura/window_unittest.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_DELEGATE_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_DELEGATE_H_
6 #define UI_AURA_ROOT_WINDOW_HOST_DELEGATE_H_ 6 #define UI_AURA_ROOT_WINDOW_HOST_DELEGATE_H_
7 7
8 #include "ui/aura/aura_export.h" 8 #include "ui/aura/aura_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual void OnHostLostMouseGrab() = 0; 46 virtual void OnHostLostMouseGrab() = 0;
47 47
48 virtual void OnHostPaint(const gfx::Rect& damage_rect) = 0; 48 virtual void OnHostPaint(const gfx::Rect& damage_rect) = 0;
49 49
50 virtual void OnHostMoved(const gfx::Point& origin) = 0; 50 virtual void OnHostMoved(const gfx::Point& origin) = 0;
51 virtual void OnHostResized(const gfx::Size& size) = 0; 51 virtual void OnHostResized(const gfx::Size& size) = 0;
52 52
53 virtual float GetDeviceScaleFactor() = 0; 53 virtual float GetDeviceScaleFactor() = 0;
54 54
55 virtual RootWindow* AsRootWindow() = 0; 55 virtual RootWindow* AsRootWindow() = 0;
56 virtual const RootWindow* AsRootWindow() const = 0;
56 57
57 protected: 58 protected:
58 virtual ~RootWindowHostDelegate() {} 59 virtual ~RootWindowHostDelegate() {}
59 }; 60 };
60 61
61 } // namespace aura 62 } // namespace aura
62 63
63 #endif // UI_AURA_ROOT_WINDOW_HOST_DELEGATE_H_ 64 #endif // UI_AURA_ROOT_WINDOW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host.h ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698