Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_win.h

Issue 10753017: In Windows 8 chrome metro mode if we Alt tabbed away from chrome while a tab was loading, we would … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 // The tooltip control hwnd 469 // The tooltip control hwnd
470 HWND tooltip_hwnd_; 470 HWND tooltip_hwnd_;
471 // Whether or not a tooltip is currently visible. We use this to track 471 // Whether or not a tooltip is currently visible. We use this to track
472 // whether or not we want to force-close the tooltip when we receive mouse 472 // whether or not we want to force-close the tooltip when we receive mouse
473 // move notifications from the renderer. See comment in OnMsgSetTooltipText. 473 // move notifications from the renderer. See comment in OnMsgSetTooltipText.
474 bool tooltip_showing_; 474 bool tooltip_showing_;
475 475
476 // Factory used to safely scope delayed calls to ShutdownHost(). 476 // Factory used to safely scope delayed calls to ShutdownHost().
477 base::WeakPtrFactory<RenderWidgetHostViewWin> weak_factory_; 477 base::WeakPtrFactory<RenderWidgetHostViewWin> weak_factory_;
478 478
479 // Our parent HWND. We keep a reference to it as we SetParent(NULL) when
480 // hidden to prevent getting messages (Paint, Resize...), and we reattach
481 // when shown again.
482 HWND parent_hwnd_;
483
484 // The time at which this view started displaying white pixels as a result of 479 // The time at which this view started displaying white pixels as a result of
485 // not having anything to paint (empty backing store from renderer). This 480 // not having anything to paint (empty backing store from renderer). This
486 // value returns true for is_null() if we are not recording whiteout times. 481 // value returns true for is_null() if we are not recording whiteout times.
487 base::TimeTicks whiteout_start_time_; 482 base::TimeTicks whiteout_start_time_;
488 483
489 // The time it took after this view was selected for it to be fully painted. 484 // The time it took after this view was selected for it to be fully painted.
490 base::TimeTicks web_contents_switch_paint_time_; 485 base::TimeTicks web_contents_switch_paint_time_;
491 486
492 // Registrar so we can listen to RENDERER_PROCESS_TERMINATED events. 487 // Registrar so we can listen to RENDERER_PROCESS_TERMINATED events.
493 content::NotificationRegistrar registrar_; 488 content::NotificationRegistrar registrar_;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 551
557 // Are touch events currently enabled? 552 // Are touch events currently enabled?
558 bool touch_events_enabled_; 553 bool touch_events_enabled_;
559 554
560 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 555 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
561 556
562 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 557 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
563 }; 558 };
564 559
565 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 560 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698