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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.h

Issue 8586045: Add extension API to change window show state using chrome.windows.update(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cr feedback Created 9 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) 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_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual void UpdateTitleBar(); 83 virtual void UpdateTitleBar();
84 virtual void BookmarkBarStateChanged( 84 virtual void BookmarkBarStateChanged(
85 BookmarkBar::AnimateChangeType change_type); 85 BookmarkBar::AnimateChangeType change_type);
86 virtual void UpdateDevTools(); 86 virtual void UpdateDevTools();
87 virtual void UpdateLoadingAnimations(bool should_animate); 87 virtual void UpdateLoadingAnimations(bool should_animate);
88 virtual void SetStarredState(bool is_starred); 88 virtual void SetStarredState(bool is_starred);
89 virtual gfx::Rect GetRestoredBounds() const; 89 virtual gfx::Rect GetRestoredBounds() const;
90 virtual gfx::Rect GetBounds() const; 90 virtual gfx::Rect GetBounds() const;
91 virtual bool IsMaximized() const; 91 virtual bool IsMaximized() const;
92 virtual bool IsMinimized() const; 92 virtual bool IsMinimized() const;
93 virtual void Maximize() OVERRIDE;
94 virtual void Minimize() OVERRIDE;
95 virtual void Restore() OVERRIDE;
93 virtual void EnterFullscreen( 96 virtual void EnterFullscreen(
94 const GURL& url, FullscreenExitBubbleType type) OVERRIDE; 97 const GURL& url, FullscreenExitBubbleType type) OVERRIDE;
95 virtual void ExitFullscreen() OVERRIDE; 98 virtual void ExitFullscreen() OVERRIDE;
96 virtual void UpdateFullscreenExitBubbleContent( 99 virtual void UpdateFullscreenExitBubbleContent(
97 const GURL& url, 100 const GURL& url,
98 FullscreenExitBubbleType bubble_type) OVERRIDE; 101 FullscreenExitBubbleType bubble_type) OVERRIDE;
99 virtual bool IsFullscreen() const; 102 virtual bool IsFullscreen() const;
100 virtual bool IsFullscreenBubbleVisible() const; 103 virtual bool IsFullscreenBubbleVisible() const;
101 virtual LocationBar* GetLocationBar() const; 104 virtual LocationBar* GetLocationBar() const;
102 virtual void SetFocusToLocationBar(bool select_all); 105 virtual void SetFocusToLocationBar(bool select_all);
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 // be called. This should only be enabled in tests where the debounce timeout 524 // be called. This should only be enabled in tests where the debounce timeout
522 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the 525 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the
523 // autocomplete popup before the results can be read) and the final window 526 // autocomplete popup before the results can be read) and the final window
524 // position is unimportant. 527 // position is unimportant.
525 bool debounce_timer_disabled_; 528 bool debounce_timer_disabled_;
526 529
527 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 530 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
528 }; 531 };
529 532
530 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 533 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698