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

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

Issue 10014013: Add a hang monitor for Pepper plugins (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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_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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 void OnFindReply(int request_id, int number_of_matches, 454 void OnFindReply(int request_id, int number_of_matches,
455 const gfx::Rect& selection_rect, int active_match_ordinal, 455 const gfx::Rect& selection_rect, int active_match_ordinal,
456 bool final_update); 456 bool final_update);
457 void OnCrashedPlugin(const FilePath& plugin_path); 457 void OnCrashedPlugin(const FilePath& plugin_path);
458 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); 458 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy);
459 void OnOpenColorChooser(int color_chooser_id, 459 void OnOpenColorChooser(int color_chooser_id,
460 const SkColor& color); 460 const SkColor& color);
461 void OnEndColorChooser(int color_chooser_id); 461 void OnEndColorChooser(int color_chooser_id);
462 void OnSetSelectedColorInColorChooser(int color_chooser_id, 462 void OnSetSelectedColorInColorChooser(int color_chooser_id,
463 const SkColor& color); 463 const SkColor& color);
464 void OnPepperPluginHung(int plugin_child_id,
465 const FilePath& path,
466 bool is_hung);
464 467
465 // Changes the IsLoading state and notifies delegate as needed 468 // Changes the IsLoading state and notifies delegate as needed
466 // |details| is used to provide details on the load that just finished 469 // |details| is used to provide details on the load that just finished
467 // (but can be null if not applicable). Can be overridden. 470 // (but can be null if not applicable). Can be overridden.
468 void SetIsLoading(bool is_loading, 471 void SetIsLoading(bool is_loading,
469 content::LoadNotificationDetails* details); 472 content::LoadNotificationDetails* details);
470 473
471 // Called by derived classes to indicate that we're no longer waiting for a 474 // Called by derived classes to indicate that we're no longer waiting for a
472 // response. This won't actually update the throbber, but it will get picked 475 // response. This won't actually update the throbber, but it will get picked
473 // up at the next animation step if the throbber is going. 476 // up at the next animation step if the throbber is going.
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 692
690 // Color chooser that was opened by this tab. 693 // Color chooser that was opened by this tab.
691 content::ColorChooser* color_chooser_; 694 content::ColorChooser* color_chooser_;
692 695
693 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 696 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
694 }; 697 };
695 698
696 typedef class WebContentsImpl TabContents; 699 typedef class WebContentsImpl TabContents;
697 700
698 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 701 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.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