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

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

Issue 1158523002: Add user_gesture param to BaseWindow::Show Base URL: https://chromium.googlesource.com/chromium/src.git@ug3_BaseWindow_Activate
Patch Set: Update callers Created 5 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
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_PANEL_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 // ui::BaseWindow overrides. 120 // ui::BaseWindow overrides.
121 bool IsActive() const override; 121 bool IsActive() const override;
122 bool IsMaximized() const override; 122 bool IsMaximized() const override;
123 bool IsMinimized() const override; 123 bool IsMinimized() const override;
124 bool IsFullscreen() const override; 124 bool IsFullscreen() const override;
125 gfx::NativeWindow GetNativeWindow() const override; 125 gfx::NativeWindow GetNativeWindow() const override;
126 gfx::Rect GetRestoredBounds() const override; 126 gfx::Rect GetRestoredBounds() const override;
127 ui::WindowShowState GetRestoredState() const override; 127 ui::WindowShowState GetRestoredState() const override;
128 gfx::Rect GetBounds() const override; 128 gfx::Rect GetBounds() const override;
129 void Show() override; 129 void Show(bool user_gesture) override;
130 void Hide() override; 130 void Hide() override;
131 void ShowInactive() override; 131 void ShowInactive() override;
132 void Close() override; 132 void Close() override;
133 void Activate(bool user_gesture) override; 133 void Activate(bool user_gesture) override;
134 void Deactivate() override; 134 void Deactivate() override;
135 void Maximize() override; 135 void Maximize() override;
136 void Minimize() override; 136 void Minimize() override;
137 void Restore() override; 137 void Restore() override;
138 void SetBounds(const gfx::Rect& bounds) override; 138 void SetBounds(const gfx::Rect& bounds) override;
139 void FlashFrame(bool flash) override; 139 void FlashFrame(bool flash) override;
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 406
407 // Icon showed in the task bar. 407 // Icon showed in the task bar.
408 gfx::Image app_icon_; 408 gfx::Image app_icon_;
409 409
410 base::WeakPtrFactory<Panel> image_loader_ptr_factory_; 410 base::WeakPtrFactory<Panel> image_loader_ptr_factory_;
411 411
412 DISALLOW_COPY_AND_ASSIGN(Panel); 412 DISALLOW_COPY_AND_ASSIGN(Panel);
413 }; 413 };
414 414
415 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 415 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/find_bar/find_bar_host_browsertest.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698