summaryrefslogtreecommitdiffstats
path: root/chrome/views/tooltip_manager.h
diff options
context:
space:
mode:
authornsylvain@google.com <nsylvain@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-29 21:54:26 +0000
committernsylvain@google.com <nsylvain@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-29 21:54:26 +0000
commit6968c4e063dce2e6befb5db3f67680d64e26c183 (patch)
treef180ee94be63b804e773f44347c5a973be46d443 /chrome/views/tooltip_manager.h
parente2504894ed0be1acaf8f6d753f752d25cc3f9aed (diff)
downloadchromium_src-6968c4e063dce2e6befb5db3f67680d64e26c183.zip
chromium_src-6968c4e063dce2e6befb5db3f67680d64e26c183.tar.gz
chromium_src-6968c4e063dce2e6befb5db3f67680d64e26c183.tar.bz2
Revert revision 73 because it was checked in when the tree was closed.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/tooltip_manager.h')
-rw-r--r--chrome/views/tooltip_manager.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/chrome/views/tooltip_manager.h b/chrome/views/tooltip_manager.h
index c229b52..9c77f91 100644
--- a/chrome/views/tooltip_manager.h
+++ b/chrome/views/tooltip_manager.h
@@ -92,12 +92,6 @@ class TooltipManager {
// Invoked when the tooltip text changes for the specified views.
void TooltipTextChanged(View* view);
- // Invoked when toolbar icon gets focus.
- void ShowKeyboardTooltip(View* view);
-
- // Invoked when toolbar loses focus.
- void HideKeyboardTooltip();
-
// Message handlers. These forward to the tooltip control.
virtual void OnMouse(UINT u_msg, WPARAM w_param, LPARAM l_param);
LRESULT OnNotify(int w_param, NMHDR* l_param, bool* handled);
@@ -138,13 +132,7 @@ class TooltipManager {
// of text in the tooltip.
void TrimTooltipToFit(std::wstring* text,
int* width,
- int* line_count,
- int position_x,
- int position_y,
- HWND window);
-
- // Invoked when the timer elapses and tooltip has to be destroyed.
- void DestroyKeyboardTooltipWindow(HWND window_to_destroy);
+ int* line_count);
// Hosting view container.
ViewContainer* view_container_;
@@ -173,13 +161,6 @@ class TooltipManager {
// Height for a tooltip; lazily calculated.
static int tooltip_height_;
- // control window for tooltip displayed using keyboard.
- HWND keyboard_tooltip_hwnd_;
-
- // Used to register DestroyTooltipWindow function with postdelayedtask
- // function.
- ScopedRunnableMethodFactory<TooltipManager> keyboard_tooltip_factory_;
-
DISALLOW_EVIL_CONSTRUCTORS(TooltipManager);
};