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

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

Issue 2040453002: views/mus: Create the BitmapUploader only when needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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
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 e2b188a4b2136585cbe60b6382c0a2dceb887ada..33da5378358e1cc3cbb3d1b975ea63e7f065474c 100644
--- a/ui/views/mus/native_widget_mus.h
+++ b/ui/views/mus/native_widget_mus.h
@@ -32,6 +32,10 @@ class WindowTreeClient;
class Window;
}
+namespace bitmap_uploader {
+class BitmapUploader;
+}
+
namespace mus {
class Window;
class WindowTreeClient;
@@ -47,6 +51,7 @@ class Connector;
namespace ui {
class Event;
+class ViewProp;
}
namespace wm {
@@ -268,6 +273,11 @@ private:
std::unique_ptr<aura::client::WindowTreeClient> window_tree_client_;
std::unique_ptr<aura::client::ScreenPositionClient> screen_position_client_;
std::unique_ptr<wm::CursorManager> cursor_manager_;
+
+ // Bitmap management.
+ std::unique_ptr<bitmap_uploader::BitmapUploader> bitmap_uploader_;
+ std::unique_ptr<ui::ViewProp> prop_;
+
base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_;
DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus);

Powered by Google App Engine
This is Rietveld 408576698