diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-07 19:45:53 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-07 19:45:53 +0000 |
commit | 345ad0c9f42fc976d58a6adc8b4273735ea74095 (patch) | |
tree | 9076e3da0d7ced9fa6860506651be8c8ecb62760 /chrome/views/hwnd_view_container.h | |
parent | 47944fdd48561ab89248f23166d0b0dc8de8be7e (diff) | |
download | chromium_src-345ad0c9f42fc976d58a6adc8b4273735ea74095.zip chromium_src-345ad0c9f42fc976d58a6adc8b4273735ea74095.tar.gz chromium_src-345ad0c9f42fc976d58a6adc8b4273735ea74095.tar.bz2 |
More improvements to the frames. Consolidate some of the optional bar (bookmark, info, download) showing/layout, add a notion of supported window features, hook up some accelerator handling goop etc.
B=1031854
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@529 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/hwnd_view_container.h')
-rw-r--r-- | chrome/views/hwnd_view_container.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/views/hwnd_view_container.h b/chrome/views/hwnd_view_container.h index c420e42..aa3a4a9 100644 --- a/chrome/views/hwnd_view_container.h +++ b/chrome/views/hwnd_view_container.h @@ -96,7 +96,8 @@ class FillLayout : public LayoutManager { /////////////////////////////////////////////////////////////////////////////// class HWNDViewContainer : public ViewContainer, public MessageLoop::Observer, - public FocusTraversable { + public FocusTraversable, + public AcceleratorTarget { public: HWNDViewContainer(); virtual ~HWNDViewContainer(); @@ -257,6 +258,11 @@ class HWNDViewContainer : public ViewContainer, virtual FocusTraversable* GetFocusTraversableParent(); virtual View* GetFocusTraversableParentView(); + // Overridden from AcceleratorTarget: + virtual bool AcceleratorPressed(const Accelerator& accelerator) { + return false; + } + void SetFocusTraversableParent(FocusTraversable* parent); void SetFocusTraversableParentView(View* parent_view); |