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

Side by Side Diff: chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.h

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_MANAGER_H_ 5 #ifndef CHROME_BROWSER_UI_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_MANAGER_H_
6 #define CHROME_BROWSER_UI_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_MANAGER_H_ 6 #define CHROME_BROWSER_UI_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "ui/views/desktop/desktop_window_view.h" 10 #include "ui/views/desktop/desktop_window_view.h"
11 #include "views/widget/widget.h" 11 #include "ui/views/widget/widget.h"
12 12
13 class KeyboardWidget; 13 class KeyboardWidget;
14 14
15 // A singleton object to manage the virtual keyboard. 15 // A singleton object to manage the virtual keyboard.
16 class VirtualKeyboardManager : public views::Widget::Observer, 16 class VirtualKeyboardManager : public views::Widget::Observer,
17 public views::desktop::DesktopWindowView::Observer { 17 public views::desktop::DesktopWindowView::Observer {
18 public: 18 public:
19 // Returns the singleton object. 19 // Returns the singleton object.
20 static VirtualKeyboardManager* GetInstance(); 20 static VirtualKeyboardManager* GetInstance();
21 21
(...skipping 19 matching lines...) Expand all
41 41
42 // Overridden from views::desktop::DesktopWindowView::Observer 42 // Overridden from views::desktop::DesktopWindowView::Observer
43 virtual void OnDesktopBoundsChanged(const gfx::Rect& prev_bounds) OVERRIDE; 43 virtual void OnDesktopBoundsChanged(const gfx::Rect& prev_bounds) OVERRIDE;
44 44
45 KeyboardWidget* keyboard_; 45 KeyboardWidget* keyboard_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardManager); 47 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardManager);
48 }; 48 };
49 49
50 #endif // CHROME_BROWSER_UI_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_MANAGER_H_ 50 #endif // CHROME_BROWSER_UI_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/wrench_menu.cc ('k') | chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698