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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2136173003: Add an histogram to differentiate between hang types of the renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed asan issue Created 4 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
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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 // void Paste() override; 610 // void Paste() override;
611 // void SelectAll() override; 611 // void SelectAll() override;
612 void MoveRangeSelectionExtent(const gfx::Point& extent) override; 612 void MoveRangeSelectionExtent(const gfx::Point& extent) override;
613 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; 613 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override;
614 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust) 614 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust)
615 override; 615 override;
616 RenderWidgetHostInputEventRouter* GetInputEventRouter() override; 616 RenderWidgetHostInputEventRouter* GetInputEventRouter() override;
617 void ReplicatePageFocus(bool is_focused) override; 617 void ReplicatePageFocus(bool is_focused) override;
618 RenderWidgetHostImpl* GetFocusedRenderWidgetHost( 618 RenderWidgetHostImpl* GetFocusedRenderWidgetHost(
619 RenderWidgetHostImpl* receiving_widget) override; 619 RenderWidgetHostImpl* receiving_widget) override;
620 void RendererUnresponsive(RenderWidgetHostImpl* render_widget_host) override; 620 void RendererUnresponsive(
621 RenderWidgetHostImpl* render_widget_host,
622 RenderWidgetHostDelegate::RendererUnresponsiveType type) override;
621 void RendererResponsive(RenderWidgetHostImpl* render_widget_host) override; 623 void RendererResponsive(RenderWidgetHostImpl* render_widget_host) override;
622 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host, 624 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host,
623 bool user_gesture, 625 bool user_gesture,
624 bool last_unlocked_by_target, 626 bool last_unlocked_by_target,
625 bool privileged) override; 627 bool privileged) override;
626 gfx::Rect GetRootWindowResizerRect( 628 gfx::Rect GetRootWindowResizerRect(
627 RenderWidgetHostImpl* render_widget_host) const override; 629 RenderWidgetHostImpl* render_widget_host) const override;
628 bool IsFullscreenForCurrentTab() const override; 630 bool IsFullscreenForCurrentTab() const override;
629 blink::WebDisplayMode GetDisplayMode( 631 blink::WebDisplayMode GetDisplayMode(
630 RenderWidgetHostImpl* render_widget_host) const override; 632 RenderWidgetHostImpl* render_widget_host) const override;
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
1421 // Adds/removes a callback called on creation of each new WebContents. 1423 // Adds/removes a callback called on creation of each new WebContents.
1422 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1424 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1423 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1425 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1424 1426
1425 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1427 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1426 }; 1428 };
1427 1429
1428 } // namespace content 1430 } // namespace content
1429 1431
1430 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1432 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_unittest.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698