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_MAC_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 #include <list> | 10 #include <list> |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 // This value is only meaningful when | 361 // This value is only meaningful when |
362 // |call_set_needs_display_in_rect_pending_| is true. | 362 // |call_set_needs_display_in_rect_pending_| is true. |
363 NSRect invalid_rect_; | 363 NSRect invalid_rect_; |
364 | 364 |
365 // The time at which this view started displaying white pixels as a result of | 365 // The time at which this view started displaying white pixels as a result of |
366 // not having anything to paint (empty backing store from renderer). This | 366 // not having anything to paint (empty backing store from renderer). This |
367 // value returns true for is_null() if we are not recording whiteout times. | 367 // value returns true for is_null() if we are not recording whiteout times. |
368 base::TimeTicks whiteout_start_time_; | 368 base::TimeTicks whiteout_start_time_; |
369 | 369 |
370 // The time it took after this view was selected for it to be fully painted. | 370 // The time it took after this view was selected for it to be fully painted. |
371 base::TimeTicks tab_switch_paint_time_; | 371 base::TimeTicks web_contents_switch_paint_time_; |
372 | 372 |
373 // Current text input type. | 373 // Current text input type. |
374 ui::TextInputType text_input_type_; | 374 ui::TextInputType text_input_type_; |
375 bool can_compose_inline_; | 375 bool can_compose_inline_; |
376 | 376 |
377 typedef std::map<gfx::PluginWindowHandle, AcceleratedPluginView*> | 377 typedef std::map<gfx::PluginWindowHandle, AcceleratedPluginView*> |
378 PluginViewMap; | 378 PluginViewMap; |
379 PluginViewMap plugin_views_; // Weak values. | 379 PluginViewMap plugin_views_; // Weak values. |
380 | 380 |
381 // Helper class for managing instances of accelerated plug-ins. | 381 // Helper class for managing instances of accelerated plug-ins. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 std::list<std::pair<int32, int32> > pending_swap_buffers_acks_; | 434 std::list<std::pair<int32, int32> > pending_swap_buffers_acks_; |
435 | 435 |
436 // The fullscreen window used for pepper flash. | 436 // The fullscreen window used for pepper flash. |
437 scoped_nsobject<NSWindow> pepper_fullscreen_window_; | 437 scoped_nsobject<NSWindow> pepper_fullscreen_window_; |
438 scoped_nsobject<FullscreenWindowManager> fullscreen_window_manager_; | 438 scoped_nsobject<FullscreenWindowManager> fullscreen_window_manager_; |
439 | 439 |
440 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 440 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
441 }; | 441 }; |
442 | 442 |
443 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 443 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |