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

Side by Side Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.h

Issue 9706012: Add abstractions that let embedders drive tests of WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove CONTENT_EXPORT on statically linked functions. Merge to head for commit. Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/autocomplete/autocomplete_match.h" 13 #include "chrome/browser/autocomplete/autocomplete_match.h"
14 #include "chrome/browser/ui/omnibox/omnibox_view.h" 14 #include "chrome/browser/ui/omnibox/omnibox_view.h"
15 #include "chrome/browser/ui/toolbar/toolbar_model.h" 15 #include "chrome/browser/ui/toolbar/toolbar_model.h"
16 #include "ui/base/range/range.h" 16 #include "ui/base/range/range.h"
17 #include "ui/views/controls/textfield/textfield_controller.h" 17 #include "ui/views/controls/textfield/textfield_controller.h"
18 #include "ui/views/view.h" 18 #include "ui/views/view.h"
19 #include "webkit/glue/window_open_disposition.h" 19 #include "webkit/glue/window_open_disposition.h"
20 20
21 #if defined(OS_CHROMEOS) 21 #if defined(OS_CHROMEOS)
22 #include "chrome/browser/chromeos/input_method/input_method_manager.h" 22 #include "chrome/browser/chromeos/input_method/input_method_manager.h"
23 #endif 23 #endif
24 24
25 class AutocompleteEditController; 25 class AutocompleteEditController;
26 class AutocompleteEditModel; 26 class AutocompleteEditModel;
27 class AutocompletePopupView; 27 class AutocompletePopupView;
28 class Profile; 28 class Profile;
29 class TabContents;
30 29
31 namespace ui { 30 namespace ui {
32 class OSExchangeData; 31 class OSExchangeData;
33 } // namespace ui 32 } // namespace ui
34 33
35 // Views-implementation of OmniboxView. This is based on gtk implementation. 34 // Views-implementation of OmniboxView. This is based on gtk implementation.
36 // The following features are not yet supported. 35 // The following features are not yet supported.
37 // 36 //
38 // LTR support. 37 // LTR support.
39 // Drag and drop behavior. 38 // Drag and drop behavior.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 212
214 // True if the IME candidate window is open. When this is true, we want to 213 // True if the IME candidate window is open. When this is true, we want to
215 // avoid showing the popup. So far, the candidate window is detected only 214 // avoid showing the popup. So far, the candidate window is detected only
216 // on Chrome OS. 215 // on Chrome OS.
217 bool ime_candidate_window_open_; 216 bool ime_candidate_window_open_;
218 217
219 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); 218 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews);
220 }; 219 };
221 220
222 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ 221 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/content_setting_image_view.h ('k') | chrome/browser/ui/views/omnibox/omnibox_view_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698