OLD | NEW |
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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 uint64 upload_size); | 301 uint64 upload_size); |
302 | 302 |
303 bool SuddenTerminationAllowed() const; | 303 bool SuddenTerminationAllowed() const; |
304 void set_sudden_termination_allowed(bool enabled) { | 304 void set_sudden_termination_allowed(bool enabled) { |
305 sudden_termination_allowed_ = enabled; | 305 sudden_termination_allowed_ = enabled; |
306 } | 306 } |
307 | 307 |
308 // RenderWidgetHost public overrides. | 308 // RenderWidgetHost public overrides. |
309 virtual void Init() OVERRIDE; | 309 virtual void Init() OVERRIDE; |
310 virtual void Shutdown() OVERRIDE; | 310 virtual void Shutdown() OVERRIDE; |
| 311 virtual void WasHidden() OVERRIDE; |
| 312 virtual void WasShown(const ui::LatencyInfo& latency_info) OVERRIDE; |
311 virtual bool IsRenderView() const OVERRIDE; | 313 virtual bool IsRenderView() const OVERRIDE; |
312 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 314 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
313 virtual void GotFocus() OVERRIDE; | 315 virtual void GotFocus() OVERRIDE; |
314 virtual void LostCapture() OVERRIDE; | 316 virtual void LostCapture() OVERRIDE; |
315 virtual void LostMouseLock() OVERRIDE; | 317 virtual void LostMouseLock() OVERRIDE; |
316 virtual void ForwardMouseEvent( | 318 virtual void ForwardMouseEvent( |
317 const blink::WebMouseEvent& mouse_event) OVERRIDE; | 319 const blink::WebMouseEvent& mouse_event) OVERRIDE; |
318 virtual void OnPointerEventActivate() OVERRIDE; | 320 virtual void OnPointerEventActivate() OVERRIDE; |
319 virtual void ForwardKeyboardEvent( | 321 virtual void ForwardKeyboardEvent( |
320 const NativeWebKeyboardEvent& key_event) OVERRIDE; | 322 const NativeWebKeyboardEvent& key_event) OVERRIDE; |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 558 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
557 }; | 559 }; |
558 | 560 |
559 #if defined(COMPILER_MSVC) | 561 #if defined(COMPILER_MSVC) |
560 #pragma warning(pop) | 562 #pragma warning(pop) |
561 #endif | 563 #endif |
562 | 564 |
563 } // namespace content | 565 } // namespace content |
564 | 566 |
565 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 567 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |