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

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

Issue 23918002: Switch to doing user-resizing via system for panels on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch to reland 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;
67 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE; 66 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE;
68 virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE; 67 virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE;
69 virtual void PanelExpansionStateChanging( 68 virtual void PanelExpansionStateChanging(
70 Panel::ExpansionState old_state, 69 Panel::ExpansionState old_state,
71 Panel::ExpansionState new_state) OVERRIDE; 70 Panel::ExpansionState new_state) OVERRIDE;
72 virtual void AttachWebContents(content::WebContents* contents) OVERRIDE; 71 virtual void AttachWebContents(content::WebContents* contents) OVERRIDE;
73 virtual void DetachWebContents(content::WebContents* contents) OVERRIDE; 72 virtual void DetachWebContents(content::WebContents* contents) OVERRIDE;
74 virtual gfx::Size WindowSizeFromContentSize( 73 virtual gfx::Size WindowSizeFromContentSize(
75 const gfx::Size& content_size) const OVERRIDE; 74 const gfx::Size& content_size) const OVERRIDE;
76 virtual gfx::Size ContentSizeFromWindowSize( 75 virtual gfx::Size ContentSizeFromWindowSize(
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 248
250 #if defined(OS_WIN) 249 #if defined(OS_WIN)
251 // Used to provide custom taskbar thumbnail for Windows 7 and later. 250 // Used to provide custom taskbar thumbnail for Windows 7 and later.
252 scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_; 251 scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_;
253 #endif 252 #endif
254 253
255 DISALLOW_COPY_AND_ASSIGN(PanelView); 254 DISALLOW_COPY_AND_ASSIGN(PanelView);
256 }; 255 };
257 256
258 #endif // CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ 257 #endif // CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/stacked_panel_collection.cc ('k') | chrome/browser/ui/views/panels/panel_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698