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

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

Issue 10910144: Get mouse events to work with win aura, and make the combobox function in the views examples app. (Closed) Base URL: svn://svn.chromium.org/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 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ui/views/widget/desktop_root_window_host.h" 9 #include "ui/views/widget/desktop_root_window_host.h"
10 10
11 namespace views { 11 namespace views {
12 12
13 class DesktopRootWindowHostLinux : public DesktopRootWindowHost { 13 class DesktopRootWindowHostLinux : public DesktopRootWindowHost {
14 public: 14 public:
15 DesktopRootWindowHostLinux(); 15 DesktopRootWindowHostLinux();
16 virtual ~DesktopRootWindowHostLinux(); 16 virtual ~DesktopRootWindowHostLinux();
17 17
18 private: 18 private:
19 // Overridden from DesktopRootWindowHost: 19 // Overridden from DesktopRootWindowHost:
20 virtual void Init(aura::Window* content_window, 20 virtual void Init(aura::Window* content_window,
21 const Widget::InitParams& params) OVERRIDE; 21 const Widget::InitParams& params) OVERRIDE;
22 virtual void Close() OVERRIDE;
23 virtual void CloseNow() OVERRIDE;
24 virtual aura::RootWindowHost* AsRootWindowHost() OVERRIDE;
22 virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE; 25 virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE;
26 virtual bool IsVisible() const OVERRIDE;
27 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE;
23 28
24 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); 29 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux);
25 }; 30 };
26 31
27 } // namespace views 32 } // namespace views
28 33
29 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 34 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_root_window_host.h ('k') | ui/views/widget/desktop_root_window_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698