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

Side by Side Diff: chrome/browser/views/tab_contents/native_tab_contents_container.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_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_H_
6 #define CHROME_BROWSER_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_H_ 6 #define CHROME_BROWSER_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_H_
7 7
8 class RenderViewHost; 8 class RenderViewHost;
9 class TabContents; 9 class TabContents;
10 class TabContentsContainer; 10 class TabContentsContainer;
(...skipping 17 matching lines...) Expand all
28 28
29 // Tells the container to update less frequently during resizing operations 29 // Tells the container to update less frequently during resizing operations
30 // so performance is better. 30 // so performance is better.
31 virtual void SetFastResize(bool fast_resize) = 0; 31 virtual void SetFastResize(bool fast_resize) = 0;
32 32
33 // Tells the container that the RenderViewHost for the attached TabContents 33 // Tells the container that the RenderViewHost for the attached TabContents
34 // has changed and it should update focus. 34 // has changed and it should update focus.
35 virtual void RenderViewHostChanged(RenderViewHost* old_host, 35 virtual void RenderViewHostChanged(RenderViewHost* old_host,
36 RenderViewHost* new_host) = 0; 36 RenderViewHost* new_host) = 0;
37 37
38 // Tells the container that |tab_contents| got the focus.
39 virtual void TabContentsFocused(TabContents* tab_contents) = 0;
40
38 // Retrieves the views::View that hosts the TabContents. 41 // Retrieves the views::View that hosts the TabContents.
39 virtual views::View* GetView() = 0; 42 virtual views::View* GetView() = 0;
40 }; 43 };
41 44
42 #endif // CHROME_BROWSER_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_H_ 45 #endif // CHROME_BROWSER_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/tab_contents/native_tab_contents_container_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698