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

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

Issue 9250029: Enable KeyboardOverlayDialog on aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the alignment nit. Created 8 years, 11 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
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/keyboard_overlay_dialog_view.cc
diff --git a/chrome/browser/ui/views/keyboard_overlay_dialog_view.cc b/chrome/browser/ui/views/keyboard_overlay_dialog_view.cc
index 366cf48529adc3008e7a81a2a19b4fbe090241d1..a8515922769ea047cda1f02959b94d6fbee8b788 100644
--- a/chrome/browser/ui/views/keyboard_overlay_dialog_view.cc
+++ b/chrome/browser/ui/views/keyboard_overlay_dialog_view.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/ui/views/keyboard_overlay_dialog_view.h"
#include "base/utf_string_conversions.h"
-#include "chrome/browser/chromeos/frame/bubble_window.h"
#include "chrome/browser/chromeos/input_method/input_method_manager.h"
#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/views/accelerator_table.h"
@@ -37,7 +36,7 @@ KeyboardOverlayDialogView::KeyboardOverlayDialogView(
Profile* profile,
HtmlDialogUIDelegate* delegate,
BrowserView* parent_view)
- : HtmlDialogView(profile, NULL, delegate),
+ : HtmlDialogView(profile, parent_view->browser(), delegate),
parent_view_(parent_view) {
}
@@ -93,9 +92,7 @@ void KeyboardOverlayDialogView::ShowDialog(
parent_view);
delegate->set_view(html_view);
html_view->InitDialog();
- chromeos::BubbleWindow::Create(owning_window,
- STYLE_FLUSH,
- html_view);
+ browser::CreateFramelessViewsWindow(owning_window, html_view);
html_view->GetWidget()->Show();
}
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698