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

Side by Side Diff: chrome/browser/ui/views/keyboard_overlay_dialog_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 CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_
7
8 #include "base/compiler_specific.h"
9 #include "ui/views/controls/webview/web_dialog_view.h"
10
11 namespace content {
12 class BrowserContext;
13 }
14
15 namespace ui {
16 class WebDialogDelegate;
17 }
18
19 // A customized dialog view for the keyboard overlay.
20 class KeyboardOverlayDialogView : public views::WebDialogView {
21 public:
22 KeyboardOverlayDialogView(content::BrowserContext* context,
23 ui::WebDialogDelegate* delegate,
24 WebContentsHandler* handler);
25 virtual ~KeyboardOverlayDialogView();
26
27 // Shows the keyboard overlay.
28 static void ShowDialog(content::BrowserContext* context,
29 WebContentsHandler* handler);
30
31 private:
32 // Overridden from views::WidgetDelegate:
33 virtual void WindowClosing() OVERRIDE;
34
35 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayDialogView);
36 };
37
38 #endif // CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/keyboard_overlay_delegate.cc ('k') | chrome/browser/ui/views/keyboard_overlay_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698