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_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 169 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
170 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 170 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
171 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 171 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
172 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 172 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
173 #endif // defined(TOOLKIT_GTK) | 173 #endif // defined(TOOLKIT_GTK) |
174 | 174 |
175 #if defined(OS_WIN) && !defined(USE_AURA) | 175 #if defined(OS_WIN) && !defined(USE_AURA) |
176 virtual void WillWmDestroy() OVERRIDE; | 176 virtual void WillWmDestroy() OVERRIDE; |
177 #endif // defined(OS_WIN) && !defined(USE_AURA) | 177 #endif // defined(OS_WIN) && !defined(USE_AURA) |
178 | 178 |
179 #if defined(OS_POSIX) || defined(USE_AURA) | |
180 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 179 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
181 #endif // defined(OS_POSIX) || defined(USE_AURA) | |
182 protected: | 180 protected: |
183 friend class RenderWidgetHostView; | 181 friend class RenderWidgetHostView; |
184 | 182 |
185 private: | 183 private: |
186 // The model object. | 184 // The model object. |
187 RenderWidgetHostImpl* host_; | 185 RenderWidgetHostImpl* host_; |
188 | 186 |
189 // Whether or not this widget is hidden. | 187 // Whether or not this widget is hidden. |
190 bool is_hidden_; | 188 bool is_hidden_; |
191 | 189 |
192 BrowserPluginGuest *guest_; | 190 BrowserPluginGuest *guest_; |
193 gfx::Size size_; | 191 gfx::Size size_; |
194 | 192 |
195 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 193 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
196 }; | 194 }; |
197 | 195 |
198 } // namespace content | 196 } // namespace content |
199 | 197 |
200 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 198 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |