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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc

Issue 442893004: Remove useless DesktopWindowTreeHostWin::HandleTooltipMouseMove() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
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 "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h" 5 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h"
6 6
7 #include "base/win/metro.h" 7 #include "base/win/metro.h"
8 #include "third_party/skia/include/core/SkPath.h" 8 #include "third_party/skia/include/core/SkPath.h"
9 #include "third_party/skia/include/core/SkRegion.h" 9 #include "third_party/skia/include/core/SkRegion.h"
10 #include "ui/aura/client/aura_constants.h" 10 #include "ui/aura/client/aura_constants.h"
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 if (compositor()) 856 if (compositor())
857 compositor()->ScheduleRedrawRect(gfx::Rect()); 857 compositor()->ScheduleRedrawRect(gfx::Rect());
858 } 858 }
859 859
860 bool DesktopWindowTreeHostWin::HandleTooltipNotify(int w_param, 860 bool DesktopWindowTreeHostWin::HandleTooltipNotify(int w_param,
861 NMHDR* l_param, 861 NMHDR* l_param,
862 LRESULT* l_result) { 862 LRESULT* l_result) {
863 return tooltip_ && tooltip_->HandleNotify(w_param, l_param, l_result); 863 return tooltip_ && tooltip_->HandleNotify(w_param, l_param, l_result);
864 } 864 }
865 865
866 void DesktopWindowTreeHostWin::HandleTooltipMouseMove(UINT message,
867 WPARAM w_param,
868 LPARAM l_param) {
869 // TooltipWin implementation doesn't need this.
870 // TODO(sky): remove from HWNDMessageHandler once non-aura path nuked.
871 }
872
873 void DesktopWindowTreeHostWin::HandleMenuLoop(bool in_menu_loop) { 866 void DesktopWindowTreeHostWin::HandleMenuLoop(bool in_menu_loop) {
874 if (in_menu_loop) { 867 if (in_menu_loop) {
875 tooltip_disabler_.reset( 868 tooltip_disabler_.reset(
876 new aura::client::ScopedTooltipDisabler(window())); 869 new aura::client::ScopedTooltipDisabler(window()));
877 } else { 870 } else {
878 tooltip_disabler_.reset(); 871 tooltip_disabler_.reset();
879 } 872 }
880 } 873 }
881 874
882 bool DesktopWindowTreeHostWin::PreHandleMSG(UINT message, 875 bool DesktopWindowTreeHostWin::PreHandleMSG(UINT message,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 939
947 // static 940 // static
948 DesktopWindowTreeHost* DesktopWindowTreeHost::Create( 941 DesktopWindowTreeHost* DesktopWindowTreeHost::Create(
949 internal::NativeWidgetDelegate* native_widget_delegate, 942 internal::NativeWidgetDelegate* native_widget_delegate,
950 DesktopNativeWidgetAura* desktop_native_widget_aura) { 943 DesktopNativeWidgetAura* desktop_native_widget_aura) {
951 return new DesktopWindowTreeHostWin(native_widget_delegate, 944 return new DesktopWindowTreeHostWin(native_widget_delegate,
952 desktop_native_widget_aura); 945 desktop_native_widget_aura);
953 } 946 }
954 947
955 } // namespace views 948 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_win.h ('k') | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698