| 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_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 "content/browser/tab_contents/tab_contents_view_helper.h" | 9 #include "content/browser/tab_contents/tab_contents_view_helper.h" |
| 10 #include "content/public/browser/web_contents_view.h" | 10 #include "content/public/browser/web_contents_view.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 virtual void CreateNewWidget(int route_id, | 58 virtual void CreateNewWidget(int route_id, |
| 59 WebKit::WebPopupType popup_type) OVERRIDE; | 59 WebKit::WebPopupType popup_type) OVERRIDE; |
| 60 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; | 60 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; |
| 61 virtual void ShowCreatedWindow(int route_id, | 61 virtual void ShowCreatedWindow(int route_id, |
| 62 WindowOpenDisposition disposition, | 62 WindowOpenDisposition disposition, |
| 63 const gfx::Rect& initial_pos, | 63 const gfx::Rect& initial_pos, |
| 64 bool user_gesture) OVERRIDE; | 64 bool user_gesture) OVERRIDE; |
| 65 virtual void ShowCreatedWidget(int route_id, | 65 virtual void ShowCreatedWidget(int route_id, |
| 66 const gfx::Rect& initial_pos) OVERRIDE; | 66 const gfx::Rect& initial_pos) OVERRIDE; |
| 67 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 67 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
| 68 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE; | 68 virtual void ShowContextMenu( |
| 69 const content::ContextMenuParams& params) OVERRIDE; |
| 69 virtual void ShowPopupMenu(const gfx::Rect& bounds, | 70 virtual void ShowPopupMenu(const gfx::Rect& bounds, |
| 70 int item_height, | 71 int item_height, |
| 71 double item_font_size, | 72 double item_font_size, |
| 72 int selected_item, | 73 int selected_item, |
| 73 const std::vector<WebMenuItem>& items, | 74 const std::vector<WebMenuItem>& items, |
| 74 bool right_aligned) OVERRIDE; | 75 bool right_aligned) OVERRIDE; |
| 75 virtual void StartDragging(const WebDropData& drop_data, | 76 virtual void StartDragging(const WebDropData& drop_data, |
| 76 WebKit::WebDragOperationsMask operations, | 77 WebKit::WebDragOperationsMask operations, |
| 77 const SkBitmap& image, | 78 const SkBitmap& image, |
| 78 const gfx::Point& image_offset) OVERRIDE; | 79 const gfx::Point& image_offset) OVERRIDE; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 95 | 96 |
| 96 RenderWidgetHostViewWin* view_; | 97 RenderWidgetHostViewWin* view_; |
| 97 | 98 |
| 98 // Common implementations of some WebContentsView methods. | 99 // Common implementations of some WebContentsView methods. |
| 99 TabContentsViewHelper tab_contents_view_helper_; | 100 TabContentsViewHelper tab_contents_view_helper_; |
| 100 | 101 |
| 101 DISALLOW_COPY_AND_ASSIGN(TabContentsViewWin); | 102 DISALLOW_COPY_AND_ASSIGN(TabContentsViewWin); |
| 102 }; | 103 }; |
| 103 | 104 |
| 104 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ | 105 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ |
| OLD | NEW |