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

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

Issue 583603004: Add CanMinimize to classes that implement WidgetDelegate::CanMaximize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@win_resizable
Patch Set: Add TODO. Created 6 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
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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 virtual void WillCloseAllTabs() OVERRIDE; 386 virtual void WillCloseAllTabs() OVERRIDE;
387 virtual void CloseAllTabsCanceled() OVERRIDE; 387 virtual void CloseAllTabsCanceled() OVERRIDE;
388 388
389 // Overridden from ui::AcceleratorProvider: 389 // Overridden from ui::AcceleratorProvider:
390 virtual bool GetAcceleratorForCommandId(int command_id, 390 virtual bool GetAcceleratorForCommandId(int command_id,
391 ui::Accelerator* accelerator) OVERRIDE; 391 ui::Accelerator* accelerator) OVERRIDE;
392 392
393 // Overridden from views::WidgetDelegate: 393 // Overridden from views::WidgetDelegate:
394 virtual bool CanResize() const OVERRIDE; 394 virtual bool CanResize() const OVERRIDE;
395 virtual bool CanMaximize() const OVERRIDE; 395 virtual bool CanMaximize() const OVERRIDE;
396 virtual bool CanMinimize() const OVERRIDE;
396 virtual bool CanActivate() const OVERRIDE; 397 virtual bool CanActivate() const OVERRIDE;
397 virtual base::string16 GetWindowTitle() const OVERRIDE; 398 virtual base::string16 GetWindowTitle() const OVERRIDE;
398 virtual base::string16 GetAccessibleWindowTitle() const OVERRIDE; 399 virtual base::string16 GetAccessibleWindowTitle() const OVERRIDE;
399 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 400 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
400 virtual bool ShouldShowWindowTitle() const OVERRIDE; 401 virtual bool ShouldShowWindowTitle() const OVERRIDE;
401 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; 402 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE;
402 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; 403 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
403 virtual bool ShouldShowWindowIcon() const OVERRIDE; 404 virtual bool ShouldShowWindowIcon() const OVERRIDE;
404 virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE; 405 virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE;
405 virtual std::string GetWindowName() const OVERRIDE; 406 virtual std::string GetWindowName() const OVERRIDE;
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; 711 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_;
711 712
712 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; 713 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_;
713 714
714 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 715 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
715 716
716 DISALLOW_COPY_AND_ASSIGN(BrowserView); 717 DISALLOW_COPY_AND_ASSIGN(BrowserView);
717 }; 718 };
718 719
719 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 720 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « ash/wm/system_gesture_event_filter_unittest.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