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

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: Synced 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual void UpdateTitleBar() OVERRIDE; 85 virtual void UpdateTitleBar() OVERRIDE;
86 virtual void BookmarkBarStateChanged( 86 virtual void BookmarkBarStateChanged(
87 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 87 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
88 virtual void UpdateDevTools() OVERRIDE; 88 virtual void UpdateDevTools() OVERRIDE;
89 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 89 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
90 virtual void SetStarredState(bool is_starred) OVERRIDE; 90 virtual void SetStarredState(bool is_starred) OVERRIDE;
91 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 91 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
92 virtual gfx::Rect GetBounds() const OVERRIDE; 92 virtual gfx::Rect GetBounds() const OVERRIDE;
93 virtual bool IsMaximized() const OVERRIDE; 93 virtual bool IsMaximized() const OVERRIDE;
94 virtual bool IsMinimized() const OVERRIDE; 94 virtual bool IsMinimized() const OVERRIDE;
95 virtual void Maximize() OVERRIDE;
96 virtual void Minimize() OVERRIDE;
97 virtual void Restore() OVERRIDE;
95 virtual void EnterFullscreen( 98 virtual void EnterFullscreen(
96 const GURL& url, FullscreenExitBubbleType type) OVERRIDE; 99 const GURL& url, FullscreenExitBubbleType type) OVERRIDE;
97 virtual void ExitFullscreen() OVERRIDE; 100 virtual void ExitFullscreen() OVERRIDE;
98 virtual void UpdateFullscreenExitBubbleContent( 101 virtual void UpdateFullscreenExitBubbleContent(
99 const GURL& url, 102 const GURL& url,
100 FullscreenExitBubbleType bubble_type) OVERRIDE; 103 FullscreenExitBubbleType bubble_type) OVERRIDE;
101 virtual bool IsFullscreen() const OVERRIDE; 104 virtual bool IsFullscreen() const OVERRIDE;
102 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; 105 virtual bool IsFullscreenBubbleVisible() const OVERRIDE;
103 virtual LocationBar* GetLocationBar() const OVERRIDE; 106 virtual LocationBar* GetLocationBar() const OVERRIDE;
104 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; 107 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE;
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 // be called. This should only be enabled in tests where the debounce timeout 530 // be called. This should only be enabled in tests where the debounce timeout
528 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the 531 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the
529 // autocomplete popup before the results can be read) and the final window 532 // autocomplete popup before the results can be read) and the final window
530 // position is unimportant. 533 // position is unimportant.
531 bool debounce_timer_disabled_; 534 bool debounce_timer_disabled_;
532 535
533 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 536 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
534 }; 537 };
535 538
536 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 539 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698