| 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_WIN_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/timer.h" | 10 #include "base/timer.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 virtual bool IsDoingDrag() const OVERRIDE; | 74 virtual bool IsDoingDrag() const OVERRIDE; |
| 75 virtual void CancelDragAndCloseTab() OVERRIDE; | 75 virtual void CancelDragAndCloseTab() OVERRIDE; |
| 76 virtual WebDropData* GetDropData() const OVERRIDE; | 76 virtual WebDropData* GetDropData() const OVERRIDE; |
| 77 virtual bool IsEventTracking() const OVERRIDE; | 77 virtual bool IsEventTracking() const OVERRIDE; |
| 78 virtual void CloseTabAfterEventTracking() OVERRIDE; | 78 virtual void CloseTabAfterEventTracking() OVERRIDE; |
| 79 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 79 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| 80 | 80 |
| 81 // Implementation of RenderViewHostDelegateView. | 81 // Implementation of RenderViewHostDelegateView. |
| 82 virtual void ShowContextMenu( | 82 virtual void ShowContextMenu( |
| 83 const content::ContextMenuParams& params, | 83 const content::ContextMenuParams& params, |
| 84 const content::ContextMenuSourceType& type) OVERRIDE; | 84 content::ContextMenuSourceType type) OVERRIDE; |
| 85 virtual void ShowPopupMenu(const gfx::Rect& bounds, | 85 virtual void ShowPopupMenu(const gfx::Rect& bounds, |
| 86 int item_height, | 86 int item_height, |
| 87 double item_font_size, | 87 double item_font_size, |
| 88 int selected_item, | 88 int selected_item, |
| 89 const std::vector<WebMenuItem>& items, | 89 const std::vector<WebMenuItem>& items, |
| 90 bool right_aligned, | 90 bool right_aligned, |
| 91 bool allow_multiple_selection) OVERRIDE; | 91 bool allow_multiple_selection) OVERRIDE; |
| 92 virtual void StartDragging(const WebDropData& drop_data, | 92 virtual void StartDragging(const WebDropData& drop_data, |
| 93 WebKit::WebDragOperationsMask operations, | 93 WebKit::WebDragOperationsMask operations, |
| 94 const gfx::ImageSkia& image, | 94 const gfx::ImageSkia& image, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 // Used to close the tab after the stack has unwound. | 147 // Used to close the tab after the stack has unwound. |
| 148 base::OneShotTimer<WebContentsViewWin> close_tab_timer_; | 148 base::OneShotTimer<WebContentsViewWin> close_tab_timer_; |
| 149 | 149 |
| 150 scoped_ptr<ui::HWNDMessageFilter> hwnd_message_filter_; | 150 scoped_ptr<ui::HWNDMessageFilter> hwnd_message_filter_; |
| 151 | 151 |
| 152 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); | 152 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ | 155 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ |
| OLD | NEW |