| OLD | NEW |
| 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 #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 // touch-point is added from an TOUCHEVENTF_DOWN message, and a touch-point | 447 // touch-point is added from an TOUCHEVENTF_DOWN message, and a touch-point |
| 448 // is removed from the list on an TOUCHEVENTF_UP message. | 448 // is removed from the list on an TOUCHEVENTF_UP message. |
| 449 scoped_ptr<WebTouchState> touch_state_; | 449 scoped_ptr<WebTouchState> touch_state_; |
| 450 | 450 |
| 451 // True if we're in the midst of a paint operation and should respond to | 451 // True if we're in the midst of a paint operation and should respond to |
| 452 // DidPaintRect() notifications by merely invalidating. See comments on | 452 // DidPaintRect() notifications by merely invalidating. See comments on |
| 453 // render_widget_host_view.h:DidPaintRect(). | 453 // render_widget_host_view.h:DidPaintRect(). |
| 454 bool about_to_validate_and_paint_; | 454 bool about_to_validate_and_paint_; |
| 455 | 455 |
| 456 // true if the View should be closed when its HWND is deactivated (used to | 456 // true if the View should be closed when its HWND is deactivated (used to |
| 457 // support SELECT popups and fullscreen widgets which are closed when they are | 457 // support SELECT popups which are closed when they are deactivated). |
| 458 // deactivated). | |
| 459 bool close_on_deactivate_; | 458 bool close_on_deactivate_; |
| 460 | 459 |
| 461 // Whether Destroy() has been called. Used to detect a crasher | 460 // Whether Destroy() has been called. Used to detect a crasher |
| 462 // (http://crbug.com/24248) where render_view_host_ has been deleted when | 461 // (http://crbug.com/24248) where render_view_host_ has been deleted when |
| 463 // OnFinalMessage is called. | 462 // OnFinalMessage is called. |
| 464 bool being_destroyed_; | 463 bool being_destroyed_; |
| 465 | 464 |
| 466 // Tooltips | 465 // Tooltips |
| 467 // The text to be shown in the tooltip, supplied by the renderer. | 466 // The text to be shown in the tooltip, supplied by the renderer. |
| 468 string16 tooltip_text_; | 467 string16 tooltip_text_; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 | 555 |
| 557 // Are touch events currently enabled? | 556 // Are touch events currently enabled? |
| 558 bool touch_events_enabled_; | 557 bool touch_events_enabled_; |
| 559 | 558 |
| 560 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 559 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 561 | 560 |
| 562 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 561 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
| 563 }; | 562 }; |
| 564 | 563 |
| 565 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 564 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
| OLD | NEW |