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

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

Issue 10951033: Plumb ClearNativeFocus to DesktopRootWindowHostWin. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: get rid of FocusNativeView 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 <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. 10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 virtual void Maximize() OVERRIDE; 77 virtual void Maximize() OVERRIDE;
78 virtual void Minimize() OVERRIDE; 78 virtual void Minimize() OVERRIDE;
79 virtual void Restore() OVERRIDE; 79 virtual void Restore() OVERRIDE;
80 virtual bool IsMaximized() const OVERRIDE; 80 virtual bool IsMaximized() const OVERRIDE;
81 virtual bool IsMinimized() const OVERRIDE; 81 virtual bool IsMinimized() const OVERRIDE;
82 virtual bool HasCapture() const OVERRIDE; 82 virtual bool HasCapture() const OVERRIDE;
83 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; 83 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
84 virtual InputMethod* CreateInputMethod() OVERRIDE; 84 virtual InputMethod* CreateInputMethod() OVERRIDE;
85 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; 85 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE;
86 virtual void SetWindowTitle(const string16& title) OVERRIDE; 86 virtual void SetWindowTitle(const string16& title) OVERRIDE;
87 virtual void ClearNativeFocus() OVERRIDE;
87 88
88 // Overridden from aura::RootWindowHost: 89 // Overridden from aura::RootWindowHost:
89 virtual aura::RootWindow* GetRootWindow() OVERRIDE; 90 virtual aura::RootWindow* GetRootWindow() OVERRIDE;
90 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 91 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
91 virtual void Show() OVERRIDE; 92 virtual void Show() OVERRIDE;
92 virtual void Hide() OVERRIDE; 93 virtual void Hide() OVERRIDE;
93 virtual void ToggleFullScreen() OVERRIDE; 94 virtual void ToggleFullScreen() OVERRIDE;
94 virtual gfx::Rect GetBounds() const OVERRIDE; 95 virtual gfx::Rect GetBounds() const OVERRIDE;
95 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 96 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
96 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 97 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 148
148 aura::RootWindowHostDelegate* root_window_host_delegate_; 149 aura::RootWindowHostDelegate* root_window_host_delegate_;
149 aura::Window* content_window_; 150 aura::Window* content_window_;
150 151
151 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); 152 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux);
152 }; 153 };
153 154
154 } // namespace views 155 } // namespace views
155 156
156 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 157 #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