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

Side by Side Diff: chrome/browser/ui/search/instant_overlay.h

Issue 12520005: Move desktop-specific Instant bits to c/b/ui/search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 7 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
« no previous file with comments | « chrome/browser/ui/search/instant_ntp.cc ('k') | chrome/browser/ui/search/instant_overlay.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_INSTANT_INSTANT_OVERLAY_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_OVERLAY_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_OVERLAY_H_ 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_OVERLAY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "chrome/browser/history/history_types.h" 14 #include "chrome/browser/history/history_types.h"
15 #include "chrome/browser/instant/instant_controller.h" 15 #include "chrome/browser/ui/search/instant_controller.h"
16 #include "chrome/browser/instant/instant_loader.h" 16 #include "chrome/browser/ui/search/instant_loader.h"
17 #include "chrome/browser/instant/instant_page.h" 17 #include "chrome/browser/ui/search/instant_page.h"
18 18
19 class Profile; 19 class Profile;
20 20
21 namespace content { 21 namespace content {
22 class WebContents; 22 class WebContents;
23 } 23 }
24 24
25 // InstantOverlay is used to communicate with an overlay WebContents that it 25 // InstantOverlay is used to communicate with an overlay WebContents that it
26 // owns and loads the "Instant URL" into. This overlay can appear and disappear 26 // owns and loads the "Instant URL" into. This overlay can appear and disappear
27 // at will as the user types in the omnibox. 27 // at will as the user types in the omnibox.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 InstantLoader loader_; 109 InstantLoader loader_;
110 const std::string instant_url_; 110 const std::string instant_url_;
111 bool is_stale_; 111 bool is_stale_;
112 bool is_pointer_down_from_activate_; 112 bool is_pointer_down_from_activate_;
113 history::HistoryAddPageArgs last_navigation_; 113 history::HistoryAddPageArgs last_navigation_;
114 114
115 DISALLOW_COPY_AND_ASSIGN(InstantOverlay); 115 DISALLOW_COPY_AND_ASSIGN(InstantOverlay);
116 }; 116 };
117 117
118 #endif // CHROME_BROWSER_INSTANT_INSTANT_OVERLAY_H_ 118 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_OVERLAY_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/instant_ntp.cc ('k') | chrome/browser/ui/search/instant_overlay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698