| 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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 bool tooltip_showing_; | 447 bool tooltip_showing_; |
| 448 | 448 |
| 449 // Factory used to safely scope delayed calls to ShutdownHost(). | 449 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 450 base::WeakPtrFactory<RenderWidgetHostViewWin> weak_factory_; | 450 base::WeakPtrFactory<RenderWidgetHostViewWin> weak_factory_; |
| 451 | 451 |
| 452 // Our parent HWND. We keep a reference to it as we SetParent(NULL) when | 452 // Our parent HWND. We keep a reference to it as we SetParent(NULL) when |
| 453 // hidden to prevent getting messages (Paint, Resize...), and we reattach | 453 // hidden to prevent getting messages (Paint, Resize...), and we reattach |
| 454 // when shown again. | 454 // when shown again. |
| 455 HWND parent_hwnd_; | 455 HWND parent_hwnd_; |
| 456 | 456 |
| 457 // Instance of accessibility information for the root of the MSAA | |
| 458 // tree representation of the WebKit render tree. | |
| 459 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | |
| 460 | |
| 461 // The time at which this view started displaying white pixels as a result of | 457 // The time at which this view started displaying white pixels as a result of |
| 462 // not having anything to paint (empty backing store from renderer). This | 458 // not having anything to paint (empty backing store from renderer). This |
| 463 // value returns true for is_null() if we are not recording whiteout times. | 459 // value returns true for is_null() if we are not recording whiteout times. |
| 464 base::TimeTicks whiteout_start_time_; | 460 base::TimeTicks whiteout_start_time_; |
| 465 | 461 |
| 466 // The time it took after this view was selected for it to be fully painted. | 462 // The time it took after this view was selected for it to be fully painted. |
| 467 base::TimeTicks tab_switch_paint_time_; | 463 base::TimeTicks tab_switch_paint_time_; |
| 468 | 464 |
| 469 // Registrar so we can listen to RENDERER_PROCESS_TERMINATED events. | 465 // Registrar so we can listen to RENDERER_PROCESS_TERMINATED events. |
| 470 content::NotificationRegistrar registrar_; | 466 content::NotificationRegistrar registrar_; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 // duplicate lbutton down messages to the renderer. | 507 // duplicate lbutton down messages to the renderer. |
| 512 bool ignore_next_lbutton_message_at_same_location; | 508 bool ignore_next_lbutton_message_at_same_location; |
| 513 // The location of the last WM_POINTERDOWN message. We ignore the subsequent | 509 // The location of the last WM_POINTERDOWN message. We ignore the subsequent |
| 514 // lbutton down only if the locations match. | 510 // lbutton down only if the locations match. |
| 515 LPARAM last_pointer_down_location_; | 511 LPARAM last_pointer_down_location_; |
| 516 | 512 |
| 517 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 513 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
| 518 }; | 514 }; |
| 519 | 515 |
| 520 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 516 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
| OLD | NEW |