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

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

Issue 465363003: ResourceScheduler get visual signal from RenderViewHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get visual signal from RenderViewHostImpl Created 6 years, 4 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_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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 uint64 upload_size); 314 uint64 upload_size);
315 315
316 bool SuddenTerminationAllowed() const; 316 bool SuddenTerminationAllowed() const;
317 void set_sudden_termination_allowed(bool enabled) { 317 void set_sudden_termination_allowed(bool enabled) {
318 sudden_termination_allowed_ = enabled; 318 sudden_termination_allowed_ = enabled;
319 } 319 }
320 320
321 // RenderWidgetHost public overrides. 321 // RenderWidgetHost public overrides.
322 virtual void Init() OVERRIDE; 322 virtual void Init() OVERRIDE;
323 virtual void Shutdown() OVERRIDE; 323 virtual void Shutdown() OVERRIDE;
324 virtual void WasHidden() OVERRIDE;
325 virtual void WasShown(const ui::LatencyInfo& latency_info) OVERRIDE;
324 virtual bool IsRenderView() const OVERRIDE; 326 virtual bool IsRenderView() const OVERRIDE;
325 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 327 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
326 virtual void GotFocus() OVERRIDE; 328 virtual void GotFocus() OVERRIDE;
327 virtual void LostCapture() OVERRIDE; 329 virtual void LostCapture() OVERRIDE;
328 virtual void LostMouseLock() OVERRIDE; 330 virtual void LostMouseLock() OVERRIDE;
329 virtual void ForwardMouseEvent( 331 virtual void ForwardMouseEvent(
330 const blink::WebMouseEvent& mouse_event) OVERRIDE; 332 const blink::WebMouseEvent& mouse_event) OVERRIDE;
331 virtual void OnPointerEventActivate() OVERRIDE; 333 virtual void OnPointerEventActivate() OVERRIDE;
332 virtual void ForwardKeyboardEvent( 334 virtual void ForwardKeyboardEvent(
333 const NativeWebKeyboardEvent& key_event) OVERRIDE; 335 const NativeWebKeyboardEvent& key_event) OVERRIDE;
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 572 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
571 }; 573 };
572 574
573 #if defined(COMPILER_MSVC) 575 #if defined(COMPILER_MSVC)
574 #pragma warning(pop) 576 #pragma warning(pop)
575 #endif 577 #endif
576 578
577 } // namespace content 579 } // namespace content
578 580
579 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 581 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698