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

Side by Side Diff: chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h

Issue 11369137: Implement {Start,Stop}CapturingKeyStrokes for Instant. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase. Added comment. Created 8 years 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_OMNIBOX_OMNIBOX_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 bool update_popup, 77 bool update_popup,
78 bool notify_text_changed) OVERRIDE; 78 bool notify_text_changed) OVERRIDE;
79 virtual void SetForcedQuery() OVERRIDE; 79 virtual void SetForcedQuery() OVERRIDE;
80 virtual bool IsSelectAll() const OVERRIDE; 80 virtual bool IsSelectAll() const OVERRIDE;
81 virtual bool DeleteAtEndPressed() OVERRIDE; 81 virtual bool DeleteAtEndPressed() OVERRIDE;
82 virtual void GetSelectionBounds(string16::size_type* start, 82 virtual void GetSelectionBounds(string16::size_type* start,
83 string16::size_type* end) const OVERRIDE; 83 string16::size_type* end) const OVERRIDE;
84 virtual void SelectAll(bool reversed) OVERRIDE; 84 virtual void SelectAll(bool reversed) OVERRIDE;
85 virtual void UpdatePopup() OVERRIDE; 85 virtual void UpdatePopup() OVERRIDE;
86 virtual void SetFocus() OVERRIDE; 86 virtual void SetFocus() OVERRIDE;
87 virtual void ApplyCaretVisibility() OVERRIDE;
87 virtual void OnTemporaryTextMaybeChanged( 88 virtual void OnTemporaryTextMaybeChanged(
88 const string16& display_text, 89 const string16& display_text,
89 bool save_original_selection) OVERRIDE; 90 bool save_original_selection) OVERRIDE;
90 virtual bool OnInlineAutocompleteTextMaybeChanged( 91 virtual bool OnInlineAutocompleteTextMaybeChanged(
91 const string16& display_text, size_t user_text_length) OVERRIDE; 92 const string16& display_text, size_t user_text_length) OVERRIDE;
92 virtual void OnRevertTemporaryText() OVERRIDE; 93 virtual void OnRevertTemporaryText() OVERRIDE;
93 virtual void OnBeforePossibleChange() OVERRIDE; 94 virtual void OnBeforePossibleChange() OVERRIDE;
94 virtual bool OnAfterPossibleChange() OVERRIDE; 95 virtual bool OnAfterPossibleChange() OVERRIDE;
95 virtual gfx::NativeView GetNativeView() const OVERRIDE; 96 virtual gfx::NativeView GetNativeView() const OVERRIDE;
96 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; 97 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE;
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 // The view that is going to be focused next. Only valid while handling 446 // The view that is going to be focused next. Only valid while handling
446 // "focus-out" events. 447 // "focus-out" events.
447 GtkWidget* going_to_focus_; 448 GtkWidget* going_to_focus_;
448 449
449 ui::GtkSignalRegistrar signals_; 450 ui::GtkSignalRegistrar signals_;
450 451
451 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); 452 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk);
452 }; 453 };
453 454
454 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ 455 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm ('k') | chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698