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

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

Issue 1584473004: Migrate ProcessesEventRouter to the new task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dispatch onCreated and onExited only for processes with valid child process host IDs 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_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 <map> 10 #include <map>
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 const std::string& GetEncoding() const override; 282 const std::string& GetEncoding() const override;
283 bool DisplayedInsecureContent() const override; 283 bool DisplayedInsecureContent() const override;
284 void IncrementCapturerCount(const gfx::Size& capture_size) override; 284 void IncrementCapturerCount(const gfx::Size& capture_size) override;
285 void DecrementCapturerCount() override; 285 void DecrementCapturerCount() override;
286 int GetCapturerCount() const override; 286 int GetCapturerCount() const override;
287 bool IsAudioMuted() const override; 287 bool IsAudioMuted() const override;
288 void SetAudioMuted(bool mute) override; 288 void SetAudioMuted(bool mute) override;
289 bool IsCrashed() const override; 289 bool IsCrashed() const override;
290 void SetIsCrashed(base::TerminationStatus status, int error_code) override; 290 void SetIsCrashed(base::TerminationStatus status, int error_code) override;
291 base::TerminationStatus GetCrashedStatus() const override; 291 base::TerminationStatus GetCrashedStatus() const override;
292 int GetCrashedErrorCode() const override;
292 bool IsBeingDestroyed() const override; 293 bool IsBeingDestroyed() const override;
293 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; 294 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override;
294 base::TimeTicks GetLastActiveTime() const override; 295 base::TimeTicks GetLastActiveTime() const override;
295 void SetLastActiveTime(base::TimeTicks last_active_time) override; 296 void SetLastActiveTime(base::TimeTicks last_active_time) override;
296 void WasShown() override; 297 void WasShown() override;
297 void WasHidden() override; 298 void WasHidden() override;
298 bool NeedToFireBeforeUnload() override; 299 bool NeedToFireBeforeUnload() override;
299 void DispatchBeforeUnload(bool for_cross_site_transition) override; 300 void DispatchBeforeUnload(bool for_cross_site_transition) override;
300 void AttachToOuterWebContentsFrame( 301 void AttachToOuterWebContentsFrame(
301 WebContents* outer_web_contents, 302 WebContents* outer_web_contents,
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 // Adds/removes a callback called on creation of each new WebContents. 1327 // Adds/removes a callback called on creation of each new WebContents.
1327 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1328 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1328 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1329 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1329 1330
1330 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1331 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1331 }; 1332 };
1332 1333
1333 } // namespace content 1334 } // namespace content
1334 1335
1335 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1336 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698