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

Unified Diff: ui/views/mus/native_widget_mus.h

Issue 2194893002: services/ui: Revert CLs that broke Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « ui/views/mus/BUILD.gn ('k') | ui/views/mus/native_widget_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/native_widget_mus.h
diff --git a/ui/views/mus/native_widget_mus.h b/ui/views/mus/native_widget_mus.h
index 2e50183eeb6e711085c4807a1523a922a807da34..3634de419ebd58c1a188e3f72cd8f025e67fed11 100644
--- a/ui/views/mus/native_widget_mus.h
+++ b/ui/views/mus/native_widget_mus.h
@@ -33,6 +33,7 @@ class Window;
}
namespace ui {
+class BitmapUploader;
class Window;
class WindowTreeClient;
namespace mojom {
@@ -41,8 +42,13 @@ enum class EventResult;
}
}
+namespace shell {
+class Connector;
+}
+
namespace ui {
class Event;
+class ViewProp;
}
namespace wm {
@@ -67,6 +73,7 @@ class VIEWS_MUS_EXPORT NativeWidgetMus
public NON_EXPORTED_BASE(ui::InputEventHandler) {
public:
NativeWidgetMus(internal::NativeWidgetDelegate* delegate,
+ shell::Connector* connector,
ui::Window* window,
ui::mojom::SurfaceType surface_type);
~NativeWidgetMus() override;
@@ -273,6 +280,10 @@ class VIEWS_MUS_EXPORT NativeWidgetMus
std::unique_ptr<aura::client::ScreenPositionClient> screen_position_client_;
std::unique_ptr<wm::CursorManager> cursor_manager_;
+ // Bitmap management.
+ std::unique_ptr<ui::BitmapUploader> bitmap_uploader_;
+ std::unique_ptr<ui::ViewProp> prop_;
+
base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_;
DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus);
« no previous file with comments | « ui/views/mus/BUILD.gn ('k') | ui/views/mus/native_widget_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698