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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_edit_view_gtk.h

Issue 214029: Adding focus to NaviteViewHost. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual void SetFocus(); 103 virtual void SetFocus();
104 104
105 virtual void OnTemporaryTextMaybeChanged(const std::wstring& display_text, 105 virtual void OnTemporaryTextMaybeChanged(const std::wstring& display_text,
106 bool save_original_selection); 106 bool save_original_selection);
107 virtual bool OnInlineAutocompleteTextMaybeChanged( 107 virtual bool OnInlineAutocompleteTextMaybeChanged(
108 const std::wstring& display_text, size_t user_text_length); 108 const std::wstring& display_text, size_t user_text_length);
109 virtual void OnRevertTemporaryText(); 109 virtual void OnRevertTemporaryText();
110 virtual void OnBeforePossibleChange(); 110 virtual void OnBeforePossibleChange();
111 virtual bool OnAfterPossibleChange(); 111 virtual bool OnAfterPossibleChange();
112 virtual gfx::NativeView GetNativeView() const; 112 virtual gfx::NativeView GetNativeView() const;
113 virtual gfx::NativeView GetFocusNativeView() const;
113 114
114 // Overridden from NotificationObserver: 115 // Overridden from NotificationObserver:
115 virtual void Observe(NotificationType type, 116 virtual void Observe(NotificationType type,
116 const NotificationSource& source, 117 const NotificationSource& source,
117 const NotificationDetails& details); 118 const NotificationDetails& details);
118 119
119 void SetBaseColor(); 120 void SetBaseColor();
120 121
121 private: 122 private:
122 // TODO(deanm): Would be nice to insulate the thunkers better, etc. 123 // TODO(deanm): Would be nice to insulate the thunkers better, etc.
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 411
411 // Indicates if an Enter key press is inserted as text. 412 // Indicates if an Enter key press is inserted as text.
412 // It's used in the key press handler to determine if an Enter key event is 413 // It's used in the key press handler to determine if an Enter key event is
413 // handled by IME or not. 414 // handled by IME or not.
414 bool enter_was_inserted_; 415 bool enter_was_inserted_;
415 416
416 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewGtk); 417 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewGtk);
417 }; 418 };
418 419
419 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_ 420 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit_view.h ('k') | chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698