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

Side by Side Diff: chrome/browser/search/contextual_search_promo_source_android.h

Issue 587803003: [Search] Add a header image to the promo flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using finch parameter for hiding the header Created 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SEARCH_CONTEXTUAL_SEARCH_PROMO_SOURCE_ANDROID_H_ 5 #ifndef CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_PROMO_SOURCE_ANDROID_H_
6 #define CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_PROMO_SOURCE_ANDROID_H_ 6 #define CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_PROMO_SOURCE_ANDROID_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 "content/public/browser/url_data_source.h" 10 #include "content/public/browser/url_data_source.h"
(...skipping 15 matching lines...) Expand all
26 virtual std::string GetMimeType( 26 virtual std::string GetMimeType(
27 const std::string& path_and_query) const OVERRIDE; 27 const std::string& path_and_query) const OVERRIDE;
28 virtual bool ShouldDenyXFrameOptions() const OVERRIDE; 28 virtual bool ShouldDenyXFrameOptions() const OVERRIDE;
29 virtual bool ShouldAddContentSecurityPolicy() const OVERRIDE; 29 virtual bool ShouldAddContentSecurityPolicy() const OVERRIDE;
30 30
31 // Sends unmodified resource bytes. 31 // Sends unmodified resource bytes.
32 void SendResource( 32 void SendResource(
33 int resource_id, 33 int resource_id,
34 const content::URLDataSource::GotDataCallback& callback); 34 const content::URLDataSource::GotDataCallback& callback);
35 35
36 // Sends the config JS resource.
37 void SendConfigResource(
38 const content::URLDataSource::GotDataCallback& callback);
39
36 // Sends HTML with localized strings. 40 // Sends HTML with localized strings.
37 void SendHtmlWithStrings( 41 void SendHtmlWithStrings(
38 const content::URLDataSource::GotDataCallback& callback); 42 const content::URLDataSource::GotDataCallback& callback);
39 43
40 private: 44 private:
41 DISALLOW_COPY_AND_ASSIGN(ContextualSearchPromoSourceAndroid); 45 DISALLOW_COPY_AND_ASSIGN(ContextualSearchPromoSourceAndroid);
42 }; 46 };
43 47
44 #endif // CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_PROMO_SOURCE_ANDROID_H_ 48 #endif // CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_PROMO_SOURCE_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698