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

Unified Diff: blimp/engine/app/ui/blimp_screen.cc

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 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/engine/app/ui/blimp_screen.h ('k') | blimp/engine/app/ui/blimp_screen_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/ui/blimp_screen.cc
diff --git a/blimp/engine/app/ui/blimp_screen.cc b/blimp/engine/app/ui/blimp_screen.cc
deleted file mode 100644
index d0f848e9c06b797f88cab67680b50fe528ca7b7a..0000000000000000000000000000000000000000
--- a/blimp/engine/app/ui/blimp_screen.cc
+++ /dev/null
@@ -1,61 +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.
-
-#include "blimp/engine/app/ui/blimp_screen.h"
-
-#include "ui/aura/window.h"
-#include "ui/aura/window_tree_host.h"
-#include "ui/display/display_observer.h"
-#include "ui/gfx/geometry/size.h"
-
-namespace blimp {
-namespace engine {
-
-namespace {
-
-const int64_t kDisplayId = 1;
-
-} // namespace
-
-BlimpScreen::BlimpScreen() {
- display::Display display(kDisplayId);
- ProcessDisplayChanged(display, true /* is_primary */);
-}
-
-BlimpScreen::~BlimpScreen() {}
-
-void BlimpScreen::UpdateDisplayScaleAndSize(float scale,
- const gfx::Size& size) {
- display::Display display(GetPrimaryDisplay());
- if (scale == display.device_scale_factor() &&
- size == display.GetSizeInPixel()) {
- return;
- }
-
- display.SetScaleAndBounds(scale, gfx::Rect(size));
- display_list().UpdateDisplay(display);
-}
-
-gfx::Point BlimpScreen::GetCursorScreenPoint() {
- return gfx::Point();
-}
-
-bool BlimpScreen::IsWindowUnderCursor(gfx::NativeWindow window) {
- NOTIMPLEMENTED();
- return false;
-}
-
-gfx::NativeWindow BlimpScreen::GetWindowAtScreenPoint(const gfx::Point& point) {
- return window_tree_host_
- ? window_tree_host_->window()->GetTopWindowContainingPoint(point)
- : gfx::NativeWindow(nullptr);
-}
-
-display::Display BlimpScreen::GetDisplayNearestWindow(
- gfx::NativeWindow window) const {
- return GetPrimaryDisplay();
-}
-
-} // namespace engine
-} // namespace blimp
« no previous file with comments | « blimp/engine/app/ui/blimp_screen.h ('k') | blimp/engine/app/ui/blimp_screen_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698