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

Side by Side Diff: ash/keyboard_overlay/keyboard_overlay_view.h

Issue 10824023: Revert "Revert 148383 - Move the keyboard overlay view to ash." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef ASH_KEYBOARD_OVERLAY_KEYBOARD_OVERLAY_VIEW_H_
6 #define ASH_KEYBOARD_OVERLAY_KEYBOARD_OVERLAY_VIEW_H_
7
8 #include "ash/ash_export.h"
9 #include "base/compiler_specific.h"
10 #include "ui/views/controls/webview/web_dialog_view.h"
11
12 class GURL;
13
14 namespace content {
15 class BrowserContext;
16 }
17
18 namespace ui {
19 class WebDialogDelegate;
20 }
21
22 // A customized dialog view for the keyboard overlay.
23 class ASH_EXPORT KeyboardOverlayView : public views::WebDialogView {
24 public:
25 KeyboardOverlayView(content::BrowserContext* context,
26 ui::WebDialogDelegate* delegate,
27 WebContentsHandler* handler);
28 virtual ~KeyboardOverlayView();
29
30 // Shows the keyboard overlay.
31 static void ShowDialog(content::BrowserContext* context,
32 WebContentsHandler* handler,
33 const GURL& url);
34
35 private:
36 // Overridden from views::WidgetDelegate:
37 virtual void WindowClosing() OVERRIDE;
38
39 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayView);
40 };
41
42 #endif // ASH_KEYBOARD_OVERLAY_KEYBOARD_OVERLAY_VIEW_H_
OLDNEW
« no previous file with comments | « ash/keyboard_overlay/keyboard_overlay_delegate.cc ('k') | ash/keyboard_overlay/keyboard_overlay_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698