| 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_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual void SizeContents(const gfx::Size& size) OVERRIDE; | 50 virtual void SizeContents(const gfx::Size& size) OVERRIDE; |
| 51 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; | 51 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; |
| 52 virtual void Focus() OVERRIDE; | 52 virtual void Focus() OVERRIDE; |
| 53 virtual void SetInitialFocus() OVERRIDE; | 53 virtual void SetInitialFocus() OVERRIDE; |
| 54 virtual void StoreFocus() OVERRIDE; | 54 virtual void StoreFocus() OVERRIDE; |
| 55 virtual void RestoreFocus() OVERRIDE; | 55 virtual void RestoreFocus() OVERRIDE; |
| 56 virtual WebDropData* GetDropData() const OVERRIDE; | 56 virtual WebDropData* GetDropData() const OVERRIDE; |
| 57 virtual bool IsEventTracking() const OVERRIDE; | 57 virtual bool IsEventTracking() const OVERRIDE; |
| 58 virtual void CloseTabAfterEventTracking() OVERRIDE; | 58 virtual void CloseTabAfterEventTracking() OVERRIDE; |
| 59 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 59 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| 60 #if defined(OS_MACOSX) |
| 61 virtual void SetAllowOverlappingViews(bool overlapping) OVERRIDE; |
| 62 #endif |
| 60 | 63 |
| 61 // Backend implementation of RenderViewHostDelegateView. | 64 // Backend implementation of RenderViewHostDelegateView. |
| 62 virtual void ShowContextMenu( | 65 virtual void ShowContextMenu( |
| 63 const ContextMenuParams& params, | 66 const ContextMenuParams& params, |
| 64 ContextMenuSourceType type) OVERRIDE; | 67 ContextMenuSourceType type) OVERRIDE; |
| 65 virtual void ShowPopupMenu(const gfx::Rect& bounds, | 68 virtual void ShowPopupMenu(const gfx::Rect& bounds, |
| 66 int item_height, | 69 int item_height, |
| 67 double item_font_size, | 70 double item_font_size, |
| 68 int selected_item, | 71 int selected_item, |
| 69 const std::vector<WebMenuItem>& items, | 72 const std::vector<WebMenuItem>& items, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 84 WebContentsImpl* web_contents_; | 87 WebContentsImpl* web_contents_; |
| 85 gfx::Size requested_size_; | 88 gfx::Size requested_size_; |
| 86 BrowserPluginGuest* guest_; | 89 BrowserPluginGuest* guest_; |
| 87 | 90 |
| 88 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); | 91 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); |
| 89 }; | 92 }; |
| 90 | 93 |
| 91 } // namespace content | 94 } // namespace content |
| 92 | 95 |
| 93 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 96 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
| OLD | NEW |