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

Unified Diff: ui/views/mus/window_tree_host_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/window_tree_host_mus.h
diff --git a/ui/views/mus/window_tree_host_mus.h b/ui/views/mus/window_tree_host_mus.h
index bd6b577e71401d1b123ef5aa4ff7ef60a0d4eb75..683e65faa1e74e6280595c079a6a1bf7ccd4ed08 100644
--- a/ui/views/mus/window_tree_host_mus.h
+++ b/ui/views/mus/window_tree_host_mus.h
@@ -11,10 +11,6 @@
class SkBitmap;
-namespace bitmap_uploader {
-class BitmapUploader;
-}
-
namespace mus {
class Window;
}
@@ -23,10 +19,6 @@ namespace shell {
class Connector;
}
-namespace ui {
-class ViewProp;
-}
-
namespace views {
class InputMethodMUS;
@@ -35,9 +27,7 @@ class PlatformWindowMus;
class VIEWS_MUS_EXPORT WindowTreeHostMus : public aura::WindowTreeHostPlatform {
public:
- WindowTreeHostMus(shell::Connector* connector,
- NativeWidgetMus* native_widget,
- mus::Window* window);
+ WindowTreeHostMus(NativeWidgetMus* native_widget, mus::Window* window);
~WindowTreeHostMus() override;
private:
@@ -50,10 +40,6 @@ class VIEWS_MUS_EXPORT WindowTreeHostMus : public aura::WindowTreeHostPlatform {
NativeWidgetMus* native_widget_;
std::unique_ptr<InputMethodMUS> input_method_;
- // Bitmap management.
- std::unique_ptr<bitmap_uploader::BitmapUploader> bitmap_uploader_;
- std::unique_ptr<ui::ViewProp> prop_;
-
DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus);
};

Powered by Google App Engine
This is Rietveld 408576698