OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlwin.h> | 9 #include <atlwin.h> |
10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 BOOL& handled); | 109 BOOL& handled); |
110 LRESULT OnMouseRange(UINT message, WPARAM w_param, LPARAM l_param, | 110 LRESULT OnMouseRange(UINT message, WPARAM w_param, LPARAM l_param, |
111 BOOL& handled); | 111 BOOL& handled); |
112 LRESULT OnMouseActivate(UINT message, WPARAM w_param, LPARAM l_param); | 112 LRESULT OnMouseActivate(UINT message, WPARAM w_param, LPARAM l_param); |
113 LRESULT OnTouch(UINT message, WPARAM w_param, LPARAM l_param); | 113 LRESULT OnTouch(UINT message, WPARAM w_param, LPARAM l_param); |
114 | 114 |
115 LRESULT OnNCPaint(UINT message, WPARAM w_param, LPARAM l_param); | 115 LRESULT OnNCPaint(UINT message, WPARAM w_param, LPARAM l_param); |
116 LRESULT OnPaint(UINT message, WPARAM w_param, LPARAM l_param); | 116 LRESULT OnPaint(UINT message, WPARAM w_param, LPARAM l_param); |
117 LRESULT OnSetCursor(UINT message, WPARAM w_param, LPARAM l_param); | 117 LRESULT OnSetCursor(UINT message, WPARAM w_param, LPARAM l_param); |
118 | 118 |
| 119 static LRESULT CALLBACK ParentWindowSuperClassProc(HWND window, |
| 120 UINT message, |
| 121 WPARAM w_param, |
| 122 LPARAM l_param); |
| 123 static WNDPROC g_parent_original_class_proc; |
| 124 |
119 content::BrowserAccessibilityManagerWin* manager_; | 125 content::BrowserAccessibilityManagerWin* manager_; |
120 base::win::ScopedComPtr<IAccessible> window_accessible_; | 126 base::win::ScopedComPtr<IAccessible> window_accessible_; |
121 | 127 |
122 DISALLOW_COPY_AND_ASSIGN(LegacyRenderWidgetHostHWND); | 128 DISALLOW_COPY_AND_ASSIGN(LegacyRenderWidgetHostHWND); |
123 }; | 129 }; |
124 | 130 |
125 } // namespace content | 131 } // namespace content |
126 | 132 |
127 #endif // CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ | 133 #endif // CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ |
128 | 134 |
OLD | NEW |