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

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

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
« no previous file with comments | « chrome/browser/ui/search/instant_tab.h ('k') | chrome/common/render_messages.h » ('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 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 #include "chrome/browser/ui/search/instant_tab.h" 5 #include "chrome/browser/ui/search/instant_tab.h"
6 6
7 #include "chrome/browser/profiles/profile.h" 7 #include "chrome/browser/profiles/profile.h"
8 #include "chrome/browser/ui/webui/ntp/ntp_user_data_logger.h" 8 #include "chrome/browser/ui/webui/ntp/ntp_user_data_logger.h"
9 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
10 10
(...skipping 28 matching lines...) Expand all
39 } 39 }
40 40
41 bool InstantTab::ShouldProcessFocusOmnibox() { 41 bool InstantTab::ShouldProcessFocusOmnibox() {
42 return true; 42 return true;
43 } 43 }
44 44
45 bool InstantTab::ShouldProcessNavigateToURL() { 45 bool InstantTab::ShouldProcessNavigateToURL() {
46 return true; 46 return true;
47 } 47 }
48 48
49 bool InstantTab::ShouldProcessPasteIntoOmnibox() {
50 return true;
51 }
52
49 bool InstantTab::ShouldProcessDeleteMostVisitedItem() { 53 bool InstantTab::ShouldProcessDeleteMostVisitedItem() {
50 return true; 54 return true;
51 } 55 }
52 56
53 bool InstantTab::ShouldProcessUndoMostVisitedDeletion() { 57 bool InstantTab::ShouldProcessUndoMostVisitedDeletion() {
54 return true; 58 return true;
55 } 59 }
56 60
57 bool InstantTab::ShouldProcessUndoAllMostVisitedDeletions() { 61 bool InstantTab::ShouldProcessUndoAllMostVisitedDeletions() {
58 return true; 62 return true;
59 } 63 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/instant_tab.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698