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

Unified Diff: ui/shell/minimal_shell.h

Issue 74183002: Introduce ui/wm/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm owners file so i can land this 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/shell/README.chromium ('k') | ui/shell/minimal_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/shell/minimal_shell.h
diff --git a/ui/shell/minimal_shell.h b/ui/shell/minimal_shell.h
deleted file mode 100644
index 22c160bb2835916953200943009763b31ed03ca8..0000000000000000000000000000000000000000
--- a/ui/shell/minimal_shell.h
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_SHELL_MINIMAL_SHELL_H_
-#define UI_SHELL_MINIMAL_SHELL_H_
-
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "ui/aura/client/window_tree_client.h"
-
-namespace aura {
-class RootWindow;
-class Window;
-namespace client {
-class DefaultActivationClient;
-class DefaultCaptureClient;
-class FocusClient;
-} // class client
-} // class aura
-
-namespace gfx {
-class Rect;
-class Size;
-} // class gfx
-
-namespace views {
-namespace corewm {
-class CompoundEventFilter;
-class InputMethodEventFilter;
-} // corewm
-} // views
-
-namespace shell {
-
-// Creates a minimal environment for running the shell. We can't pull in all of
-// ash here, but we can create attach several of the same things we'd find in
-// the ash parts of the code.
-class MinimalShell : public aura::client::WindowTreeClient {
- public:
- explicit MinimalShell(const gfx::Size& default_window_size);
- virtual ~MinimalShell();
-
- aura::RootWindow* root_window() { return root_window_.get(); }
-
- // Overridden from client::WindowTreeClient:
- virtual aura::Window* GetDefaultParent(aura::Window* context,
- aura::Window* window,
- const gfx::Rect& bounds) OVERRIDE;
-
- private:
- scoped_ptr<aura::RootWindow> root_window_;
-
- // Owned by RootWindow
- views::corewm::CompoundEventFilter* root_window_event_filter_;
-
- scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
- scoped_ptr<views::corewm::InputMethodEventFilter> input_method_filter_;
- scoped_ptr<aura::client::DefaultActivationClient> activation_client_;
- scoped_ptr<aura::client::FocusClient> focus_client_;
-
- DISALLOW_COPY_AND_ASSIGN(MinimalShell);
-};
-
-} // namespace shell
-
-#endif // UI_SHELL_MINIMAL_SHELL_H_
« no previous file with comments | « ui/shell/README.chromium ('k') | ui/shell/minimal_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698