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

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

Issue 4932001: Makes the current page dim out when transitioning to instant preview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup 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
« no previous file with comments | « chrome/browser/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/gtk/browser_window_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 bool show_history); 118 bool show_history);
119 virtual void ShowAppMenu(); 119 virtual void ShowAppMenu();
120 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 120 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
121 bool* is_keyboard_shortcut); 121 bool* is_keyboard_shortcut);
122 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 122 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
123 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); 123 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents);
124 virtual void Cut(); 124 virtual void Cut();
125 virtual void Copy(); 125 virtual void Copy();
126 virtual void Paste(); 126 virtual void Paste();
127 virtual void ToggleTabStripMode() {} 127 virtual void ToggleTabStripMode() {}
128 virtual void PrepareForInstant();
128 virtual void ShowInstant(TabContents* preview_contents); 129 virtual void ShowInstant(TabContents* preview_contents);
129 virtual void HideInstant(); 130 virtual void HideInstant();
130 virtual gfx::Rect GetInstantBounds(); 131 virtual gfx::Rect GetInstantBounds();
131 132
132 // Overridden from NotificationObserver: 133 // Overridden from NotificationObserver:
133 virtual void Observe(NotificationType type, 134 virtual void Observe(NotificationType type,
134 const NotificationSource& source, 135 const NotificationSource& source,
135 const NotificationDetails& details); 136 const NotificationDetails& details);
136 137
137 // Overridden from TabStripModelObserver: 138 // Overridden from TabStripModelObserver:
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 477 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
477 478
478 // The model that tracks the paint state of the arrow for the infobar 479 // The model that tracks the paint state of the arrow for the infobar
479 // directly below the toolbar. 480 // directly below the toolbar.
480 InfoBarArrowModel infobar_arrow_model_; 481 InfoBarArrowModel infobar_arrow_model_;
481 482
482 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 483 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
483 }; 484 };
484 485
485 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 486 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698