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

Side by Side Diff: ash/shell/lock_view.cc

Issue 213833018: Aura tooltips do not move on mouse move in case of many neighboring views with the same label (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sanity fixups Created 6 years, 8 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
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 #include "ash/session_state_delegate.h" 5 #include "ash/session_state_delegate.h"
6 #include "ash/shell.h" 6 #include "ash/shell.h"
7 #include "ash/shell/example_factory.h" 7 #include "ash/shell/example_factory.h"
8 #include "ash/shell_window_ids.h" 8 #include "ash/shell_window_ids.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 params.parent = Shell::GetContainer(Shell::GetPrimaryRootWindow(), 97 params.parent = Shell::GetContainer(Shell::GetPrimaryRootWindow(),
98 kShellWindowId_LockScreenContainer); 98 kShellWindowId_LockScreenContainer);
99 widget->Init(params); 99 widget->Init(params);
100 widget->SetContentsView(lock_view); 100 widget->SetContentsView(lock_view);
101 widget->Show(); 101 widget->Show();
102 widget->GetNativeView()->SetName("LockView"); 102 widget->GetNativeView()->SetName("LockView");
103 widget->GetNativeView()->Focus(); 103 widget->GetNativeView()->Focus();
104 104
105 // TODO: it shouldn't be necessary to invoke UpdateTooltip() here. 105 // TODO: it shouldn't be necessary to invoke UpdateTooltip() here.
106 Shell::GetInstance()->tooltip_controller()->UpdateTooltip( 106 Shell::GetInstance()->tooltip_controller()->UpdateTooltip(
107 widget->GetNativeView()); 107 widget->GetNativeView(), false);
108 } 108 }
109 109
110 } // namespace shell 110 } // namespace shell
111 } // namespace ash 111 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | ui/views/corewm/tooltip_controller.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698