| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #include <atlapp.h> | 10 #include <atlapp.h> |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 virtual void UnlockMouse() OVERRIDE; | 215 virtual void UnlockMouse() OVERRIDE; |
| 216 | 216 |
| 217 // Implementation of content::NotificationObserver: | 217 // Implementation of content::NotificationObserver: |
| 218 virtual void Observe(int type, | 218 virtual void Observe(int type, |
| 219 const content::NotificationSource& source, | 219 const content::NotificationSource& source, |
| 220 const content::NotificationDetails& details) OVERRIDE; | 220 const content::NotificationDetails& details) OVERRIDE; |
| 221 | 221 |
| 222 // Implementation of BrowserAccessibilityDelegate: | 222 // Implementation of BrowserAccessibilityDelegate: |
| 223 virtual void SetAccessibilityFocus(int acc_obj_id) OVERRIDE; | 223 virtual void SetAccessibilityFocus(int acc_obj_id) OVERRIDE; |
| 224 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE; | 224 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE; |
| 225 virtual void AccessibilityChangeScrollPosition( |
| 226 int acc_obj_id, int scroll_x, int scroll_y) OVERRIDE; |
| 227 virtual void AccessibilitySetTextSelection( |
| 228 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; |
| 225 | 229 |
| 226 protected: | 230 protected: |
| 227 // Windows Message Handlers | 231 // Windows Message Handlers |
| 228 LRESULT OnCreate(CREATESTRUCT* create_struct); | 232 LRESULT OnCreate(CREATESTRUCT* create_struct); |
| 229 void OnActivate(UINT, BOOL, HWND); | 233 void OnActivate(UINT, BOOL, HWND); |
| 230 void OnDestroy(); | 234 void OnDestroy(); |
| 231 void OnPaint(HDC unused_dc); | 235 void OnPaint(HDC unused_dc); |
| 232 void OnNCPaint(HRGN update_region); | 236 void OnNCPaint(HRGN update_region); |
| 233 LRESULT OnEraseBkgnd(HDC dc); | 237 LRESULT OnEraseBkgnd(HDC dc); |
| 234 LRESULT OnSetCursor(HWND window, UINT hittest_code, UINT mouse_message_id); | 238 LRESULT OnSetCursor(HWND window, UINT hittest_code, UINT mouse_message_id); |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 // duplicate lbutton down messages to the renderer. | 501 // duplicate lbutton down messages to the renderer. |
| 498 bool ignore_next_lbutton_message_at_same_location; | 502 bool ignore_next_lbutton_message_at_same_location; |
| 499 // The location of the last WM_POINTERDOWN message. We ignore the subsequent | 503 // The location of the last WM_POINTERDOWN message. We ignore the subsequent |
| 500 // lbutton down only if the locations match. | 504 // lbutton down only if the locations match. |
| 501 LPARAM last_pointer_down_location_; | 505 LPARAM last_pointer_down_location_; |
| 502 | 506 |
| 503 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 507 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
| 504 }; | 508 }; |
| 505 | 509 |
| 506 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
| OLD | NEW |