| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ |
| 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; | 43 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; |
| 44 virtual void Focus() OVERRIDE; | 44 virtual void Focus() OVERRIDE; |
| 45 virtual void SetInitialFocus() OVERRIDE; | 45 virtual void SetInitialFocus() OVERRIDE; |
| 46 virtual void StoreFocus() OVERRIDE; | 46 virtual void StoreFocus() OVERRIDE; |
| 47 virtual void RestoreFocus() OVERRIDE; | 47 virtual void RestoreFocus() OVERRIDE; |
| 48 virtual bool IsDoingDrag() const OVERRIDE; | 48 virtual bool IsDoingDrag() const OVERRIDE; |
| 49 virtual void CancelDragAndCloseTab() OVERRIDE; | 49 virtual void CancelDragAndCloseTab() OVERRIDE; |
| 50 virtual bool IsEventTracking() const OVERRIDE; | 50 virtual bool IsEventTracking() const OVERRIDE; |
| 51 virtual void CloseTabAfterEventTracking() OVERRIDE; | 51 virtual void CloseTabAfterEventTracking() OVERRIDE; |
| 52 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; | 52 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; |
| 53 virtual void InstallOverlayView(gfx::NativeView view) OVERRIDE; |
| 54 virtual void RemoveOverlayView() OVERRIDE; |
| 53 | 55 |
| 54 // Implementation of RenderViewHostDelegate::View. | 56 // Implementation of RenderViewHostDelegate::View. |
| 55 virtual void CreateNewWindow( | 57 virtual void CreateNewWindow( |
| 56 int route_id, | 58 int route_id, |
| 57 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 59 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
| 58 virtual void CreateNewWidget(int route_id, | 60 virtual void CreateNewWidget(int route_id, |
| 59 WebKit::WebPopupType popup_type) OVERRIDE; | 61 WebKit::WebPopupType popup_type) OVERRIDE; |
| 60 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; | 62 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; |
| 61 virtual void ShowCreatedWindow(int route_id, | 63 virtual void ShowCreatedWindow(int route_id, |
| 62 WindowOpenDisposition disposition, | 64 WindowOpenDisposition disposition, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 98 |
| 97 RenderWidgetHostViewWin* view_; | 99 RenderWidgetHostViewWin* view_; |
| 98 | 100 |
| 99 typedef std::map<int, RenderViewHost*> PendingContents; | 101 typedef std::map<int, RenderViewHost*> PendingContents; |
| 100 PendingContents pending_contents_; | 102 PendingContents pending_contents_; |
| 101 | 103 |
| 102 DISALLOW_COPY_AND_ASSIGN(TabContentsViewWin); | 104 DISALLOW_COPY_AND_ASSIGN(TabContentsViewWin); |
| 103 }; | 105 }; |
| 104 | 106 |
| 105 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ | 107 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ |
| OLD | NEW |