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