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

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

Issue 20501002: Adds paste function to searchbox api and handles paste event on fakebox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 7 years, 4 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 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_SEARCH_INSTANT_TAB_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_TAB_H_
6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_TAB_H_ 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_TAB_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/search/instant_page.h" 10 #include "chrome/browser/ui/search/instant_page.h"
(...skipping 15 matching lines...) Expand all
26 static void CountMouseover(content::WebContents* contents); 26 static void CountMouseover(content::WebContents* contents);
27 27
28 // Used to log in UMA the total number of mouseovers over NTP tiles/titles. 28 // Used to log in UMA the total number of mouseovers over NTP tiles/titles.
29 static void EmitMouseoverCount(content::WebContents* contents); 29 static void EmitMouseoverCount(content::WebContents* contents);
30 30
31 private: 31 private:
32 // Overridden from InstantPage: 32 // Overridden from InstantPage:
33 virtual bool ShouldProcessAboutToNavigateMainFrame() OVERRIDE; 33 virtual bool ShouldProcessAboutToNavigateMainFrame() OVERRIDE;
34 virtual bool ShouldProcessFocusOmnibox() OVERRIDE; 34 virtual bool ShouldProcessFocusOmnibox() OVERRIDE;
35 virtual bool ShouldProcessNavigateToURL() OVERRIDE; 35 virtual bool ShouldProcessNavigateToURL() OVERRIDE;
36 virtual bool ShouldProcessPasteIntoOmnibox() OVERRIDE;
36 virtual bool ShouldProcessDeleteMostVisitedItem() OVERRIDE; 37 virtual bool ShouldProcessDeleteMostVisitedItem() OVERRIDE;
37 virtual bool ShouldProcessUndoMostVisitedDeletion() OVERRIDE; 38 virtual bool ShouldProcessUndoMostVisitedDeletion() OVERRIDE;
38 virtual bool ShouldProcessUndoAllMostVisitedDeletions() OVERRIDE; 39 virtual bool ShouldProcessUndoAllMostVisitedDeletions() OVERRIDE;
39 40
40 DISALLOW_COPY_AND_ASSIGN(InstantTab); 41 DISALLOW_COPY_AND_ASSIGN(InstantTab);
41 }; 42 };
42 43
43 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_TAB_H_ 44 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_TAB_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/instant_page_unittest.cc ('k') | chrome/browser/ui/search/instant_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698