| 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 "ui/views/widget/desktop_root_window_host_linux.h" | 5 #include "ui/views/widget/desktop_root_window_host_linux.h" |
| 6 | 6 |
| 7 #include <X11/extensions/XInput2.h> | 7 #include <X11/extensions/XInput2.h> |
| 8 #include <X11/Xatom.h> | 8 #include <X11/Xatom.h> |
| 9 #include <X11/Xutil.h> | 9 #include <X11/Xutil.h> |
| 10 | 10 |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 // TODO(erg): | 340 // TODO(erg): |
| 341 NOTIMPLEMENTED(); | 341 NOTIMPLEMENTED(); |
| 342 return NULL; | 342 return NULL; |
| 343 } | 343 } |
| 344 | 344 |
| 345 void DesktopRootWindowHostLinux::SetWindowTitle(const string16& title) { | 345 void DesktopRootWindowHostLinux::SetWindowTitle(const string16& title) { |
| 346 // TODO(erg): | 346 // TODO(erg): |
| 347 NOTIMPLEMENTED(); | 347 NOTIMPLEMENTED(); |
| 348 } | 348 } |
| 349 | 349 |
| 350 void DesktopRootWindowHostLinux::ClearNativeFocus() { |
| 351 // TODO(erg): |
| 352 NOTIMPLEMENTED(); |
| 353 } |
| 354 |
| 350 //////////////////////////////////////////////////////////////////////////////// | 355 //////////////////////////////////////////////////////////////////////////////// |
| 351 // DesktopRootWindowHostLinux, aura::RootWindowHost implementation: | 356 // DesktopRootWindowHostLinux, aura::RootWindowHost implementation: |
| 352 | 357 |
| 353 aura::RootWindow* DesktopRootWindowHostLinux::GetRootWindow() { | 358 aura::RootWindow* DesktopRootWindowHostLinux::GetRootWindow() { |
| 354 return root_window_.get(); | 359 return root_window_.get(); |
| 355 } | 360 } |
| 356 | 361 |
| 357 gfx::AcceleratedWidget DesktopRootWindowHostLinux::GetAcceleratedWidget() { | 362 gfx::AcceleratedWidget DesktopRootWindowHostLinux::GetAcceleratedWidget() { |
| 358 return xwindow_; | 363 return xwindow_; |
| 359 } | 364 } |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 // DesktopRootWindowHost, public: | 701 // DesktopRootWindowHost, public: |
| 697 | 702 |
| 698 // static | 703 // static |
| 699 DesktopRootWindowHost* DesktopRootWindowHost::Create( | 704 DesktopRootWindowHost* DesktopRootWindowHost::Create( |
| 700 internal::NativeWidgetDelegate* native_widget_delegate, | 705 internal::NativeWidgetDelegate* native_widget_delegate, |
| 701 const gfx::Rect& initial_bounds) { | 706 const gfx::Rect& initial_bounds) { |
| 702 return new DesktopRootWindowHostLinux; | 707 return new DesktopRootWindowHostLinux; |
| 703 } | 708 } |
| 704 | 709 |
| 705 } // namespace views | 710 } // namespace views |
| OLD | NEW |