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

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

Issue 10447125: Show only one instance of the keyboard overlay. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reorder functions Created 8 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/keyboard_overlay_dialog_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/views/web_dialog_view.h" 10 #include "chrome/browser/ui/views/web_dialog_view.h"
11 11
12 class Profile; 12 class Profile;
13 13
14 namespace ui { 14 namespace ui {
15 class WebDialogDelegate; 15 class WebDialogDelegate;
16 } 16 }
17 17
18 // A customized dialog view for the keyboard overlay. 18 // A customized dialog view for the keyboard overlay.
19 class KeyboardOverlayDialogView : public WebDialogView { 19 class KeyboardOverlayDialogView : public WebDialogView {
20 public: 20 public:
21 KeyboardOverlayDialogView(Profile* profile, ui::WebDialogDelegate* delegate); 21 KeyboardOverlayDialogView(Profile* profile, ui::WebDialogDelegate* delegate);
22 virtual ~KeyboardOverlayDialogView(); 22 virtual ~KeyboardOverlayDialogView();
23 23
24 // Shows the keyboard overlay. 24 // Shows the keyboard overlay.
25 static void ShowDialog(); 25 static void ShowDialog();
26 26
27 private:
28 // Overridden from views::WidgetDelegate:
29 virtual void WindowClosing() OVERRIDE;
30
27 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayDialogView); 31 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayDialogView);
28 }; 32 };
29 33
30 #endif // CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_ 34 #endif // CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/keyboard_overlay_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698