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

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

Issue 7054052: Move more from Window onto Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 SkBitmap GetWindowAppIcon() OVERRIDE; 387 virtual SkBitmap GetWindowAppIcon() OVERRIDE;
388 virtual SkBitmap GetWindowIcon() OVERRIDE; 388 virtual SkBitmap GetWindowIcon() OVERRIDE;
389 virtual bool ShouldShowWindowIcon() const OVERRIDE; 389 virtual bool ShouldShowWindowIcon() const OVERRIDE;
390 virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE; 390 virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE;
391 virtual std::wstring GetWindowName() const OVERRIDE; 391 virtual std::wstring GetWindowName() const OVERRIDE;
392 virtual void SaveWindowPlacement(const gfx::Rect& bounds, 392 virtual void SaveWindowPlacement(const gfx::Rect& bounds,
393 bool maximized) OVERRIDE; 393 bool maximized) OVERRIDE;
394 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const OVERRIDE; 394 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const OVERRIDE;
395 virtual bool GetSavedMaximizedState(bool* maximized) const OVERRIDE; 395 virtual bool GetSavedMaximizedState(bool* maximized) const OVERRIDE;
396 virtual views::View* GetContentsView() OVERRIDE; 396 virtual views::View* GetContentsView() OVERRIDE;
397 virtual views::ClientView* CreateClientView(views::Window* window) OVERRIDE; 397 virtual views::ClientView* CreateClientView(views::Widget* widget) OVERRIDE;
398 virtual void OnWindowActivationChanged(bool active) OVERRIDE; 398 virtual void OnWindowActivationChanged(bool active) OVERRIDE;
399 virtual void OnWindowBeginUserBoundsChange() OVERRIDE; 399 virtual void OnWindowBeginUserBoundsChange() OVERRIDE;
400 virtual void OnWidgetMove() OVERRIDE; 400 virtual void OnWidgetMove() OVERRIDE;
401 401
402 // Overridden from views::ClientView: 402 // Overridden from views::ClientView:
403 virtual bool CanClose() OVERRIDE; 403 virtual bool CanClose() OVERRIDE;
404 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 404 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
405 virtual gfx::Size GetMinimumSize() OVERRIDE; 405 virtual gfx::Size GetMinimumSize() OVERRIDE;
406 406
407 // InfoBarContainer::Delegate overrides 407 // InfoBarContainer::Delegate overrides
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 718
719 NotificationRegistrar registrar_; 719 NotificationRegistrar registrar_;
720 720
721 // Used to measure the loading spinner animation rate. 721 // Used to measure the loading spinner animation rate.
722 base::TimeTicks last_animation_time_; 722 base::TimeTicks last_animation_time_;
723 723
724 DISALLOW_COPY_AND_ASSIGN(BrowserView); 724 DISALLOW_COPY_AND_ASSIGN(BrowserView);
725 }; 725 };
726 726
727 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 727 #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