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

Unified Diff: chrome/browser/ui/views/keyboard_overlay_dialog_view.h

Issue 10377114: Remove some more OS_CHROMEOS from browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/keyboard_overlay_dialog_view.h
===================================================================
--- chrome/browser/ui/views/keyboard_overlay_dialog_view.h (revision 137127)
+++ chrome/browser/ui/views/keyboard_overlay_dialog_view.h (working copy)
@@ -15,23 +15,22 @@
namespace ui {
class Accelerator;
+class AcceleratorTarget;
}
-class BrowserView;
-
// A customized dialog view for the keyboard overlay.
class KeyboardOverlayDialogView : public WebDialogView {
public:
KeyboardOverlayDialogView(Profile* profile,
WebDialogDelegate* delegate,
- BrowserView* parent_view);
+ AcceleratorTarget* target);
virtual ~KeyboardOverlayDialogView();
// Overridden from views::View:
virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
// Shows the keyboard overlay.
- static void ShowDialog(gfx::NativeWindow owning_window, BrowserView* parent);
+ static void ShowDialog(ui::AcceleratorTarget* target);
private:
void RegisterDialogAccelerators();
@@ -40,7 +39,7 @@
bool IsCloseAccelerator(const ui::Accelerator& accelerator);
// Points to the view from which this dialog is created.
- BrowserView* parent_view_;
+ AcceleratorTarget* target_;
// Contains accelerators for closing this dialog.
std::set<ui::Accelerator> close_accelerators_;

Powered by Google App Engine
This is Rietveld 408576698