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

Side by Side Diff: chrome/browser/ui/omnibox/omnibox_view.h

Issue 12036003: Move window_open_disposition.h from webkit/ into ui/base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 years, 11 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 // This file defines the interface class OmniboxView. Each toolkit will 5 // This file defines the interface class OmniboxView. Each toolkit will
6 // implement the edit view differently, so that code is inherently platform 6 // implement the edit view differently, so that code is inherently platform
7 // specific. However, the OmniboxEditModel needs to do some communication with 7 // specific. However, the OmniboxEditModel needs to do some communication with
8 // the view. Since the model is shared between platforms, we need to define an 8 // the view. Since the model is shared between platforms, we need to define an
9 // interface that all view implementations will share. 9 // interface that all view implementations will share.
10 10
11 #ifndef CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_VIEW_H_ 11 #ifndef CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_VIEW_H_
12 #define CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_VIEW_H_ 12 #define CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_VIEW_H_
13 13
14 #include <string> 14 #include <string>
15 15
16 #include "base/string16.h" 16 #include "base/string16.h"
17 #include "base/string_util.h" 17 #include "base/string_util.h"
18 #include "base/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
19 #include "chrome/browser/autocomplete/autocomplete_match.h" 19 #include "chrome/browser/autocomplete/autocomplete_match.h"
20 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h" 20 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h"
21 #include "chrome/browser/ui/toolbar/toolbar_model.h" 21 #include "chrome/browser/ui/toolbar/toolbar_model.h"
22 #include "content/public/common/url_constants.h" 22 #include "content/public/common/url_constants.h"
23 #include "ui/base/window_open_disposition.h"
23 #include "ui/gfx/native_widget_types.h" 24 #include "ui/gfx/native_widget_types.h"
24 #include "webkit/glue/window_open_disposition.h"
25 25
26 class CommandUpdater; 26 class CommandUpdater;
27 class GURL; 27 class GURL;
28 class OmniboxEditController; 28 class OmniboxEditController;
29 class OmniboxViewMacTest; 29 class OmniboxViewMacTest;
30 class Profile; 30 class Profile;
31 class ToolbarModel; 31 class ToolbarModel;
32 32
33 namespace content { 33 namespace content {
34 class WebContents; 34 class WebContents;
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 scoped_ptr<OmniboxEditModel> model_; 258 scoped_ptr<OmniboxEditModel> model_;
259 OmniboxEditController* controller_; 259 OmniboxEditController* controller_;
260 ToolbarModel* toolbar_model_; 260 ToolbarModel* toolbar_model_;
261 261
262 // The object that handles additional command functionality exposed on the 262 // The object that handles additional command functionality exposed on the
263 // edit, such as invoking the keyword editor. 263 // edit, such as invoking the keyword editor.
264 CommandUpdater* command_updater_; 264 CommandUpdater* command_updater_;
265 }; 265 };
266 266
267 #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_VIEW_H_ 267 #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_edit_model.h ('k') | chrome/browser/ui/search/other_device_menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698