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

Side by Side Diff: headless/lib/browser/headless_window_parenting_client.h

Issue 2438853002: Renames aura::client::WindowTreeClient to WindowParentingClient (Closed)
Patch Set: cleanup Created 4 years, 2 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_WINDOW_PARENTING_CLIENT_H_
6 #define HEADLESS_LIB_BROWSER_HEADLESS_WINDOW_PARENTING_CLIENT_H_
7
8 #include "base/macros.h"
9 #include "ui/aura/client/window_parenting_client.h"
10
11 namespace headless {
12
13 class HeadlessWindowParentingClient
14 : public aura::client::WindowParentingClient {
15 public:
16 explicit HeadlessWindowParentingClient(aura::Window* root_window);
17 ~HeadlessWindowParentingClient() override;
18
19 aura::Window* GetDefaultParent(aura::Window* context,
20 aura::Window* window,
21 const gfx::Rect& bounds) override;
22
23 private:
24 aura::Window* root_window_; // Not owned.
25
26 DISALLOW_COPY_AND_ASSIGN(HeadlessWindowParentingClient);
27 };
28
29 } // namespace headless
30
31 #endif // HEADLESS_LIB_BROWSER_HEADLESS_WINDOW_PARENTING_CLIENT_H_
OLDNEW
« no previous file with comments | « headless/lib/browser/headless_screen.h ('k') | headless/lib/browser/headless_window_parenting_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698