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

Side by Side Diff: chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.h

Issue 2475213002: Update the Google Search geolocation disclosure to make it more obvious. (Closed)
Patch Set: Feedback Created 4 years, 1 month 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
(Empty)
1 // Copyright 2016 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_UI_ANDROID_INFOBARS_SEARCH_GEOLOCATION_DISCLOSURE_INFOBAR _H_
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_SEARCH_GEOLOCATION_DISCLOSURE_INFOBAR _H_
7
8 #include "base/android/scoped_java_ref.h"
9 #include "base/macros.h"
10 #include "chrome/browser/ui/android/infobars/infobar_android.h"
11
12 class SearchGeolocationDisclosureInfoBarDelegate;
13
14 class SearchGeolocationDisclosureInfoBar : public InfoBarAndroid {
15 public:
16 explicit SearchGeolocationDisclosureInfoBar(
17 std::unique_ptr<SearchGeolocationDisclosureInfoBarDelegate> delegate);
18 ~SearchGeolocationDisclosureInfoBar() override;
19
20 private:
21 // InfoBarAndroid:
22 base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar(
23 JNIEnv* env) override;
24 void ProcessButton(int action) override;
25
26 SearchGeolocationDisclosureInfoBarDelegate* GetDelegate();
27
28 DISALLOW_COPY_AND_ASSIGN(SearchGeolocationDisclosureInfoBar);
29 };
30
31 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_SEARCH_GEOLOCATION_DISCLOSURE_INFO BAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698