Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: chrome/browser/views/tab_contents/tab_contents_view_gtk.h

Issue 192040: Fix linux-views build by adding a header change I missed in my previous check... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/views/tab_contents/tab_contents_view_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
6 #define CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 6 #define CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
7 7
8 #include "base/gfx/size.h" 8 #include "base/gfx/size.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/tab_contents/tab_contents_view.h" 10 #include "chrome/browser/tab_contents/tab_contents_view.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void SetPageTitle(const std::wstring& title); 42 virtual void SetPageTitle(const std::wstring& title);
43 virtual void OnTabCrashed(); 43 virtual void OnTabCrashed();
44 virtual void SizeContents(const gfx::Size& size); 44 virtual void SizeContents(const gfx::Size& size);
45 virtual void Focus(); 45 virtual void Focus();
46 virtual void SetInitialFocus(); 46 virtual void SetInitialFocus();
47 virtual void StoreFocus(); 47 virtual void StoreFocus();
48 virtual void RestoreFocus(); 48 virtual void RestoreFocus();
49 49
50 // Backend implementation of RenderViewHostDelegate::View. 50 // Backend implementation of RenderViewHostDelegate::View.
51 virtual void ShowContextMenu(const ContextMenuParams& params); 51 virtual void ShowContextMenu(const ContextMenuParams& params);
52 virtual void StartDragging(const WebDropData& drop_data); 52 virtual void StartDragging(const WebDropData& drop_data,
53 virtual void UpdateDragCursor(bool is_drop_target); 53 WebKit::WebDragOperationsMask ops_allowed);
54 virtual void UpdateDragCursor(WebKit::WebDragOperation operation);
54 virtual void GotFocus(); 55 virtual void GotFocus();
55 virtual void TakeFocus(bool reverse); 56 virtual void TakeFocus(bool reverse);
56 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 57 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
57 58
58 private: 59 private:
59 // Signal handlers ----------------------------------------------------------- 60 // Signal handlers -----------------------------------------------------------
60 61
61 // Overridden from views::WidgetGtk: 62 // Overridden from views::WidgetGtk:
62 virtual gboolean OnButtonPress(GtkWidget* widget, GdkEventButton* event); 63 virtual gboolean OnButtonPress(GtkWidget* widget, GdkEventButton* event);
63 virtual void OnSizeAllocate(GtkWidget* widget, GtkAllocation* allocation); 64 virtual void OnSizeAllocate(GtkWidget* widget, GtkAllocation* allocation);
(...skipping 22 matching lines...) Expand all
86 // Handles drags from this TabContentsView. 87 // Handles drags from this TabContentsView.
87 scoped_ptr<TabContentsDragSource> drag_source_; 88 scoped_ptr<TabContentsDragSource> drag_source_;
88 89
89 // The event for the last mouse down we handled. We need this for drags. 90 // The event for the last mouse down we handled. We need this for drags.
90 GdkEventButton last_mouse_down_; 91 GdkEventButton last_mouse_down_;
91 92
92 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); 93 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk);
93 }; 94 };
94 95
95 #endif // CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 96 #endif // CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/tab_contents/tab_contents_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698