Chromium Code Reviews| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 51 virtual bool HasFocus() const OVERRIDE; | 51 virtual bool HasFocus() const OVERRIDE; |
| 52 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; | 52 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
| 53 virtual void Show() OVERRIDE; | 53 virtual void Show() OVERRIDE; |
| 54 virtual void Hide() OVERRIDE; | 54 virtual void Hide() OVERRIDE; |
| 55 virtual bool IsShowing() OVERRIDE; | 55 virtual bool IsShowing() OVERRIDE; |
| 56 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 56 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| 57 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 57 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
| 58 | 58 |
| 59 // RenderWidgetHostViewPort implementation. | 59 // RenderWidgetHostViewPort implementation. |
| 60 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 60 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 61 const gfx::Rect& pos) OVERRIDE; | 61 const gfx::Rect& pos, |
| 62 WebContentsViewDelegate* delegate = NULL) OVERRIDE; | |
|
Avi (use Gerrit)
2012/12/10 20:52:06
I don't believe we allow default arguments like th
keishi
2012/12/11 05:09:14
Done.
| |
| 62 virtual void InitAsFullscreen( | 63 virtual void InitAsFullscreen( |
| 63 RenderWidgetHostView* reference_host_view) OVERRIDE; | 64 RenderWidgetHostView* reference_host_view) OVERRIDE; |
| 64 virtual void WasShown() OVERRIDE; | 65 virtual void WasShown() OVERRIDE; |
| 65 virtual void WasHidden() OVERRIDE; | 66 virtual void WasHidden() OVERRIDE; |
| 66 virtual void MovePluginWindows( | 67 virtual void MovePluginWindows( |
| 67 const gfx::Vector2d& scroll_offset, | 68 const gfx::Vector2d& scroll_offset, |
| 68 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 69 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
| 69 virtual void Focus() OVERRIDE; | 70 virtual void Focus() OVERRIDE; |
| 70 virtual void Blur() OVERRIDE; | 71 virtual void Blur() OVERRIDE; |
| 71 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 72 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 192 | 193 |
| 193 BrowserPluginGuest *guest_; | 194 BrowserPluginGuest *guest_; |
| 194 gfx::Size size_; | 195 gfx::Size size_; |
| 195 | 196 |
| 196 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 197 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 197 }; | 198 }; |
| 198 | 199 |
| 199 } // namespace content | 200 } // namespace content |
| 200 | 201 |
| 201 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 202 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |