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

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

Issue 11793003: Relands: Telemetry: hooks "chrome.gpuBenchmarking.smoothScrollBy" with java on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: deque for in_process_event_types_ Created 7 years, 11 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
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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 RenderWidgetHostViewPort* view_; 514 RenderWidgetHostViewPort* view_;
515 515
516 // true if a renderer has once been valid. We use this flag to display a sad 516 // true if a renderer has once been valid. We use this flag to display a sad
517 // tab only when we lose our renderer and not if a paint occurs during 517 // tab only when we lose our renderer and not if a paint occurs during
518 // initialization. 518 // initialization.
519 bool renderer_initialized_; 519 bool renderer_initialized_;
520 520
521 // This value indicates how long to wait before we consider a renderer hung. 521 // This value indicates how long to wait before we consider a renderer hung.
522 int hung_renderer_delay_ms_; 522 int hung_renderer_delay_ms_;
523 523
524 std::queue<WebKit::WebInputEvent::Type> in_process_event_types_; 524 std::deque<WebKit::WebInputEvent::Type> in_process_event_types_;
525 525
526 private: 526 private:
527 friend class MockRenderWidgetHost; 527 friend class MockRenderWidgetHost;
528 528
529 // Tell this object to destroy itself. 529 // Tell this object to destroy itself.
530 void Destroy(); 530 void Destroy();
531 531
532 // Checks whether the renderer is hung and calls NotifyRendererUnresponsive 532 // Checks whether the renderer is hung and calls NotifyRendererUnresponsive
533 // if it is. 533 // if it is.
534 void CheckRendererIsUnresponsive(); 534 void CheckRendererIsUnresponsive();
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 #if defined(OS_WIN) 864 #if defined(OS_WIN)
865 std::list<HWND> dummy_windows_for_activation_; 865 std::list<HWND> dummy_windows_for_activation_;
866 #endif 866 #endif
867 867
868 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 868 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
869 }; 869 };
870 870
871 } // namespace content 871 } // namespace content
872 872
873 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 873 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698