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

Side by Side Diff: chrome/browser/ui/views/frame/touch_browser_frame_view.h

Issue 5747001: Add the virtual keyboard to BrowserFrameChromeos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_
sky 2010/12/09 22:19:03 I suggested this to Chad as well. I think it's wor
bryeung 2010/12/10 17:23:19 Done.
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_
7 #pragma once
8
9 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h"
10 #include "chrome/common/notification_observer.h"
11 #include "chrome/common/notification_registrar.h"
12
13 class BrowserFrame;
14 class BrowserView;
15 class DOMView;
16 class NotificationDetails;
17 class NotificationSource;
18
19 class TouchBrowserFrameView : public OpaqueBrowserFrameView,
20 public NotificationObserver {
21 public:
22 // Constructs a non-client view for an BrowserFrame.
23 TouchBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view);
24 virtual ~TouchBrowserFrameView();
25
26 // Overridden from views::View:
27 virtual void Layout();
28
29 private:
30 virtual void InitVirtualKeyboard();
31 virtual void UpdateKeyboardAndLayout(bool should_show_keyboard);
32
33 // Overridden from NotificationObserver.
34 virtual void Observe(NotificationType type,
35 const NotificationSource& source,
36 const NotificationDetails& details);
37
38 DOMView* keyboard_;
39 NotificationRegistrar registrar_;
40 DISALLOW_COPY_AND_ASSIGN(TouchBrowserFrameView);
sky 2010/12/09 22:19:03 newline between 39 and 40.
bryeung 2010/12/10 17:23:19 Done.
41 };
42
43 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698