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

Side by Side Diff: ui/views/widget/desktop_root_window_host_linux.cc

Issue 10958005: Trivial plumbing of some methods from DesktopNativeWidgetAura to DesktopRootWindowHost. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 return false; 376 return false;
377 } 377 }
378 378
379 void DesktopRootWindowHostLinux::FrameTypeChanged() { 379 void DesktopRootWindowHostLinux::FrameTypeChanged() {
380 } 380 }
381 381
382 NonClientFrameView* DesktopRootWindowHostLinux::CreateNonClientFrameView() { 382 NonClientFrameView* DesktopRootWindowHostLinux::CreateNonClientFrameView() {
383 return NULL; 383 return NULL;
384 } 384 }
385 385
386 void DesktopRootWindowHostLinux::SetFullscreen(bool fullscreen) {
387 // TODO(erg):
388 NOTIMPLEMENTED();
389 }
390
391 bool DesktopRootWindowHostLinux::IsFullscreen() const {
392 // TODO(erg):
393 NOTIMPLEMENTED();
394 return false;
395 }
396
397 void DesktopRootWindowHostLinux::SetOpacity(unsigned char opacity) {
398 // TODO(erg):
399 NOTIMPLEMENTED();
400 }
401
402 void DesktopRootWindowHostLinux::SetWindowIcons(
403 const gfx::ImageSkia& window_icon, const gfx::ImageSkia& app_icon) {
404 // TODO(erg):
405 NOTIMPLEMENTED();
406 }
407
408 void DesktopRootWindowHostLinux::SetAccessibleName(const string16& name) {
409 // TODO(erg):
410 NOTIMPLEMENTED();
411 }
412
413 void DesktopRootWindowHostLinux::SetAccessibleRole(
414 ui::AccessibilityTypes::Role role) {
415 // TODO(erg):
416 NOTIMPLEMENTED();
417 }
418
419 void DesktopRootWindowHostLinux::SetAccessibleState(
420 ui::AccessibilityTypes::State state) {
421 // TODO(erg):
422 NOTIMPLEMENTED();
423 }
424
425 void DesktopRootWindowHostLinux::InitModalType(ui::ModalType modal_type) {
426 // TODO(erg):
427 NOTIMPLEMENTED();
428 }
429
430 void DesktopRootWindowHostLinux::FlashFrame(bool flash_frame) {
431 // TODO(erg):
432 NOTIMPLEMENTED();
433 }
434
386 //////////////////////////////////////////////////////////////////////////////// 435 ////////////////////////////////////////////////////////////////////////////////
387 // DesktopRootWindowHostLinux, aura::RootWindowHost implementation: 436 // DesktopRootWindowHostLinux, aura::RootWindowHost implementation:
388 437
389 aura::RootWindow* DesktopRootWindowHostLinux::GetRootWindow() { 438 aura::RootWindow* DesktopRootWindowHostLinux::GetRootWindow() {
390 return root_window_.get(); 439 return root_window_.get();
391 } 440 }
392 441
393 gfx::AcceleratedWidget DesktopRootWindowHostLinux::GetAcceleratedWidget() { 442 gfx::AcceleratedWidget DesktopRootWindowHostLinux::GetAcceleratedWidget() {
394 return xwindow_; 443 return xwindow_;
395 } 444 }
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 // DesktopRootWindowHost, public: 781 // DesktopRootWindowHost, public:
733 782
734 // static 783 // static
735 DesktopRootWindowHost* DesktopRootWindowHost::Create( 784 DesktopRootWindowHost* DesktopRootWindowHost::Create(
736 internal::NativeWidgetDelegate* native_widget_delegate, 785 internal::NativeWidgetDelegate* native_widget_delegate,
737 const gfx::Rect& initial_bounds) { 786 const gfx::Rect& initial_bounds) {
738 return new DesktopRootWindowHostLinux; 787 return new DesktopRootWindowHostLinux;
739 } 788 }
740 789
741 } // namespace views 790 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_root_window_host_linux.h ('k') | ui/views/widget/desktop_root_window_host_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698