| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_PANELS_PANEL_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; | 91 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; |
| 92 virtual void PanelTabContentsFocused(TabContents* tab_contents) OVERRIDE; | 92 virtual void PanelTabContentsFocused(TabContents* tab_contents) OVERRIDE; |
| 93 virtual void PanelCut() OVERRIDE; | 93 virtual void PanelCut() OVERRIDE; |
| 94 virtual void PanelCopy() OVERRIDE; | 94 virtual void PanelCopy() OVERRIDE; |
| 95 virtual void PanelPaste() OVERRIDE; | 95 virtual void PanelPaste() OVERRIDE; |
| 96 virtual void DrawAttention() OVERRIDE; | 96 virtual void DrawAttention() OVERRIDE; |
| 97 virtual bool IsDrawingAttention() const OVERRIDE; | 97 virtual bool IsDrawingAttention() const OVERRIDE; |
| 98 virtual bool PreHandlePanelKeyboardEvent( | 98 virtual bool PreHandlePanelKeyboardEvent( |
| 99 const NativeWebKeyboardEvent& event, | 99 const NativeWebKeyboardEvent& event, |
| 100 bool* is_keyboard_shortcut) OVERRIDE; | 100 bool* is_keyboard_shortcut) OVERRIDE; |
| 101 virtual void FullScreenModeChanged(bool is_full_screen_mode_on) OVERRIDE; |
| 101 virtual void HandlePanelKeyboardEvent( | 102 virtual void HandlePanelKeyboardEvent( |
| 102 const NativeWebKeyboardEvent& event) OVERRIDE; | 103 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 103 virtual gfx::Size WindowSizeFromContentSize( | 104 virtual gfx::Size WindowSizeFromContentSize( |
| 104 const gfx::Size& content_size) const OVERRIDE; | 105 const gfx::Size& content_size) const OVERRIDE; |
| 105 virtual gfx::Size ContentSizeFromWindowSize( | 106 virtual gfx::Size ContentSizeFromWindowSize( |
| 106 const gfx::Size& window_size) const OVERRIDE; | 107 const gfx::Size& window_size) const OVERRIDE; |
| 107 virtual int TitleOnlyHeight() const OVERRIDE; | 108 virtual int TitleOnlyHeight() const OVERRIDE; |
| 108 virtual Browser* GetPanelBrowser() const OVERRIDE; | 109 virtual Browser* GetPanelBrowser() const OVERRIDE; |
| 109 virtual void DestroyPanelBrowser() OVERRIDE; | 110 virtual void DestroyPanelBrowser() OVERRIDE; |
| 110 | 111 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 base::TimeTicks attention_cleared_time_; | 152 base::TimeTicks attention_cleared_time_; |
| 152 | 153 |
| 153 // The last view that had focus in the panel. This is saved so that focus can | 154 // The last view that had focus in the panel. This is saved so that focus can |
| 154 // be restored properly when a drag ends. | 155 // be restored properly when a drag ends. |
| 155 views::View* old_focused_view_; | 156 views::View* old_focused_view_; |
| 156 | 157 |
| 157 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); | 158 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); |
| 158 }; | 159 }; |
| 159 | 160 |
| 160 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ | 161 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ |
| OLD | NEW |