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

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

Issue 1891843004: [headless] AddWindowTreeClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to latest master Created 4 years, 8 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 (c) 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_TREE_CLIENT_H_
6 #define HEADLESS_LIB_BROWSER_HEADLESS_WINDOW_TREE_CLIENT_H_
7
8 #include "base/macros.h"
9 #include "ui/aura/client/window_tree_client.h"
10
11 namespace headless {
12
13 class HeadlessWindowTreeClient : public aura::client::WindowTreeClient {
14 public:
15 explicit HeadlessWindowTreeClient(aura::Window* root_window);
16 ~HeadlessWindowTreeClient() override;
17
18 aura::Window* GetDefaultParent(aura::Window* context,
19 aura::Window* window,
20 const gfx::Rect& bounds) override;
21
22 private:
23 aura::Window* root_window_; // Not owned.
24
25 DISALLOW_COPY_AND_ASSIGN(HeadlessWindowTreeClient);
26 };
27
28 } // namespace headless
29
30 #endif // HEADLESS_LIB_BROWSER_HEADLESS_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « headless/lib/browser/headless_web_contents_impl.cc ('k') | headless/lib/browser/headless_window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698