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

Side by Side Diff: chrome/browser/ui/panels/panel_view.h

Issue 10908153: [Panel refactor] Deprecate old panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux_chromeos test failure Created 8 years, 3 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
« no previous file with comments | « chrome/browser/ui/panels/panel_mouse_watcher.h ('k') | chrome/browser/ui/panels/panel_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_VIEW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_VIEW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_VIEW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/ui/panels/native_panel.h" 9 #include "chrome/browser/ui/panels/native_panel.h"
10 #include "ui/base/animation/animation_delegate.h" 10 #include "ui/base/animation/animation_delegate.h"
(...skipping 27 matching lines...) Expand all
38 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; 38 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE;
39 virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE; 39 virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE;
40 virtual void ClosePanel() OVERRIDE; 40 virtual void ClosePanel() OVERRIDE;
41 virtual void ActivatePanel() OVERRIDE; 41 virtual void ActivatePanel() OVERRIDE;
42 virtual void DeactivatePanel() OVERRIDE; 42 virtual void DeactivatePanel() OVERRIDE;
43 virtual bool IsPanelActive() const OVERRIDE; 43 virtual bool IsPanelActive() const OVERRIDE;
44 virtual void PreventActivationByOS(bool prevent_activation) OVERRIDE; 44 virtual void PreventActivationByOS(bool prevent_activation) OVERRIDE;
45 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; 45 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE;
46 virtual void UpdatePanelTitleBar() OVERRIDE; 46 virtual void UpdatePanelTitleBar() OVERRIDE;
47 virtual void UpdatePanelLoadingAnimations(bool should_animate) OVERRIDE; 47 virtual void UpdatePanelLoadingAnimations(bool should_animate) OVERRIDE;
48 virtual FindBar* CreatePanelFindBar() OVERRIDE;
49 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; 48 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE;
50 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE; 49 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE;
51 virtual void PanelCut() OVERRIDE; 50 virtual void PanelCut() OVERRIDE;
52 virtual void PanelCopy() OVERRIDE; 51 virtual void PanelCopy() OVERRIDE;
53 virtual void PanelPaste() OVERRIDE; 52 virtual void PanelPaste() OVERRIDE;
54 virtual void DrawAttention(bool draw_attention) OVERRIDE; 53 virtual void DrawAttention(bool draw_attention) OVERRIDE;
55 virtual bool IsDrawingAttention() const OVERRIDE; 54 virtual bool IsDrawingAttention() const OVERRIDE;
56 virtual bool PreHandlePanelKeyboardEvent(
57 const content::NativeWebKeyboardEvent& event,
58 bool* is_keyboard_shortcut) OVERRIDE;
59 virtual void HandlePanelKeyboardEvent( 55 virtual void HandlePanelKeyboardEvent(
60 const content::NativeWebKeyboardEvent& event) OVERRIDE; 56 const content::NativeWebKeyboardEvent& event) OVERRIDE;
61 virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE; 57 virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE;
62 virtual Browser* GetPanelBrowser() const OVERRIDE;
63 virtual void EnsurePanelFullyVisible() OVERRIDE;
64 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE; 58 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE;
65 virtual void EnableResizeByMouse(bool enable) OVERRIDE; 59 virtual void EnableResizeByMouse(bool enable) OVERRIDE;
66 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE; 60 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE;
67 virtual void PanelExpansionStateChanging( 61 virtual void PanelExpansionStateChanging(
68 Panel::ExpansionState old_state, 62 Panel::ExpansionState old_state,
69 Panel::ExpansionState new_state) OVERRIDE; 63 Panel::ExpansionState new_state) OVERRIDE;
70 virtual void AttachWebContents(content::WebContents* contents) OVERRIDE; 64 virtual void AttachWebContents(content::WebContents* contents) OVERRIDE;
71 virtual void DetachWebContents(content::WebContents* contents) OVERRIDE; 65 virtual void DetachWebContents(content::WebContents* contents) OVERRIDE;
72 virtual gfx::Size WindowSizeFromContentSize( 66 virtual gfx::Size WindowSizeFromContentSize(
73 const gfx::Size& content_size) const OVERRIDE; 67 const gfx::Size& content_size) const OVERRIDE;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 187
194 #if defined(OS_WIN) && !defined(USE_ASH) && !defined(USE_AURA) 188 #if defined(OS_WIN) && !defined(USE_ASH) && !defined(USE_AURA)
195 // Used to provide custom taskbar thumbnail for Windows 7 and later. 189 // Used to provide custom taskbar thumbnail for Windows 7 and later.
196 scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_; 190 scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_;
197 #endif 191 #endif
198 192
199 DISALLOW_COPY_AND_ASSIGN(PanelView); 193 DISALLOW_COPY_AND_ASSIGN(PanelView);
200 }; 194 };
201 195
202 #endif // CHROME_BROWSER_UI_PANELS_PANEL_VIEW_H_ 196 #endif // CHROME_BROWSER_UI_PANELS_PANEL_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_mouse_watcher.h ('k') | chrome/browser/ui/panels/panel_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698