| 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_GTK_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ |
| 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 virtual void CreateNewWidget(int route_id, | 83 virtual void CreateNewWidget(int route_id, |
| 84 WebKit::WebPopupType popup_type) OVERRIDE; | 84 WebKit::WebPopupType popup_type) OVERRIDE; |
| 85 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; | 85 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; |
| 86 virtual void ShowCreatedWindow(int route_id, | 86 virtual void ShowCreatedWindow(int route_id, |
| 87 WindowOpenDisposition disposition, | 87 WindowOpenDisposition disposition, |
| 88 const gfx::Rect& initial_pos, | 88 const gfx::Rect& initial_pos, |
| 89 bool user_gesture) OVERRIDE; | 89 bool user_gesture) OVERRIDE; |
| 90 virtual void ShowCreatedWidget(int route_id, | 90 virtual void ShowCreatedWidget(int route_id, |
| 91 const gfx::Rect& initial_pos) OVERRIDE; | 91 const gfx::Rect& initial_pos) OVERRIDE; |
| 92 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 92 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
| 93 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE; | 93 virtual void ShowContextMenu( |
| 94 const content::ContextMenuParams& params) OVERRIDE; |
| 94 virtual void ShowPopupMenu(const gfx::Rect& bounds, | 95 virtual void ShowPopupMenu(const gfx::Rect& bounds, |
| 95 int item_height, | 96 int item_height, |
| 96 double item_font_size, | 97 double item_font_size, |
| 97 int selected_item, | 98 int selected_item, |
| 98 const std::vector<WebMenuItem>& items, | 99 const std::vector<WebMenuItem>& items, |
| 99 bool right_aligned) OVERRIDE; | 100 bool right_aligned) OVERRIDE; |
| 100 virtual void StartDragging(const WebDropData& drop_data, | 101 virtual void StartDragging(const WebDropData& drop_data, |
| 101 WebKit::WebDragOperationsMask allowed_ops, | 102 WebKit::WebDragOperationsMask allowed_ops, |
| 102 const SkBitmap& image, | 103 const SkBitmap& image, |
| 103 const gfx::Point& image_offset) OVERRIDE; | 104 const gfx::Point& image_offset) OVERRIDE; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 // The overlaid view. Owned by the caller of |InstallOverlayView|; this is a | 158 // The overlaid view. Owned by the caller of |InstallOverlayView|; this is a |
| 158 // weak reference. | 159 // weak reference. |
| 159 GtkWidget* overlaid_view_; | 160 GtkWidget* overlaid_view_; |
| 160 | 161 |
| 161 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); | 162 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); |
| 162 }; | 163 }; |
| 163 | 164 |
| 164 } // namespace content | 165 } // namespace content |
| 165 | 166 |
| 166 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ | 167 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ |
| OLD | NEW |