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

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

Issue 10915217: Hook up SetInstantPreviewHeight for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move hidden notification, too. Created 8 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 | Annotate | Revision Log
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_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 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 const content::NativeWebKeyboardEvent& event, 149 const content::NativeWebKeyboardEvent& event,
150 bool* is_keyboard_shortcut) OVERRIDE; 150 bool* is_keyboard_shortcut) OVERRIDE;
151 virtual void HandleKeyboardEvent( 151 virtual void HandleKeyboardEvent(
152 const content::NativeWebKeyboardEvent& event) OVERRIDE; 152 const content::NativeWebKeyboardEvent& event) OVERRIDE;
153 virtual void ShowCreateChromeAppShortcutsDialog( 153 virtual void ShowCreateChromeAppShortcutsDialog(
154 Profile* profile, 154 Profile* profile,
155 const extensions::Extension* app) OVERRIDE; 155 const extensions::Extension* app) OVERRIDE;
156 virtual void Cut() OVERRIDE; 156 virtual void Cut() OVERRIDE;
157 virtual void Copy() OVERRIDE; 157 virtual void Copy() OVERRIDE;
158 virtual void Paste() OVERRIDE; 158 virtual void Paste() OVERRIDE;
159 virtual void ShowInstant(TabContents* preview) OVERRIDE; 159 virtual void ShowInstant(TabContents* preview,
160 int height,
161 InstantSizeUnits units) OVERRIDE;
160 virtual void HideInstant() OVERRIDE; 162 virtual void HideInstant() OVERRIDE;
161 virtual gfx::Rect GetInstantBounds() OVERRIDE; 163 virtual gfx::Rect GetInstantBounds() OVERRIDE;
162 virtual bool IsInstantTabShowing() OVERRIDE; 164 virtual bool IsInstantTabShowing() OVERRIDE;
163 virtual WindowOpenDisposition GetDispositionForPopupBounds( 165 virtual WindowOpenDisposition GetDispositionForPopupBounds(
164 const gfx::Rect& bounds) OVERRIDE; 166 const gfx::Rect& bounds) OVERRIDE;
165 virtual FindBar* CreateFindBar() OVERRIDE; 167 virtual FindBar* CreateFindBar() OVERRIDE;
166 virtual void ShowAvatarBubble(content::WebContents* web_contents, 168 virtual void ShowAvatarBubble(content::WebContents* web_contents,
167 const gfx::Rect& rect) OVERRIDE; 169 const gfx::Rect& rect) OVERRIDE;
168 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; 170 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE;
169 virtual void ShowPasswordGenerationBubble( 171 virtual void ShowPasswordGenerationBubble(
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 563 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
562 564
563 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 565 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
564 566
565 content::NotificationRegistrar registrar_; 567 content::NotificationRegistrar registrar_;
566 568
567 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 569 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
568 }; 570 };
569 571
570 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 572 #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