Chromium Code Reviews| Index: chrome/browser/ui/views/frame/touch_browser_frame_view.h |
| diff --git a/chrome/browser/ui/views/frame/touch_browser_frame_view.h b/chrome/browser/ui/views/frame/touch_browser_frame_view.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..67304bbc4682dfc1e79fcd7b7cf993c2562b6c3c |
| --- /dev/null |
| +++ b/chrome/browser/ui/views/frame/touch_browser_frame_view.h |
| @@ -0,0 +1,43 @@ |
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#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.
|
| +#define CHROME_BROWSER_UI_VIEWS_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ |
| +#pragma once |
| + |
| +#include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h" |
| +#include "chrome/common/notification_observer.h" |
| +#include "chrome/common/notification_registrar.h" |
| + |
| +class BrowserFrame; |
| +class BrowserView; |
| +class DOMView; |
| +class NotificationDetails; |
| +class NotificationSource; |
| + |
| +class TouchBrowserFrameView : public OpaqueBrowserFrameView, |
| + public NotificationObserver { |
| + public: |
| + // Constructs a non-client view for an BrowserFrame. |
| + TouchBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view); |
| + virtual ~TouchBrowserFrameView(); |
| + |
| + // Overridden from views::View: |
| + virtual void Layout(); |
| + |
| + private: |
| + virtual void InitVirtualKeyboard(); |
| + virtual void UpdateKeyboardAndLayout(bool should_show_keyboard); |
| + |
| + // Overridden from NotificationObserver. |
| + virtual void Observe(NotificationType type, |
| + const NotificationSource& source, |
| + const NotificationDetails& details); |
| + |
| + DOMView* keyboard_; |
| + NotificationRegistrar registrar_; |
| + 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.
|
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_VIEWS_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ |