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

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

Issue 3417011: Makes match preview send the dimensions of the omnibox to the page. (Closed)
Patch Set: Fix unittest Created 10 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
« 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 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 118 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
119 bool* is_keyboard_shortcut); 119 bool* is_keyboard_shortcut);
120 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 120 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
121 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); 121 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents);
122 virtual void Cut(); 122 virtual void Cut();
123 virtual void Copy(); 123 virtual void Copy();
124 virtual void Paste(); 124 virtual void Paste();
125 virtual void ToggleTabStripMode() {} 125 virtual void ToggleTabStripMode() {}
126 virtual void ShowMatchPreview(); 126 virtual void ShowMatchPreview();
127 virtual void HideMatchPreview(); 127 virtual void HideMatchPreview();
128 virtual gfx::Rect GetMatchPreviewBounds();
128 129
129 // Overridden from NotificationObserver: 130 // Overridden from NotificationObserver:
130 virtual void Observe(NotificationType type, 131 virtual void Observe(NotificationType type,
131 const NotificationSource& source, 132 const NotificationSource& source,
132 const NotificationDetails& details); 133 const NotificationDetails& details);
133 134
134 // Overridden from TabStripModelObserver: 135 // Overridden from TabStripModelObserver:
135 virtual void TabDetachedAt(TabContents* contents, int index); 136 virtual void TabDetachedAt(TabContents* contents, int index);
136 virtual void TabSelectedAt(TabContents* old_contents, 137 virtual void TabSelectedAt(TabContents* old_contents,
137 TabContents* new_contents, 138 TabContents* new_contents,
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 436
436 // The accelerator group used to handle accelerators, owned by this object. 437 // The accelerator group used to handle accelerators, owned by this object.
437 GtkAccelGroup* accel_group_; 438 GtkAccelGroup* accel_group_;
438 439
439 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 440 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
440 441
441 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 442 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
442 }; 443 };
443 444
444 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 445 #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