| 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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 | 503 |
| 504 // The time it took after this view was selected for it to be fully painted. | 504 // The time it took after this view was selected for it to be fully painted. |
| 505 base::TimeTicks web_contents_switch_paint_time_; | 505 base::TimeTicks web_contents_switch_paint_time_; |
| 506 | 506 |
| 507 // Registrar so we can listen to RENDERER_PROCESS_TERMINATED events. | 507 // Registrar so we can listen to RENDERER_PROCESS_TERMINATED events. |
| 508 NotificationRegistrar registrar_; | 508 NotificationRegistrar registrar_; |
| 509 | 509 |
| 510 // Stores the current text input type received by TextInputStateChanged() | 510 // Stores the current text input type received by TextInputStateChanged() |
| 511 // method. | 511 // method. |
| 512 ui::TextInputType text_input_type_; | 512 ui::TextInputType text_input_type_; |
| 513 bool can_compose_inline_; |
| 513 | 514 |
| 514 ScopedVector<ui::ViewProp> props_; | 515 ScopedVector<ui::ViewProp> props_; |
| 515 | 516 |
| 516 // Is the widget fullscreen? | 517 // Is the widget fullscreen? |
| 517 bool is_fullscreen_; | 518 bool is_fullscreen_; |
| 518 | 519 |
| 519 // Used to record the last position of the mouse. | 520 // Used to record the last position of the mouse. |
| 520 struct { | 521 struct { |
| 521 // While the mouse is locked, |unlocked| and |unlocked_global| store the | 522 // While the mouse is locked, |unlocked| and |unlocked_global| store the |
| 522 // last known position just as mouse lock was entered. | 523 // last known position just as mouse lock was entered. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 bool touch_events_enabled_; | 577 bool touch_events_enabled_; |
| 577 | 578 |
| 578 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 579 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 579 | 580 |
| 580 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 581 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
| 581 }; | 582 }; |
| 582 | 583 |
| 583 } // namespace content | 584 } // namespace content |
| 584 | 585 |
| 585 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 586 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
| OLD | NEW |