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

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: Fix win_aura 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
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel.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_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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void PanelCopy() = 0; 61 virtual void PanelCopy() = 0;
62 virtual void PanelPaste() = 0; 62 virtual void PanelPaste() = 0;
63 virtual void DrawAttention(bool draw_attention) = 0; 63 virtual void DrawAttention(bool draw_attention) = 0;
64 virtual bool IsDrawingAttention() const = 0; 64 virtual bool IsDrawingAttention() const = 0;
65 virtual bool PreHandlePanelKeyboardEvent( 65 virtual bool PreHandlePanelKeyboardEvent(
66 const content::NativeWebKeyboardEvent& event, 66 const content::NativeWebKeyboardEvent& event,
67 bool* is_keyboard_shortcut) = 0; 67 bool* is_keyboard_shortcut) = 0;
68 virtual void HandlePanelKeyboardEvent( 68 virtual void HandlePanelKeyboardEvent(
69 const content::NativeWebKeyboardEvent& event) = 0; 69 const content::NativeWebKeyboardEvent& event) = 0;
70 virtual void FullScreenModeChanged(bool is_full_screen) = 0; 70 virtual void FullScreenModeChanged(bool is_full_screen) = 0;
71 virtual void PanelExpansionStateChanging(Panel::ExpansionState old_state,
72 Panel::ExpansionState new_state) = 0;
71 73
72 virtual Browser* GetPanelBrowser() const = 0; 74 virtual Browser* GetPanelBrowser() const = 0;
73 virtual void DestroyPanelBrowser() = 0; 75 virtual void DestroyPanelBrowser() = 0;
74 76
75 // Returns the exterior size of the panel window given the client content 77 // Returns the exterior size of the panel window given the client content
76 // size and vice versa. 78 // size and vice versa.
77 virtual gfx::Size WindowSizeFromContentSize( 79 virtual gfx::Size WindowSizeFromContentSize(
78 const gfx::Size& content_size) const = 0; 80 const gfx::Size& content_size) const = 0;
79 virtual gfx::Size ContentSizeFromWindowSize( 81 virtual gfx::Size ContentSizeFromWindowSize(
80 const gfx::Size& window_size) const = 0; 82 const gfx::Size& window_size) const = 0;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // active, i.e. the titlebar is painted per its active state. 133 // active, i.e. the titlebar is painted per its active state.
132 virtual bool VerifyActiveState(bool is_active) = 0; 134 virtual bool VerifyActiveState(bool is_active) = 0;
133 virtual void WaitForWindowCreationToComplete() const { } 135 virtual void WaitForWindowCreationToComplete() const { }
134 136
135 virtual bool IsWindowSizeKnown() const = 0; 137 virtual bool IsWindowSizeKnown() const = 0;
136 virtual bool IsAnimatingBounds() const = 0; 138 virtual bool IsAnimatingBounds() const = 0;
137 virtual bool IsButtonVisible(TitlebarButtonType button_type) const = 0; 139 virtual bool IsButtonVisible(TitlebarButtonType button_type) const = 0;
138 }; 140 };
139 141
140 #endif // CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_H_ 142 #endif // CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698