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

Unified Diff: mojo/views/native_widget_view_manager.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/views/native_widget_mojo.cc ('k') | mojo/views/native_widget_view_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/views/native_widget_view_manager.h
diff --git a/mojo/views/native_widget_view_manager.h b/mojo/views/native_widget_view_manager.h
deleted file mode 100644
index bfd43cf078582e642a41548083ef0f7bca113c8d..0000000000000000000000000000000000000000
--- a/mojo/views/native_widget_view_manager.h
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright 2014 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 MOJO_VIEWS_NATIVE_WIDGET_VIEW_MANAGER_H_
-#define MOJO_VIEWS_NATIVE_WIDGET_VIEW_MANAGER_H_
-
-#include "mojo/services/view_manager/public/cpp/view_observer.h"
-#include "ui/views/widget/native_widget_aura.h"
-
-namespace aura {
-namespace client {
-class DefaultCaptureClient;
-}
-}
-
-namespace ui {
-namespace internal {
-class InputMethodDelegate;
-}
-}
-
-namespace wm {
-class FocusController;
-}
-
-namespace mojo {
-
-class Shell;
-class WindowTreeHostMojo;
-
-class NativeWidgetViewManager : public views::NativeWidgetAura,
- public ViewObserver {
- public:
- NativeWidgetViewManager(views::internal::NativeWidgetDelegate* delegate,
- Shell* shell,
- View* view);
- ~NativeWidgetViewManager() override;
-
- private:
- // Overridden from internal::NativeWidgetAura:
- void InitNativeWidget(const views::Widget::InitParams& in_params) override;
- void OnWindowVisibilityChanged(aura::Window* window, bool visible) override;
-
- // ViewObserver:
- void OnViewDestroyed(View* view) override;
- void OnViewBoundsChanged(View* view,
- const Rect& old_bounds,
- const Rect& new_bounds) override;
- void OnViewInputEvent(View* view, const EventPtr& event) override;
-
- scoped_ptr<WindowTreeHostMojo> window_tree_host_;
-
- scoped_ptr<wm::FocusController> focus_client_;
-
- scoped_ptr<ui::internal::InputMethodDelegate> ime_filter_;
-
- View* view_;
-
- scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
-
- DISALLOW_COPY_AND_ASSIGN(NativeWidgetViewManager);
-};
-
-} // namespace mojo
-
-#endif // MOJO_VIEWS_NATIVE_WIDGET_VIEW_MANAGER_H_
« no previous file with comments | « mojo/views/native_widget_mojo.cc ('k') | mojo/views/native_widget_view_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698