| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ |
| 7 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 virtual void SetPageTitle(const std::wstring& title); | 59 virtual void SetPageTitle(const std::wstring& title); |
| 60 virtual void OnTabCrashed(); | 60 virtual void OnTabCrashed(); |
| 61 virtual void SizeContents(const gfx::Size& size); | 61 virtual void SizeContents(const gfx::Size& size); |
| 62 virtual void Focus(); | 62 virtual void Focus(); |
| 63 virtual void SetInitialFocus(); | 63 virtual void SetInitialFocus(); |
| 64 virtual void StoreFocus(); | 64 virtual void StoreFocus(); |
| 65 virtual void RestoreFocus(); | 65 virtual void RestoreFocus(); |
| 66 | 66 |
| 67 // Backend implementation of RenderViewHostDelegate::View. | 67 // Backend implementation of RenderViewHostDelegate::View. |
| 68 virtual void ShowContextMenu(const ContextMenuParams& params); | 68 virtual void ShowContextMenu(const ContextMenuParams& params); |
| 69 virtual void StartDragging(const WebDropData& drop_data); | 69 virtual void StartDragging(const WebDropData& drop_data, |
| 70 virtual void UpdateDragCursor(bool is_drop_target); | 70 WebKit::WebDragOperationsMask allowed_ops); |
| 71 virtual void UpdateDragCursor(WebKit::WebDragOperation operation); |
| 71 virtual void GotFocus(); | 72 virtual void GotFocus(); |
| 72 virtual void TakeFocus(bool reverse); | 73 virtual void TakeFocus(bool reverse); |
| 73 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 74 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 74 | 75 |
| 75 // NotificationObserver implementation --------------------------------------- | 76 // NotificationObserver implementation --------------------------------------- |
| 76 | 77 |
| 77 virtual void Observe(NotificationType type, | 78 virtual void Observe(NotificationType type, |
| 78 const NotificationSource& source, | 79 const NotificationSource& source, |
| 79 const NotificationDetails& details); | 80 const NotificationDetails& details); |
| 80 | 81 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 // GTK. | 136 // GTK. |
| 136 scoped_ptr<WebDragDest> drag_dest_; | 137 scoped_ptr<WebDragDest> drag_dest_; |
| 137 | 138 |
| 138 // Object responsible for handling drags from the page for us. | 139 // Object responsible for handling drags from the page for us. |
| 139 scoped_ptr<TabContentsDragSource> drag_source_; | 140 scoped_ptr<TabContentsDragSource> drag_source_; |
| 140 | 141 |
| 141 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); | 142 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); |
| 142 }; | 143 }; |
| 143 | 144 |
| 144 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ | 145 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ |
| OLD | NEW |