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

Side by Side Diff: chrome/browser/android/contextualsearch/contextual_search_context.cc

Issue 2348443002: Revert of [TTS] Gather surrounding text on Tap before any UX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/android/contextualsearch/contextual_search_context.h" 5 #include "chrome/browser/android/contextualsearch/contextual_search_context.h"
6 6
7 ContextualSearchContext::ContextualSearchContext( 7 ContextualSearchContext::ContextualSearchContext(
8 const std::string& selected_text, 8 const std::string& selected_text,
9 const bool use_resolved_search_term, 9 const bool use_resolved_search_term,
10 const GURL& page_url, 10 const GURL& page_url,
11 const std::string& encoding) 11 const std::string& encoding)
12 : use_resolved_search_term(use_resolved_search_term), 12 : selected_text(selected_text),
13 use_resolved_search_term(use_resolved_search_term),
13 page_url(page_url), 14 page_url(page_url),
14 encoding(encoding), 15 encoding(encoding) {
15 selected_text(selected_text) {} 16 }
16
17 ContextualSearchContext::ContextualSearchContext(
18 const bool use_resolved_search_term,
19 const GURL& page_url,
20 const std::string& encoding)
21 : use_resolved_search_term(use_resolved_search_term),
22 page_url(page_url),
23 encoding(encoding) {}
24 17
25 ContextualSearchContext::~ContextualSearchContext() { 18 ContextualSearchContext::~ContextualSearchContext() {
26 } 19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698