| 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 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlapp.h> | 9 #include <atlapp.h> |
| 10 #include <atlcrack.h> | 10 #include <atlcrack.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 which are closed when they are deactivated). | 457 // support SELECT popups and fullscreen widgets which are closed when they are |
| 458 // deactivated). |
| 458 bool close_on_deactivate_; | 459 bool close_on_deactivate_; |
| 459 | 460 |
| 460 // Whether Destroy() has been called. Used to detect a crasher | 461 // Whether Destroy() has been called. Used to detect a crasher |
| 461 // (http://crbug.com/24248) where render_view_host_ has been deleted when | 462 // (http://crbug.com/24248) where render_view_host_ has been deleted when |
| 462 // OnFinalMessage is called. | 463 // OnFinalMessage is called. |
| 463 bool being_destroyed_; | 464 bool being_destroyed_; |
| 464 | 465 |
| 465 // Tooltips | 466 // Tooltips |
| 466 // The text to be shown in the tooltip, supplied by the renderer. | 467 // The text to be shown in the tooltip, supplied by the renderer. |
| 467 string16 tooltip_text_; | 468 string16 tooltip_text_; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 | 551 |
| 551 // Are touch events currently enabled? | 552 // Are touch events currently enabled? |
| 552 bool touch_events_enabled_; | 553 bool touch_events_enabled_; |
| 553 | 554 |
| 554 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 555 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 555 | 556 |
| 556 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 557 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
| 557 }; | 558 }; |
| 558 | 559 |
| 559 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 560 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
| OLD | NEW |