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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 7790010: Revert 98679 - Restoring a session should restore window minimization state on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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) 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_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 virtual std::wstring GetWindowTitle() const OVERRIDE; 387 virtual std::wstring GetWindowTitle() const OVERRIDE;
388 virtual std::wstring GetAccessibleWindowTitle() const OVERRIDE; 388 virtual std::wstring GetAccessibleWindowTitle() const OVERRIDE;
389 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 389 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
390 virtual bool ShouldShowWindowTitle() const OVERRIDE; 390 virtual bool ShouldShowWindowTitle() const OVERRIDE;
391 virtual SkBitmap GetWindowAppIcon() OVERRIDE; 391 virtual SkBitmap GetWindowAppIcon() OVERRIDE;
392 virtual SkBitmap GetWindowIcon() OVERRIDE; 392 virtual SkBitmap GetWindowIcon() OVERRIDE;
393 virtual bool ShouldShowWindowIcon() const OVERRIDE; 393 virtual bool ShouldShowWindowIcon() const OVERRIDE;
394 virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE; 394 virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE;
395 virtual std::wstring GetWindowName() const OVERRIDE; 395 virtual std::wstring GetWindowName() const OVERRIDE;
396 virtual void SaveWindowPlacement(const gfx::Rect& bounds, 396 virtual void SaveWindowPlacement(const gfx::Rect& bounds,
397 ui::WindowShowState show_state) OVERRIDE; 397 bool maximized) OVERRIDE;
398 virtual bool GetSavedWindowPlacement( 398 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const OVERRIDE;
399 gfx::Rect* bounds, 399 virtual bool GetSavedMaximizedState(bool* maximized) const OVERRIDE;
400 ui::WindowShowState* show_state) const OVERRIDE;
401 virtual views::View* GetContentsView() OVERRIDE; 400 virtual views::View* GetContentsView() OVERRIDE;
402 virtual views::ClientView* CreateClientView(views::Widget* widget) OVERRIDE; 401 virtual views::ClientView* CreateClientView(views::Widget* widget) OVERRIDE;
403 virtual void OnWindowBeginUserBoundsChange() OVERRIDE; 402 virtual void OnWindowBeginUserBoundsChange() OVERRIDE;
404 virtual void OnWidgetMove() OVERRIDE; 403 virtual void OnWidgetMove() OVERRIDE;
405 virtual views::Widget* GetWidget() OVERRIDE; 404 virtual views::Widget* GetWidget() OVERRIDE;
406 virtual const views::Widget* GetWidget() const OVERRIDE; 405 virtual const views::Widget* GetWidget() const OVERRIDE;
407 406
408 // Overridden from views::Widget::Observer 407 // Overridden from views::Widget::Observer
409 virtual void OnWidgetActivationChanged(views::Widget* widget, 408 virtual void OnWidgetActivationChanged(views::Widget* widget,
410 bool active) OVERRIDE; 409 bool active) OVERRIDE;
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 730
732 NotificationRegistrar registrar_; 731 NotificationRegistrar registrar_;
733 732
734 // Used to measure the loading spinner animation rate. 733 // Used to measure the loading spinner animation rate.
735 base::TimeTicks last_animation_time_; 734 base::TimeTicks last_animation_time_;
736 735
737 DISALLOW_COPY_AND_ASSIGN(BrowserView); 736 DISALLOW_COPY_AND_ASSIGN(BrowserView);
738 }; 737 };
739 738
740 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 739 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698