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

Side by Side Diff: chrome/browser/tab_contents/tab_contents_view_mac.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_MAC_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/gfx/size.h" 10 #include "base/gfx/size.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual void RestoreFocus(); 56 virtual void RestoreFocus();
57 virtual RenderWidgetHostView* CreateNewWidgetInternal(int route_id, 57 virtual RenderWidgetHostView* CreateNewWidgetInternal(int route_id,
58 bool activatable); 58 bool activatable);
59 virtual void ShowCreatedWidgetInternal(RenderWidgetHostView* widget_host_view, 59 virtual void ShowCreatedWidgetInternal(RenderWidgetHostView* widget_host_view,
60 const gfx::Rect& initial_pos); 60 const gfx::Rect& initial_pos);
61 61
62 // Backend implementation of RenderViewHostDelegate::View. 62 // Backend implementation of RenderViewHostDelegate::View.
63 virtual void ShowContextMenu(const ContextMenuParams& params); 63 virtual void ShowContextMenu(const ContextMenuParams& params);
64 virtual void StartDragging(const WebDropData& drop_data); 64 virtual void StartDragging(const WebDropData& drop_data);
65 virtual void UpdateDragCursor(bool is_drop_target); 65 virtual void UpdateDragCursor(bool is_drop_target);
66 virtual void GotFocus();
66 virtual void TakeFocus(bool reverse); 67 virtual void TakeFocus(bool reverse);
67 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 68 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
68 69
69 // NotificationObserver implementation --------------------------------------- 70 // NotificationObserver implementation ---------------------------------------
70 71
71 virtual void Observe(NotificationType type, 72 virtual void Observe(NotificationType type,
72 const NotificationSource& source, 73 const NotificationSource& source,
73 const NotificationDetails& details); 74 const NotificationDetails& details);
74 75
75 private: 76 private:
(...skipping 12 matching lines...) Expand all
88 // visible. 89 // visible.
89 scoped_nsobject<SadTabView> sad_tab_; 90 scoped_nsobject<SadTabView> sad_tab_;
90 91
91 // The page content's intrinsic width. 92 // The page content's intrinsic width.
92 int preferred_width_; 93 int preferred_width_;
93 94
94 DISALLOW_COPY_AND_ASSIGN(TabContentsViewMac); 95 DISALLOW_COPY_AND_ASSIGN(TabContentsViewMac);
95 }; 96 };
96 97
97 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ 98 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view_gtk.cc ('k') | chrome/browser/tab_contents/tab_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698