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

Unified Diff: ui/aura/window_port_local.h

Issue 2868473002: Implement aura::Window::CreateCompositorFrameSink() (Closed)
Patch Set: Rebase Created 3 years, 7 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/aura/window_port_local.h
diff --git a/ui/aura/window_port_local.h b/ui/aura/window_port_local.h
deleted file mode 100644
index a3b33ce934670ad202ca0b8ab8c62f7c79352327..0000000000000000000000000000000000000000
--- a/ui/aura/window_port_local.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2016 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 UI_AURA_WINDOW_PORT_LOCAL_H_
-#define UI_AURA_WINDOW_PORT_LOCAL_H_
-
-#include "base/macros.h"
-#include "ui/aura/window_port.h"
-#include "ui/base/property_data.h"
-
-namespace aura {
-
-class Window;
-
-// WindowPort implementation for classic aura, e.g. not mus.
-class AURA_EXPORT WindowPortLocal : public WindowPort {
- public:
- explicit WindowPortLocal(Window* window);
- ~WindowPortLocal() override;
-
- // WindowPort:
- void OnPreInit(Window* window) override;
- void OnDeviceScaleFactorChanged(float device_scale_factor) override;
- void OnWillAddChild(Window* child) override;
- void OnWillRemoveChild(Window* child) override;
- void OnWillMoveChild(size_t current_index, size_t dest_index) override;
- void OnVisibilityChanged(bool visible) override;
- void OnDidChangeBounds(const gfx::Rect& old_bounds,
- const gfx::Rect& new_bounds) override;
- std::unique_ptr<ui::PropertyData> OnWillChangeProperty(
- const void* key) override;
- void OnPropertyChanged(const void* key,
- int64_t old_value,
- std::unique_ptr<ui::PropertyData> data) override;
-
- private:
- Window* window_;
-
- DISALLOW_COPY_AND_ASSIGN(WindowPortLocal);
-};
-
-} // namespace aura
-
-#endif // UI_AURA_WINDOW_PORT_LOCAL_H_
« ui/aura/window_port.h ('K') | « ui/aura/window_port.h ('k') | ui/aura/window_port_local.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698