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

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

Issue 1584473004: Migrate ProcessesEventRouter to the new task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [NOT a WIP] All tests are passing. Created 4 years, 10 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_PUBLIC_BROWSER_WEB_CONTENTS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 // Indicates/Sets whether all audio output from this WebContents is muted. 357 // Indicates/Sets whether all audio output from this WebContents is muted.
358 virtual bool IsAudioMuted() const = 0; 358 virtual bool IsAudioMuted() const = 0;
359 virtual void SetAudioMuted(bool mute) = 0; 359 virtual void SetAudioMuted(bool mute) = 0;
360 360
361 // Indicates whether this tab should be considered crashed. The setter will 361 // Indicates whether this tab should be considered crashed. The setter will
362 // also notify the delegate when the flag is changed. 362 // also notify the delegate when the flag is changed.
363 virtual bool IsCrashed() const = 0; 363 virtual bool IsCrashed() const = 0;
364 virtual void SetIsCrashed(base::TerminationStatus status, int error_code) = 0; 364 virtual void SetIsCrashed(base::TerminationStatus status, int error_code) = 0;
365 365
366 virtual base::TerminationStatus GetCrashedStatus() const = 0; 366 virtual base::TerminationStatus GetCrashedStatus() const = 0;
367 virtual int GetCrashedErrorCode() const = 0;
367 368
368 // Whether the tab is in the process of being destroyed. 369 // Whether the tab is in the process of being destroyed.
369 virtual bool IsBeingDestroyed() const = 0; 370 virtual bool IsBeingDestroyed() const = 0;
370 371
371 // Convenience method for notifying the delegate of a navigation state 372 // Convenience method for notifying the delegate of a navigation state
372 // change. 373 // change.
373 virtual void NotifyNavigationStateChanged(InvalidateTypes changed_flags) = 0; 374 virtual void NotifyNavigationStateChanged(InvalidateTypes changed_flags) = 0;
374 375
375 // Get/Set the last time that the WebContents was made active (either when it 376 // Get/Set the last time that the WebContents was made active (either when it
376 // was created or shown with WasShown()). 377 // was created or shown with WasShown()).
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 711
711 private: 712 private:
712 // This interface should only be implemented inside content. 713 // This interface should only be implemented inside content.
713 friend class WebContentsImpl; 714 friend class WebContentsImpl;
714 WebContents() {} 715 WebContents() {}
715 }; 716 };
716 717
717 } // namespace content 718 } // namespace content
718 719
719 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 720 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698