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

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

Issue 122002: Moving the WM_SETFOCUS message processing out of FocusManager (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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
OLDNEW
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 "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void SizeContents(const gfx::Size& size); 49 virtual void SizeContents(const gfx::Size& size);
50 virtual void Focus(); 50 virtual void Focus();
51 virtual void SetInitialFocus(); 51 virtual void SetInitialFocus();
52 virtual void StoreFocus(); 52 virtual void StoreFocus();
53 virtual void RestoreFocus(); 53 virtual void RestoreFocus();
54 54
55 // Backend implementation of RenderViewHostDelegate::View. 55 // Backend implementation of RenderViewHostDelegate::View.
56 virtual void ShowContextMenu(const ContextMenuParams& params); 56 virtual void ShowContextMenu(const ContextMenuParams& params);
57 virtual void StartDragging(const WebDropData& drop_data); 57 virtual void StartDragging(const WebDropData& drop_data);
58 virtual void UpdateDragCursor(bool is_drop_target); 58 virtual void UpdateDragCursor(bool is_drop_target);
59 virtual void GotFocus();
59 virtual void TakeFocus(bool reverse); 60 virtual void TakeFocus(bool reverse);
60 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 61 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
61 62
62 // NotificationObserver implementation --------------------------------------- 63 // NotificationObserver implementation ---------------------------------------
63 64
64 virtual void Observe(NotificationType type, 65 virtual void Observe(NotificationType type,
65 const NotificationSource& source, 66 const NotificationSource& source,
66 const NotificationDetails& details); 67 const NotificationDetails& details);
67 68
68 private: 69 private:
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 scoped_ptr<SadTabGtk> sad_tab_; 108 scoped_ptr<SadTabGtk> sad_tab_;
108 109
109 FocusStoreGtk focus_store_; 110 FocusStoreGtk focus_store_;
110 111
111 BlockedPopupContainerViewGtk* popup_view_; 112 BlockedPopupContainerViewGtk* popup_view_;
112 113
113 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); 114 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk);
114 }; 115 };
115 116
116 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 117 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_delegate.h ('k') | chrome/browser/tab_contents/tab_contents_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698