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

Side by Side Diff: content/browser/android/interstitial_page_delegate_android.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CONTENT_BROWSER_ANDROID_INTERSTITIAL_PAGE_DELEGATE_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_INTERSTITIAL_PAGE_DELEGATE_ANDROID_H_
6 #define CONTENT_BROWSER_ANDROID_INTERSTITIAL_PAGE_DELEGATE_ANDROID_H_ 6 #define CONTENT_BROWSER_ANDROID_INTERSTITIAL_PAGE_DELEGATE_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <string> 9 #include <string>
10 10
11 #include "base/android/jni_weak_ref.h" 11 #include "base/android/jni_weak_ref.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 #include "content/public/browser/interstitial_page_delegate.h" 15 #include "content/public/browser/interstitial_page_delegate.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 class InterstitialPage; 19 class InterstitialPage;
20 class WebContents;
21 20
22 // Native counterpart that allows interstitial pages to be constructed and 21 // Native counterpart that allows interstitial pages to be constructed and
23 // managed from Java. 22 // managed from Java.
24 class InterstitialPageDelegateAndroid : public InterstitialPageDelegate { 23 class InterstitialPageDelegateAndroid : public InterstitialPageDelegate {
25 public: 24 public:
26 InterstitialPageDelegateAndroid(JNIEnv* env, 25 InterstitialPageDelegateAndroid(JNIEnv* env,
27 jobject obj, 26 jobject obj,
28 const std::string& html_content); 27 const std::string& html_content);
29 ~InterstitialPageDelegateAndroid() override; 28 ~InterstitialPageDelegateAndroid() override;
30 29
(...skipping 17 matching lines...) Expand all
48 47
49 std::string html_content_; 48 std::string html_content_;
50 InterstitialPage* page_; // Owns this. 49 InterstitialPage* page_; // Owns this.
51 50
52 DISALLOW_COPY_AND_ASSIGN(InterstitialPageDelegateAndroid); 51 DISALLOW_COPY_AND_ASSIGN(InterstitialPageDelegateAndroid);
53 }; 52 };
54 53
55 } // namespace content 54 } // namespace content
56 55
57 #endif // CONTENT_BROWSER_ANDROID_INTERSTITIAL_PAGE_DELEGATE_ANDROID_H_ 56 #endif // CONTENT_BROWSER_ANDROID_INTERSTITIAL_PAGE_DELEGATE_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/android/date_time_chooser_android.h ('k') | content/browser/android/synchronous_compositor_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698