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

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

Issue 2734123004: add a new set of commands to resize and position windows (Closed)
Patch Set: add methods to UI domain Created 3 years, 9 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 <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 void ZoomChangedForActiveTab(bool can_show_bubble) override; 276 void ZoomChangedForActiveTab(bool can_show_bubble) override;
277 gfx::Rect GetRestoredBounds() const override; 277 gfx::Rect GetRestoredBounds() const override;
278 ui::WindowShowState GetRestoredState() const override; 278 ui::WindowShowState GetRestoredState() const override;
279 gfx::Rect GetBounds() const override; 279 gfx::Rect GetBounds() const override;
280 gfx::Size GetContentsSize() const override; 280 gfx::Size GetContentsSize() const override;
281 bool IsMaximized() const override; 281 bool IsMaximized() const override;
282 bool IsMinimized() const override; 282 bool IsMinimized() const override;
283 void Maximize() override; 283 void Maximize() override;
284 void Minimize() override; 284 void Minimize() override;
285 void Restore() override; 285 void Restore() override;
286 void SetFullscreen(bool fullscreen) override;
286 void EnterFullscreen(const GURL& url, 287 void EnterFullscreen(const GURL& url,
287 ExclusiveAccessBubbleType bubble_type) override; 288 ExclusiveAccessBubbleType bubble_type) override;
288 void ExitFullscreen() override; 289 void ExitFullscreen() override;
289 void UpdateExclusiveAccessExitBubbleContent( 290 void UpdateExclusiveAccessExitBubbleContent(
290 const GURL& url, 291 const GURL& url,
291 ExclusiveAccessBubbleType bubble_type) override; 292 ExclusiveAccessBubbleType bubble_type) override;
292 void OnExclusiveAccessUserInput() override; 293 void OnExclusiveAccessUserInput() override;
293 bool ShouldHideUIForFullscreen() const override; 294 bool ShouldHideUIForFullscreen() const override;
294 bool IsFullscreen() const override; 295 bool IsFullscreen() const override;
295 bool IsFullscreenBubbleVisible() const override; 296 bool IsFullscreenBubbleVisible() const override;
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 // The class that registers for keyboard shortcuts for extension commands. 715 // The class that registers for keyboard shortcuts for extension commands.
715 std::unique_ptr<ExtensionKeybindingRegistryViews> 716 std::unique_ptr<ExtensionKeybindingRegistryViews>
716 extension_keybinding_registry_; 717 extension_keybinding_registry_;
717 718
718 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 719 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
719 720
720 DISALLOW_COPY_AND_ASSIGN(BrowserView); 721 DISALLOW_COPY_AND_ASSIGN(BrowserView);
721 }; 722 };
722 723
723 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 724 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698