| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stdio.h> | 5 #include <stdio.h> |
| 6 #include <string> | 6 #include <string> |
| 7 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "mojo/aura/context_factory_mojo.h" | 9 #include "mojo/aura/context_factory_mojo.h" |
| 10 #include "mojo/aura/screen_mojo.h" | 10 #include "mojo/aura/screen_mojo.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 virtual gfx::Size GetMinimumSize() const OVERRIDE { | 40 virtual gfx::Size GetMinimumSize() const OVERRIDE { |
| 41 return gfx::Size(); | 41 return gfx::Size(); |
| 42 } | 42 } |
| 43 | 43 |
| 44 virtual gfx::Size GetMaximumSize() const OVERRIDE { | 44 virtual gfx::Size GetMaximumSize() const OVERRIDE { |
| 45 return gfx::Size(); | 45 return gfx::Size(); |
| 46 } | 46 } |
| 47 | 47 |
| 48 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 48 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 49 const gfx::Rect& new_bounds) OVERRIDE {} | 49 const gfx::Rect& new_bounds) OVERRIDE {} |
| 50 virtual void OnPropertyChanged(const void* key, intptr_t old) OVERRIDE {} |
| 50 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE { | 51 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE { |
| 51 return gfx::kNullCursor; | 52 return gfx::kNullCursor; |
| 52 } | 53 } |
| 53 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE { | 54 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE { |
| 54 return HTCAPTION; | 55 return HTCAPTION; |
| 55 } | 56 } |
| 56 virtual bool ShouldDescendIntoChildForEventHandling( | 57 virtual bool ShouldDescendIntoChildForEventHandling( |
| 57 aura::Window* child, | 58 aura::Window* child, |
| 58 const gfx::Point& location) OVERRIDE { | 59 const gfx::Point& location) OVERRIDE { |
| 59 return true; | 60 return true; |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 }; | 201 }; |
| 201 | 202 |
| 202 } // namespace examples | 203 } // namespace examples |
| 203 | 204 |
| 204 // static | 205 // static |
| 205 ApplicationDelegate* ApplicationDelegate::Create() { | 206 ApplicationDelegate* ApplicationDelegate::Create() { |
| 206 return new examples::AuraDemo(); | 207 return new examples::AuraDemo(); |
| 207 } | 208 } |
| 208 | 209 |
| 209 } // namespace mojo | 210 } // namespace mojo |
| OLD | NEW |