| 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_WIDGET_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 virtual void PaintAtSize(TransportDIB::Handle dib_handle, | 103 virtual void PaintAtSize(TransportDIB::Handle dib_handle, |
| 104 int tag, | 104 int tag, |
| 105 const gfx::Size& page_size, | 105 const gfx::Size& page_size, |
| 106 const gfx::Size& desired_size) OVERRIDE; | 106 const gfx::Size& desired_size) OVERRIDE; |
| 107 virtual void Replace(const string16& word) OVERRIDE; | 107 virtual void Replace(const string16& word) OVERRIDE; |
| 108 virtual void ResizeRectChanged(const gfx::Rect& new_rect) OVERRIDE; | 108 virtual void ResizeRectChanged(const gfx::Rect& new_rect) OVERRIDE; |
| 109 virtual void RestartHangMonitorTimeout() OVERRIDE; | 109 virtual void RestartHangMonitorTimeout() OVERRIDE; |
| 110 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE; | 110 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE; |
| 111 virtual void Stop() OVERRIDE; | 111 virtual void Stop() OVERRIDE; |
| 112 virtual void WasResized() OVERRIDE; | 112 virtual void WasResized() OVERRIDE; |
| 113 virtual bool OnMessageReceivedForTesting(const IPC::Message& msg) OVERRIDE; | |
| 114 virtual void AddKeyboardListener(KeyboardListener* listener) OVERRIDE; | 113 virtual void AddKeyboardListener(KeyboardListener* listener) OVERRIDE; |
| 115 virtual void RemoveKeyboardListener(KeyboardListener* listener) OVERRIDE; | 114 virtual void RemoveKeyboardListener(KeyboardListener* listener) OVERRIDE; |
| 116 | 115 |
| 117 // Sets the View of this RenderWidgetHost. | 116 // Sets the View of this RenderWidgetHost. |
| 118 void SetView(RenderWidgetHostView* view); | 117 void SetView(RenderWidgetHostView* view); |
| 119 | 118 |
| 120 int surface_id() const { return surface_id_; } | 119 int surface_id() const { return surface_id_; } |
| 121 bool renderer_accessible() { return renderer_accessible_; } | 120 bool renderer_accessible() { return renderer_accessible_; } |
| 122 | 121 |
| 123 bool empty() const { return current_size_.IsEmpty(); } | 122 bool empty() const { return current_size_.IsEmpty(); } |
| (...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 bool has_touch_handler_; | 697 bool has_touch_handler_; |
| 699 | 698 |
| 700 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 699 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 701 | 700 |
| 702 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 701 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 703 }; | 702 }; |
| 704 | 703 |
| 705 } // namespace content | 704 } // namespace content |
| 706 | 705 |
| 707 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 706 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |