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

Unified Diff: ui/aura_shell/examples/window_type_launcher.cc

Issue 8585007: Added hotkey support to 8508009 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for try bots Created 9 years, 1 month 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 | « ui/aura_shell/examples/widgets.cc ('k') | ui/aura_shell/launcher/launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/examples/window_type_launcher.cc
diff --git a/ui/aura_shell/examples/window_type_launcher.cc b/ui/aura_shell/examples/window_type_launcher.cc
index 4573e0c1f7033d38137d386f03af9641da650a52..395f61475e5bd8ec57d096e6315f178c18ad455b 100644
--- a/ui/aura_shell/examples/window_type_launcher.cc
+++ b/ui/aura_shell/examples/window_type_launcher.cc
@@ -49,7 +49,7 @@ class ModalWindow : public views::WidgetDelegateView,
static void OpenModalWindow(aura::Window* parent) {
views::Widget* widget =
views::Widget::CreateWindowWithParent(new ModalWindow, parent);
- widget->GetNativeView()->set_name("ModalWindow");
+ widget->GetNativeView()->SetName("ModalWindow");
widget->Show();
}
@@ -108,7 +108,7 @@ class NonModalTransient : public views::WidgetDelegateView {
static void OpenNonModalTransient(aura::Window* parent) {
views::Widget* widget =
views::Widget::CreateWindowWithParent(new NonModalTransient, parent);
- widget->GetNativeView()->set_name("NonModalTransient");
+ widget->GetNativeView()->SetName("NonModalTransient");
widget->Show();
}
@@ -143,7 +143,7 @@ void InitWindowTypeLauncher() {
views::Widget* widget =
views::Widget::CreateWindowWithBounds(new WindowTypeLauncher,
gfx::Rect(120, 150, 400, 300));
- widget->GetNativeView()->set_name("WindowTypeLauncher");
+ widget->GetNativeView()->SetName("WindowTypeLauncher");
widget->Show();
}
« no previous file with comments | « ui/aura_shell/examples/widgets.cc ('k') | ui/aura_shell/launcher/launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698