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

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

Issue 4694008: Make pink's TabContentsWrapper change compile on Windows.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual void UpdateLoadingAnimations(bool should_animate); 68 virtual void UpdateLoadingAnimations(bool should_animate);
69 virtual void SetStarredState(bool is_starred); 69 virtual void SetStarredState(bool is_starred);
70 virtual gfx::Rect GetRestoredBounds() const; 70 virtual gfx::Rect GetRestoredBounds() const;
71 virtual bool IsMaximized() const; 71 virtual bool IsMaximized() const;
72 virtual void SetFullscreen(bool fullscreen); 72 virtual void SetFullscreen(bool fullscreen);
73 virtual bool IsFullscreen() const; 73 virtual bool IsFullscreen() const;
74 virtual bool IsFullscreenBubbleVisible() const; 74 virtual bool IsFullscreenBubbleVisible() const;
75 virtual LocationBar* GetLocationBar() const; 75 virtual LocationBar* GetLocationBar() const;
76 virtual void SetFocusToLocationBar(bool select_all); 76 virtual void SetFocusToLocationBar(bool select_all);
77 virtual void UpdateReloadStopState(bool is_loading, bool force); 77 virtual void UpdateReloadStopState(bool is_loading, bool force);
78 virtual void UpdateToolbar(TabContents* contents, 78 virtual void UpdateToolbar(TabContentsWrapper* contents,
79 bool should_restore_state); 79 bool should_restore_state);
80 virtual void FocusToolbar(); 80 virtual void FocusToolbar();
81 virtual void FocusAppMenu(); 81 virtual void FocusAppMenu();
82 virtual void FocusBookmarksToolbar(); 82 virtual void FocusBookmarksToolbar();
83 virtual void FocusChromeOSStatus(); 83 virtual void FocusChromeOSStatus();
84 virtual void RotatePaneFocus(bool forwards); 84 virtual void RotatePaneFocus(bool forwards);
85 virtual bool IsBookmarkBarVisible() const; 85 virtual bool IsBookmarkBarVisible() const;
86 virtual bool IsBookmarkBarAnimating() const; 86 virtual bool IsBookmarkBarAnimating() const;
87 virtual bool IsToolbarVisible() const; 87 virtual bool IsToolbarVisible() const;
88 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 88 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 virtual void ShowInstant(TabContents* preview_contents); 128 virtual void ShowInstant(TabContents* preview_contents);
129 virtual void HideInstant(); 129 virtual void HideInstant();
130 virtual gfx::Rect GetInstantBounds(); 130 virtual gfx::Rect GetInstantBounds();
131 131
132 // Overridden from NotificationObserver: 132 // Overridden from NotificationObserver:
133 virtual void Observe(NotificationType type, 133 virtual void Observe(NotificationType type,
134 const NotificationSource& source, 134 const NotificationSource& source,
135 const NotificationDetails& details); 135 const NotificationDetails& details);
136 136
137 // Overridden from TabStripModelObserver: 137 // Overridden from TabStripModelObserver:
138 virtual void TabDetachedAt(TabContents* contents, int index); 138 virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
139 virtual void TabSelectedAt(TabContents* old_contents, 139 virtual void TabSelectedAt(TabContentsWrapper* old_contents,
140 TabContents* new_contents, 140 TabContentsWrapper* new_contents,
141 int index, 141 int index,
142 bool user_gesture); 142 bool user_gesture);
143 virtual void TabStripEmpty(); 143 virtual void TabStripEmpty();
144 144
145 // Overridden from ActiveWindowWatcher::Observer. 145 // Overridden from ActiveWindowWatcher::Observer.
146 virtual void ActiveWindowChanged(GdkWindow* active_window); 146 virtual void ActiveWindowChanged(GdkWindow* active_window);
147 147
148 // Overridden from InfoBarArrowModel::Observer. 148 // Overridden from InfoBarArrowModel::Observer.
149 virtual void PaintStateChanged(); 149 virtual void PaintStateChanged();
150 150
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 476 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
477 477
478 // The model that tracks the paint state of the arrow for the infobar 478 // The model that tracks the paint state of the arrow for the infobar
479 // directly below the toolbar. 479 // directly below the toolbar.
480 InfoBarArrowModel infobar_arrow_model_; 480 InfoBarArrowModel infobar_arrow_model_;
481 481
482 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 482 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
483 }; 483 };
484 484
485 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 485 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698