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

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

Issue 23922003: Revert 221651 "Switch to doing user-resizing via system for pane..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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
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_VIEWS_PANELS_PANEL_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual void PanelCut() OVERRIDE; 56 virtual void PanelCut() OVERRIDE;
57 virtual void PanelCopy() OVERRIDE; 57 virtual void PanelCopy() OVERRIDE;
58 virtual void PanelPaste() OVERRIDE; 58 virtual void PanelPaste() OVERRIDE;
59 virtual void DrawAttention(bool draw_attention) OVERRIDE; 59 virtual void DrawAttention(bool draw_attention) OVERRIDE;
60 virtual bool IsDrawingAttention() const OVERRIDE; 60 virtual bool IsDrawingAttention() const OVERRIDE;
61 virtual void HandlePanelKeyboardEvent( 61 virtual void HandlePanelKeyboardEvent(
62 const content::NativeWebKeyboardEvent& event) OVERRIDE; 62 const content::NativeWebKeyboardEvent& event) OVERRIDE;
63 virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE; 63 virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE;
64 virtual bool IsPanelAlwaysOnTop() const OVERRIDE; 64 virtual bool IsPanelAlwaysOnTop() const OVERRIDE;
65 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE; 65 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE;
66 virtual void EnableResizeByMouse(bool enable) OVERRIDE;
66 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE; 67 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE;
67 virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE; 68 virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE;
68 virtual void PanelExpansionStateChanging( 69 virtual void PanelExpansionStateChanging(
69 Panel::ExpansionState old_state, 70 Panel::ExpansionState old_state,
70 Panel::ExpansionState new_state) OVERRIDE; 71 Panel::ExpansionState new_state) OVERRIDE;
71 virtual void AttachWebContents(content::WebContents* contents) OVERRIDE; 72 virtual void AttachWebContents(content::WebContents* contents) OVERRIDE;
72 virtual void DetachWebContents(content::WebContents* contents) OVERRIDE; 73 virtual void DetachWebContents(content::WebContents* contents) OVERRIDE;
73 virtual gfx::Size WindowSizeFromContentSize( 74 virtual gfx::Size WindowSizeFromContentSize(
74 const gfx::Size& content_size) const OVERRIDE; 75 const gfx::Size& content_size) const OVERRIDE;
75 virtual gfx::Size ContentSizeFromWindowSize( 76 virtual gfx::Size ContentSizeFromWindowSize(
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 249
249 #if defined(OS_WIN) 250 #if defined(OS_WIN)
250 // Used to provide custom taskbar thumbnail for Windows 7 and later. 251 // Used to provide custom taskbar thumbnail for Windows 7 and later.
251 scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_; 252 scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_;
252 #endif 253 #endif
253 254
254 DISALLOW_COPY_AND_ASSIGN(PanelView); 255 DISALLOW_COPY_AND_ASSIGN(PanelView);
255 }; 256 };
256 257
257 #endif // CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ 258 #endif // CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_
OLDNEW
« no previous file with comments | « trunk/src/chrome/browser/ui/panels/stacked_panel_collection.cc ('k') | trunk/src/chrome/browser/ui/views/panels/panel_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698