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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 2857263003: Task Manager should listen to WebContentsObserver::RenderFrameCreated. (Closed)
Patch Set: Tweaked the comments as suggested in the CR feedback Created 3 years, 7 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_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 void NotifyMoveOrResizeStarted() override; 107 void NotifyMoveOrResizeStarted() override;
108 void SetWebUIProperty(const std::string& name, 108 void SetWebUIProperty(const std::string& name,
109 const std::string& value) override; 109 const std::string& value) override;
110 void SyncRendererPrefs() override; 110 void SyncRendererPrefs() override;
111 WebPreferences GetWebkitPreferences() override; 111 WebPreferences GetWebkitPreferences() override;
112 void UpdateWebkitPreferences(const WebPreferences& prefs) override; 112 void UpdateWebkitPreferences(const WebPreferences& prefs) override;
113 void OnWebkitPreferencesChanged() override; 113 void OnWebkitPreferencesChanged() override;
114 void SelectWordAroundCaret() override; 114 void SelectWordAroundCaret() override;
115 115
116 // RenderProcessHostObserver implementation 116 // RenderProcessHostObserver implementation
117 void RenderProcessReady(RenderProcessHost* host) override;
118 void RenderProcessExited(RenderProcessHost* host, 117 void RenderProcessExited(RenderProcessHost* host,
119 base::TerminationStatus status, 118 base::TerminationStatus status,
120 int exit_code) override; 119 int exit_code) override;
121 120
122 void set_delegate(RenderViewHostDelegate* d) { 121 void set_delegate(RenderViewHostDelegate* d) {
123 CHECK(d); // http://crbug.com/82827 122 CHECK(d); // http://crbug.com/82827
124 delegate_ = d; 123 delegate_ = d;
125 } 124 }
126 125
127 // Set up the RenderView child process. Virtual because it is overridden by 126 // Set up the RenderView child process. Virtual because it is overridden by
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 // ClosePage() until either the render process ACKs the close with an IPC to 317 // ClosePage() until either the render process ACKs the close with an IPC to
319 // OnClosePageACK(), or until the timeout triggers and the page is forcibly 318 // OnClosePageACK(), or until the timeout triggers and the page is forcibly
320 // closed. 319 // closed.
321 std::unique_ptr<TimeoutMonitor> close_timeout_; 320 std::unique_ptr<TimeoutMonitor> close_timeout_;
322 321
323 // This monitors input changes so they can be reflected to the interaction MQ. 322 // This monitors input changes so they can be reflected to the interaction MQ.
324 std::unique_ptr<InputDeviceChangeObserver> input_device_change_observer_; 323 std::unique_ptr<InputDeviceChangeObserver> input_device_change_observer_;
325 324
326 bool updating_web_preferences_; 325 bool updating_web_preferences_;
327 326
328 bool render_view_ready_on_process_launch_;
329
330 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; 327 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_;
331 328
332 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 329 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
333 }; 330 };
334 331
335 } // namespace content 332 } // namespace content
336 333
337 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 334 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698