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

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

Issue 8298005: Fixes bug in instant where we would end up incorrectly using the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweak Created 9 years, 2 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) 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 bool* is_keyboard_shortcut); 134 bool* is_keyboard_shortcut);
135 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 135 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
136 virtual void ShowCreateWebAppShortcutsDialog( 136 virtual void ShowCreateWebAppShortcutsDialog(
137 TabContentsWrapper* tab_contents); 137 TabContentsWrapper* tab_contents);
138 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, 138 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile,
139 const Extension* app); 139 const Extension* app);
140 virtual void Cut(); 140 virtual void Cut();
141 virtual void Copy(); 141 virtual void Copy();
142 virtual void Paste(); 142 virtual void Paste();
143 virtual void ShowInstant(TabContentsWrapper* preview); 143 virtual void ShowInstant(TabContentsWrapper* preview);
144 virtual void HideInstant(bool instant_is_active); 144 virtual void HideInstant();
145 virtual gfx::Rect GetInstantBounds(); 145 virtual gfx::Rect GetInstantBounds();
146 virtual WindowOpenDisposition GetDispositionForPopupBounds( 146 virtual WindowOpenDisposition GetDispositionForPopupBounds(
147 const gfx::Rect& bounds); 147 const gfx::Rect& bounds);
148 virtual FindBar* CreateFindBar() OVERRIDE; 148 virtual FindBar* CreateFindBar() OVERRIDE;
149 virtual void ShowAvatarBubble(TabContents* tab_contents, 149 virtual void ShowAvatarBubble(TabContents* tab_contents,
150 const gfx::Rect& rect) OVERRIDE; 150 const gfx::Rect& rect) OVERRIDE;
151 151
152 // Overridden from NotificationObserver: 152 // Overridden from NotificationObserver:
153 virtual void Observe(int type, 153 virtual void Observe(int type,
154 const NotificationSource& source, 154 const NotificationSource& source,
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 // be called. This should only be enabled in tests where the debounce timeout 517 // be called. This should only be enabled in tests where the debounce timeout
518 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the 518 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the
519 // autocomplete popup before the results can be read) and the final window 519 // autocomplete popup before the results can be read) and the final window
520 // position is unimportant. 520 // position is unimportant.
521 bool debounce_timer_disabled_; 521 bool debounce_timer_disabled_;
522 522
523 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 523 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
524 }; 524 };
525 525
526 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 526 #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