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

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

Issue 8183005: Choose the right window to switch to when a panel is deactivated on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/base_panel_browser_test.cc ('k') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual ~NativePanelTesting() {} 80 virtual ~NativePanelTesting() {}
81 81
82 virtual void PressLeftMouseButtonTitlebar(const gfx::Point& point) = 0; 82 virtual void PressLeftMouseButtonTitlebar(const gfx::Point& point) = 0;
83 virtual void ReleaseMouseButtonTitlebar() = 0; 83 virtual void ReleaseMouseButtonTitlebar() = 0;
84 virtual void DragTitlebar(int delta_x, int delta_y) = 0; 84 virtual void DragTitlebar(int delta_x, int delta_y) = 0;
85 virtual void CancelDragTitlebar() = 0; 85 virtual void CancelDragTitlebar() = 0;
86 virtual void FinishDragTitlebar() = 0; 86 virtual void FinishDragTitlebar() = 0;
87 // Verifies, on a deepest possible level, if the Panel is showing the "Draw 87 // Verifies, on a deepest possible level, if the Panel is showing the "Draw
88 // Attention" effects to the user. May include checking colors etc. 88 // Attention" effects to the user. May include checking colors etc.
89 virtual bool VerifyDrawingAttention() const = 0; 89 virtual bool VerifyDrawingAttention() const = 0;
90 // Verifies, on a deepest possible level, if the native panel is really
91 // active, i.e. the titlebar is painted per its active state.
92 virtual bool VerifyActiveState(bool is_active) = 0;
90 }; 93 };
91 94
92 #endif // CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_H_ 95 #endif // CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/base_panel_browser_test.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698