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

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: 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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 // void Paste() override; 608 // void Paste() override;
609 // void SelectAll() override; 609 // void SelectAll() override;
610 void MoveRangeSelectionExtent(const gfx::Point& extent) override; 610 void MoveRangeSelectionExtent(const gfx::Point& extent) override;
611 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; 611 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override;
612 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust) 612 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust)
613 override; 613 override;
614 RenderWidgetHostInputEventRouter* GetInputEventRouter() override; 614 RenderWidgetHostInputEventRouter* GetInputEventRouter() override;
615 void ReplicatePageFocus(bool is_focused) override; 615 void ReplicatePageFocus(bool is_focused) override;
616 RenderWidgetHostImpl* GetFocusedRenderWidgetHost( 616 RenderWidgetHostImpl* GetFocusedRenderWidgetHost(
617 RenderWidgetHostImpl* receiving_widget) override; 617 RenderWidgetHostImpl* receiving_widget) override;
618 void RendererUnresponsive(RenderWidgetHostImpl* render_widget_host) override; 618 void RendererUnresponsive(
619 RenderWidgetHostImpl* render_widget_host,
620 RenderWidgetHostDelegate::RendererUnresponsiveType type) override;
619 void RendererResponsive(RenderWidgetHostImpl* render_widget_host) override; 621 void RendererResponsive(RenderWidgetHostImpl* render_widget_host) override;
620 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host, 622 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host,
621 bool user_gesture, 623 bool user_gesture,
622 bool last_unlocked_by_target) override; 624 bool last_unlocked_by_target) override;
623 gfx::Rect GetRootWindowResizerRect( 625 gfx::Rect GetRootWindowResizerRect(
624 RenderWidgetHostImpl* render_widget_host) const override; 626 RenderWidgetHostImpl* render_widget_host) const override;
625 bool IsFullscreenForCurrentTab() const override; 627 bool IsFullscreenForCurrentTab() const override;
626 blink::WebDisplayMode GetDisplayMode( 628 blink::WebDisplayMode GetDisplayMode(
627 RenderWidgetHostImpl* render_widget_host) const override; 629 RenderWidgetHostImpl* render_widget_host) const override;
628 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; 630 void LostCapture(RenderWidgetHostImpl* render_widget_host) override;
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 // Adds/removes a callback called on creation of each new WebContents. 1433 // Adds/removes a callback called on creation of each new WebContents.
1432 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1434 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1433 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1435 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1434 1436
1435 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1437 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1436 }; 1438 };
1437 1439
1438 } // namespace content 1440 } // namespace content
1439 1441
1440 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1442 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698