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

Side by Side Diff: chrome/browser/ui/views/keyboard_overlay_dialog_view.h

Issue 10805047: Move WebDialogView to ui/views/controls/webview. (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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/ui/views/web_dialog_view.h" 9 #include "ui/views/controls/webview/web_dialog_view.h"
10 10
11 namespace content { 11 namespace content {
12 class BrowserContext; 12 class BrowserContext;
13 } 13 }
14 14
15 namespace ui { 15 namespace ui {
16 class WebDialogDelegate; 16 class WebDialogDelegate;
17 } 17 }
18 18
19 // A customized dialog view for the keyboard overlay. 19 // A customized dialog view for the keyboard overlay.
20 class KeyboardOverlayDialogView : public WebDialogView { 20 class KeyboardOverlayDialogView : public views::WebDialogView {
21 public: 21 public:
22 KeyboardOverlayDialogView(content::BrowserContext* context, 22 KeyboardOverlayDialogView(content::BrowserContext* context,
23 ui::WebDialogDelegate* delegate, 23 ui::WebDialogDelegate* delegate,
24 WebContentsHandler* handler); 24 WebContentsHandler* handler);
25 virtual ~KeyboardOverlayDialogView(); 25 virtual ~KeyboardOverlayDialogView();
26 26
27 // Shows the keyboard overlay. 27 // Shows the keyboard overlay.
28 static void ShowDialog(content::BrowserContext* context, 28 static void ShowDialog(content::BrowserContext* context,
29 WebContentsHandler* handler); 29 WebContentsHandler* handler);
30 30
31 private: 31 private:
32 // Overridden from views::WidgetDelegate: 32 // Overridden from views::WidgetDelegate:
33 virtual void WindowClosing() OVERRIDE; 33 virtual void WindowClosing() OVERRIDE;
34 34
35 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayDialogView); 35 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayDialogView);
36 }; 36 };
37 37
38 #endif // CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_ 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