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

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

Issue 10408047: Fix bug 105043: Panels [WIN]: For minimize panels, taskbar hover preview show the 4-pixel represent… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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_PANELS_NATIVE_PANEL_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_H_
6 #define CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_H_ 6 #define CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/panels/panel.h" 9 #include "chrome/browser/ui/panels/panel.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual void PanelCut() = 0; 57 virtual void PanelCut() = 0;
58 virtual void PanelCopy() = 0; 58 virtual void PanelCopy() = 0;
59 virtual void PanelPaste() = 0; 59 virtual void PanelPaste() = 0;
60 virtual void DrawAttention(bool draw_attention) = 0; 60 virtual void DrawAttention(bool draw_attention) = 0;
61 virtual bool IsDrawingAttention() const = 0; 61 virtual bool IsDrawingAttention() const = 0;
62 virtual bool PreHandlePanelKeyboardEvent( 62 virtual bool PreHandlePanelKeyboardEvent(
63 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) = 0; 63 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) = 0;
64 virtual void HandlePanelKeyboardEvent( 64 virtual void HandlePanelKeyboardEvent(
65 const NativeWebKeyboardEvent& event) = 0; 65 const NativeWebKeyboardEvent& event) = 0;
66 virtual void FullScreenModeChanged(bool is_full_screen) = 0; 66 virtual void FullScreenModeChanged(bool is_full_screen) = 0;
67 virtual void PanelExpansionStateChanging(Panel::ExpansionState old_state,
68 Panel::ExpansionState new_state) = 0;
67 69
68 virtual Browser* GetPanelBrowser() const = 0; 70 virtual Browser* GetPanelBrowser() const = 0;
69 virtual void DestroyPanelBrowser() = 0; 71 virtual void DestroyPanelBrowser() = 0;
70 72
71 // Returns the exterior size of the panel window given the client content 73 // Returns the exterior size of the panel window given the client content
72 // size and vice versa. 74 // size and vice versa.
73 virtual gfx::Size WindowSizeFromContentSize( 75 virtual gfx::Size WindowSizeFromContentSize(
74 const gfx::Size& content_size) const = 0; 76 const gfx::Size& content_size) const = 0;
75 virtual gfx::Size ContentSizeFromWindowSize( 77 virtual gfx::Size ContentSizeFromWindowSize(
76 const gfx::Size& window_size) const = 0; 78 const gfx::Size& window_size) const = 0;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // active, i.e. the titlebar is painted per its active state. 129 // active, i.e. the titlebar is painted per its active state.
128 virtual bool VerifyActiveState(bool is_active) = 0; 130 virtual bool VerifyActiveState(bool is_active) = 0;
129 virtual void WaitForWindowCreationToComplete() const { } 131 virtual void WaitForWindowCreationToComplete() const { }
130 132
131 virtual bool IsWindowSizeKnown() const = 0; 133 virtual bool IsWindowSizeKnown() const = 0;
132 virtual bool IsAnimatingBounds() const = 0; 134 virtual bool IsAnimatingBounds() const = 0;
133 virtual bool IsButtonVisible(TitlebarButtonType button_type) const = 0; 135 virtual bool IsButtonVisible(TitlebarButtonType button_type) const = 0;
134 }; 136 };
135 137
136 #endif // CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_H_ 138 #endif // CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel.cc » ('j') | chrome/browser/ui/panels/panel_browser_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698