| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/root_window_controller.h" | 5 #include "ash/root_window_controller.h" |
| 6 | 6 |
| 7 #include <queue> | 7 #include <queue> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/ash_constants.h" | 10 #include "ash/ash_constants.h" |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 int GetNonClientComponent(const gfx::Point& point) const override { | 228 int GetNonClientComponent(const gfx::Point& point) const override { |
| 229 return HTNOWHERE; | 229 return HTNOWHERE; |
| 230 } | 230 } |
| 231 bool ShouldDescendIntoChildForEventHandling( | 231 bool ShouldDescendIntoChildForEventHandling( |
| 232 aura::Window* child, | 232 aura::Window* child, |
| 233 const gfx::Point& location) override { | 233 const gfx::Point& location) override { |
| 234 return false; | 234 return false; |
| 235 } | 235 } |
| 236 bool CanFocus() override { return false; } | 236 bool CanFocus() override { return false; } |
| 237 void OnCaptureLost() override {} | 237 void OnCaptureLost() override {} |
| 238 void OnPaint(gfx::Canvas* canvas) override {} | 238 void OnPaint(const ui::PaintContext& context) override {} |
| 239 void OnDeviceScaleFactorChanged(float device_scale_factor) override {} | 239 void OnDeviceScaleFactorChanged(float device_scale_factor) override {} |
| 240 void OnWindowDestroying(aura::Window* window) override {} | 240 void OnWindowDestroying(aura::Window* window) override {} |
| 241 void OnWindowDestroyed(aura::Window* window) override { delete this; } | 241 void OnWindowDestroyed(aura::Window* window) override { delete this; } |
| 242 void OnWindowTargetVisibilityChanged(bool visible) override {} | 242 void OnWindowTargetVisibilityChanged(bool visible) override {} |
| 243 bool HasHitTestMask() const override { return false; } | 243 bool HasHitTestMask() const override { return false; } |
| 244 void GetHitTestMask(gfx::Path* mask) const override {} | 244 void GetHitTestMask(gfx::Path* mask) const override {} |
| 245 | 245 |
| 246 private: | 246 private: |
| 247 DISALLOW_COPY_AND_ASSIGN(EmptyWindowDelegate); | 247 DISALLOW_COPY_AND_ASSIGN(EmptyWindowDelegate); |
| 248 }; | 248 }; |
| (...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 else | 1055 else |
| 1056 DisableTouchHudProjection(); | 1056 DisableTouchHudProjection(); |
| 1057 } | 1057 } |
| 1058 | 1058 |
| 1059 RootWindowController* GetRootWindowController( | 1059 RootWindowController* GetRootWindowController( |
| 1060 const aura::Window* root_window) { | 1060 const aura::Window* root_window) { |
| 1061 return root_window ? GetRootWindowSettings(root_window)->controller : NULL; | 1061 return root_window ? GetRootWindowSettings(root_window)->controller : NULL; |
| 1062 } | 1062 } |
| 1063 | 1063 |
| 1064 } // namespace ash | 1064 } // namespace ash |
| OLD | NEW |