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

Side by Side Diff: components/web_contents_delegate_android/web_contents_delegate_android.h

Issue 13973004: Convert string16 -> base::string16 in components/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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 COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H _ 5 #ifndef COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H _
6 #define COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H _ 6 #define COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H _
7 7
8 #include "base/android/jni_helper.h" 8 #include "base/android/jni_helper.h"
9 #include "base/android/scoped_java_ref.h" 9 #include "base/android/scoped_java_ref.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 virtual void ActivateContents(content::WebContents* contents) OVERRIDE; 67 virtual void ActivateContents(content::WebContents* contents) OVERRIDE;
68 virtual void DeactivateContents(content::WebContents* contents) OVERRIDE; 68 virtual void DeactivateContents(content::WebContents* contents) OVERRIDE;
69 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE; 69 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE;
70 virtual void LoadProgressChanged(content::WebContents* source, 70 virtual void LoadProgressChanged(content::WebContents* source,
71 double load_progress) OVERRIDE; 71 double load_progress) OVERRIDE;
72 virtual void CloseContents(content::WebContents* source) OVERRIDE; 72 virtual void CloseContents(content::WebContents* source) OVERRIDE;
73 virtual void MoveContents(content::WebContents* source, 73 virtual void MoveContents(content::WebContents* source,
74 const gfx::Rect& pos) OVERRIDE; 74 const gfx::Rect& pos) OVERRIDE;
75 virtual bool AddMessageToConsole(content::WebContents* source, 75 virtual bool AddMessageToConsole(content::WebContents* source,
76 int32 level, 76 int32 level,
77 const string16& message, 77 const base::string16& message,
78 int32 line_no, 78 int32 line_no,
79 const string16& source_id) OVERRIDE; 79 const base::string16& source_id) OVERRIDE;
80 virtual void UpdateTargetURL(content::WebContents* source, 80 virtual void UpdateTargetURL(content::WebContents* source,
81 int32 page_id, 81 int32 page_id,
82 const GURL& url) OVERRIDE; 82 const GURL& url) OVERRIDE;
83 virtual void HandleKeyboardEvent( 83 virtual void HandleKeyboardEvent(
84 content::WebContents* source, 84 content::WebContents* source,
85 const content::NativeWebKeyboardEvent& event) OVERRIDE; 85 const content::NativeWebKeyboardEvent& event) OVERRIDE;
86 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; 86 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE;
87 87
88 virtual void ShowRepostFormWarningDialog( 88 virtual void ShowRepostFormWarningDialog(
89 content::WebContents* source) OVERRIDE; 89 content::WebContents* source) OVERRIDE;
(...skipping 11 matching lines...) Expand all
101 // strong reference to that object as long as they want to receive callbacks 101 // strong reference to that object as long as they want to receive callbacks
102 // on it. Using a weak ref here allows it to be correctly GCed. 102 // on it. Using a weak ref here allows it to be correctly GCed.
103 JavaObjectWeakGlobalRef weak_java_delegate_; 103 JavaObjectWeakGlobalRef weak_java_delegate_;
104 }; 104 };
105 105
106 bool RegisterWebContentsDelegateAndroid(JNIEnv* env); 106 bool RegisterWebContentsDelegateAndroid(JNIEnv* env);
107 107
108 } // namespace components 108 } // namespace components
109 109
110 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI D_H_ 110 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI D_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698