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

Unified Diff: blimp/client/linux/blimp_display_manager.h

Issue 1636163002: Restructure contents of blimp/client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « blimp/client/input/blimp_input_manager.cc ('k') | blimp/client/linux/blimp_display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/linux/blimp_display_manager.h
diff --git a/blimp/client/linux/blimp_display_manager.h b/blimp/client/linux/blimp_display_manager.h
deleted file mode 100644
index bbdd92f32eda6395069cfd3376e2ab0610524242..0000000000000000000000000000000000000000
--- a/blimp/client/linux/blimp_display_manager.h
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright 2015 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 BLIMP_CLIENT_LINUX_BLIMP_DISPLAY_MANAGER_H_
-#define BLIMP_CLIENT_LINUX_BLIMP_DISPLAY_MANAGER_H_
-
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#include "ui/platform_window/platform_window_delegate.h"
-
-namespace gfx {
-class Size;
-}
-
-namespace ui {
-class PlatformWindow;
-}
-
-namespace blimp {
-namespace client {
-
-class BlimpCompositor;
-class RenderWidgetFeature;
-class TabControlFeature;
-
-class BlimpDisplayManagerDelegate {
- public:
- virtual void OnClosed() = 0;
-};
-
-class BlimpDisplayManager : public ui::PlatformWindowDelegate {
- public:
- BlimpDisplayManager(const gfx::Size& window_size,
- BlimpDisplayManagerDelegate* delegate,
- RenderWidgetFeature* render_widget_feature,
- TabControlFeature* tab_control_feature);
- ~BlimpDisplayManager() override;
-
- // ui::PlatformWindowDelegate:
- void OnBoundsChanged(const gfx::Rect& new_bounds) override;
- void OnDamageRect(const gfx::Rect& damaged_region) override;
- void DispatchEvent(ui::Event* event) override;
- void OnCloseRequest() override;
- void OnClosed() override;
- void OnWindowStateChanged(ui::PlatformWindowState new_state) override;
- void OnLostCapture() override;
- void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget,
- float device_pixel_ratio) override;
- void OnAcceleratedWidgetDestroyed() override;
- void OnActivationChanged(bool active) override;
-
- private:
- float device_pixel_ratio_;
-
- BlimpDisplayManagerDelegate* delegate_;
- TabControlFeature* tab_control_feature_;
-
- scoped_ptr<BlimpCompositor> blimp_compositor_;
- scoped_ptr<ui::PlatformWindow> platform_window_;
-
- DISALLOW_COPY_AND_ASSIGN(BlimpDisplayManager);
-};
-
-} // namespace client
-} // namespace blimp
-
-#endif // BLIMP_CLIENT_LINUX_BLIMP_DISPLAY_MANAGER_H_
« no previous file with comments | « blimp/client/input/blimp_input_manager.cc ('k') | blimp/client/linux/blimp_display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698