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

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

Issue 2146943002: Merge InstantTag into InstantPage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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_page.cc ('k') | chrome/browser/ui/search/instant_tab.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_TAB_H_
6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_TAB_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "chrome/browser/ui/search/instant_page.h"
11
12 // InstantTab represents a committed page (i.e. an actual tab on the tab strip)
13 // that supports the Instant API.
14 class InstantTab : public InstantPage {
15 public:
16 explicit InstantTab(InstantPage::Delegate* delegate);
17 ~InstantTab() override;
18
19 // Start observing |contents| for messages. Sends a message to determine if
20 // the page supports the Instant API.
21 void Init(content::WebContents* contents);
22
23 private:
24 // Overridden from InstantPage:
25 bool ShouldProcessAboutToNavigateMainFrame() override;
26
27 DISALLOW_COPY_AND_ASSIGN(InstantTab);
28 };
29
30 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_TAB_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/instant_page.cc ('k') | chrome/browser/ui/search/instant_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698