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

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

Issue 10827145: Convert Aura to use ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « ash/extended_desktop_unittest.cc ('k') | ash/keyboard_overlay/keyboard_overlay_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 ASH_KEYBOARD_OVERLAY_KEYBOARD_OVERLAY_VIEW_H_ 5 #ifndef ASH_KEYBOARD_OVERLAY_KEYBOARD_OVERLAY_VIEW_H_
6 #define ASH_KEYBOARD_OVERLAY_KEYBOARD_OVERLAY_VIEW_H_ 6 #define ASH_KEYBOARD_OVERLAY_KEYBOARD_OVERLAY_VIEW_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/overlay_event_filter.h" 9 #include "ash/wm/overlay_event_filter.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 14 matching lines...) Expand all
25 : public views::WebDialogView, 25 : public views::WebDialogView,
26 public ash::internal::OverlayEventFilter::Delegate { 26 public ash::internal::OverlayEventFilter::Delegate {
27 public: 27 public:
28 KeyboardOverlayView(content::BrowserContext* context, 28 KeyboardOverlayView(content::BrowserContext* context,
29 ui::WebDialogDelegate* delegate, 29 ui::WebDialogDelegate* delegate,
30 WebContentsHandler* handler); 30 WebContentsHandler* handler);
31 virtual ~KeyboardOverlayView(); 31 virtual ~KeyboardOverlayView();
32 32
33 // Overridden from ash::internal::OverlayEventFilter::Delegate: 33 // Overridden from ash::internal::OverlayEventFilter::Delegate:
34 virtual void Cancel() OVERRIDE; 34 virtual void Cancel() OVERRIDE;
35 virtual bool IsCancelingKeyEvent(aura::KeyEvent* event) OVERRIDE; 35 virtual bool IsCancelingKeyEvent(ui::KeyEvent* event) OVERRIDE;
36 virtual aura::Window* GetWindow() OVERRIDE; 36 virtual aura::Window* GetWindow() OVERRIDE;
37 37
38 // Shows the keyboard overlay. 38 // Shows the keyboard overlay.
39 static void ShowDialog(content::BrowserContext* context, 39 static void ShowDialog(content::BrowserContext* context,
40 WebContentsHandler* handler, 40 WebContentsHandler* handler,
41 const GURL& url); 41 const GURL& url);
42 42
43 private: 43 private:
44 // Overridden from views::WidgetDelegate: 44 // Overridden from views::WidgetDelegate:
45 virtual void WindowClosing() OVERRIDE; 45 virtual void WindowClosing() OVERRIDE;
46 46
47 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayView); 47 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayView);
48 }; 48 };
49 49
50 #endif // ASH_KEYBOARD_OVERLAY_KEYBOARD_OVERLAY_VIEW_H_ 50 #endif // ASH_KEYBOARD_OVERLAY_KEYBOARD_OVERLAY_VIEW_H_
OLDNEW
« no previous file with comments | « ash/extended_desktop_unittest.cc ('k') | ash/keyboard_overlay/keyboard_overlay_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698