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

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

Issue 55303006: Make sure the non browser/non app widget is fully visible when created on ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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) 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_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 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 400 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
401 virtual bool ShouldShowWindowTitle() const OVERRIDE; 401 virtual bool ShouldShowWindowTitle() const OVERRIDE;
402 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; 402 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE;
403 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; 403 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
404 virtual bool ShouldShowWindowIcon() const OVERRIDE; 404 virtual bool ShouldShowWindowIcon() const OVERRIDE;
405 virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE; 405 virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE;
406 virtual std::string GetWindowName() const OVERRIDE; 406 virtual std::string GetWindowName() const OVERRIDE;
407 virtual void SaveWindowPlacement(const gfx::Rect& bounds, 407 virtual void SaveWindowPlacement(const gfx::Rect& bounds,
408 ui::WindowShowState show_state) OVERRIDE; 408 ui::WindowShowState show_state) OVERRIDE;
409 virtual bool GetSavedWindowPlacement( 409 virtual bool GetSavedWindowPlacement(
410 const views::Widget* widget,
410 gfx::Rect* bounds, 411 gfx::Rect* bounds,
411 ui::WindowShowState* show_state) const OVERRIDE; 412 ui::WindowShowState* show_state) const OVERRIDE;
412 virtual views::View* GetContentsView() OVERRIDE; 413 virtual views::View* GetContentsView() OVERRIDE;
413 virtual views::ClientView* CreateClientView(views::Widget* widget) OVERRIDE; 414 virtual views::ClientView* CreateClientView(views::Widget* widget) OVERRIDE;
414 virtual void OnWindowBeginUserBoundsChange() OVERRIDE; 415 virtual void OnWindowBeginUserBoundsChange() OVERRIDE;
415 virtual void OnWidgetMove() OVERRIDE; 416 virtual void OnWidgetMove() OVERRIDE;
416 virtual views::Widget* GetWidget() OVERRIDE; 417 virtual views::Widget* GetWidget() OVERRIDE;
417 virtual const views::Widget* GetWidget() const OVERRIDE; 418 virtual const views::Widget* GetWidget() const OVERRIDE;
418 virtual void GetAccessiblePanes(std::vector<View*>* panes) OVERRIDE; 419 virtual void GetAccessiblePanes(std::vector<View*>* panes) OVERRIDE;
419 420
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; 750 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_;
750 751
751 gfx::ScopedSysColorChangeListener color_change_listener_; 752 gfx::ScopedSysColorChangeListener color_change_listener_;
752 753
753 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 754 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
754 755
755 DISALLOW_COPY_AND_ASSIGN(BrowserView); 756 DISALLOW_COPY_AND_ASSIGN(BrowserView);
756 }; 757 };
757 758
758 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 759 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/chrome_views_delegate.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