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

Side by Side Diff: chrome/browser/search/one_google_bar/one_google_bar_data.h

Issue 2814753002: Local NTP: Introduce OneGoogleBarFetcher (Closed)
Patch Set: safe_json Created 3 years, 8 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/BUILD.gn ('k') | chrome/browser/search/one_google_bar/one_google_bar_data.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 2017 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_SEARCH_ONE_GOOGLE_BAR_ONE_GOOGLE_BAR_DATA_H_
6 #define CHROME_BROWSER_SEARCH_ONE_GOOGLE_BAR_ONE_GOOGLE_BAR_DATA_H_
7
8 #include <string>
9
10 // This struct contains all the data needed to inject a OneGoogleBar into a
11 // page.
12 struct OneGoogleBarData {
13 OneGoogleBarData();
14 OneGoogleBarData(const OneGoogleBarData&);
15 OneGoogleBarData(OneGoogleBarData&&);
16 ~OneGoogleBarData();
17
18 OneGoogleBarData& operator=(const OneGoogleBarData&);
19 OneGoogleBarData& operator=(OneGoogleBarData&&);
20
21 // The main HTML for the bar itself.
22 std::string bar_html;
23
24 // "Page hooks" that need to be inserted at certain points in the page HTML.
25 std::string in_head_script;
26 std::string in_head_style;
27 std::string after_bar_script;
28 std::string end_of_body_html;
29 std::string end_of_body_script;
30 };
31
32 #endif // CHROME_BROWSER_SEARCH_ONE_GOOGLE_BAR_ONE_GOOGLE_BAR_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/search/one_google_bar/one_google_bar_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698