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

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

Issue 11568042: Some initial changes for manipulating the top controls positions on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added additional flag that will be needed by the cc layer. Created 8 years 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 CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_helper.h" 10 #include "base/android/jni_helper.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // If not |multiple|, |selected_item| sets the initially selected item. 203 // If not |multiple|, |selected_item| sets the initially selected item.
204 // Otherwise, item's "checked" flag selects it. 204 // Otherwise, item's "checked" flag selects it.
205 void ShowSelectPopupMenu(const std::vector<WebMenuItem>& items, 205 void ShowSelectPopupMenu(const std::vector<WebMenuItem>& items,
206 int selected_item, 206 int selected_item,
207 bool multiple); 207 bool multiple);
208 208
209 void OnTabCrashed(); 209 void OnTabCrashed();
210 void UpdateContentSize(int width, int height); 210 void UpdateContentSize(int width, int height);
211 void UpdateScrollOffsetAndPageScaleFactor(int x, int y, float scale); 211 void UpdateScrollOffsetAndPageScaleFactor(int x, int y, float scale);
212 void UpdatePageScaleLimits(float minimum_scale, float maximum_scale); 212 void UpdatePageScaleLimits(float minimum_scale, float maximum_scale);
213 void UpdateOffsetsForFullscreen(float controls_offset, float content_offset);
David Trainor- moved to gerrit 2012/12/17 18:31:32 Should this be something like UpdateVerticalOffset
Ted C 2012/12/17 18:39:48 Done.
213 void ImeUpdateAdapter(int native_ime_adapter, int text_input_type, 214 void ImeUpdateAdapter(int native_ime_adapter, int text_input_type,
214 const std::string& text, 215 const std::string& text,
215 int selection_start, int selection_end, 216 int selection_start, int selection_end,
216 int composition_start, int composition_end, 217 int composition_start, int composition_end,
217 bool show_ime_if_needed); 218 bool show_ime_if_needed);
218 void SetTitle(const string16& title); 219 void SetTitle(const string16& title);
219 220
220 bool HasFocus(); 221 bool HasFocus();
221 void ConfirmTouchEvent(InputEventAckState ack_result); 222 void ConfirmTouchEvent(InputEventAckState ack_result);
222 void HasTouchEventHandlers(bool need_touch_events); 223 void HasTouchEventHandlers(bool need_touch_events);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 ui::WindowAndroid* window_android_; 305 ui::WindowAndroid* window_android_;
305 306
306 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 307 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
307 }; 308 };
308 309
309 bool RegisterContentViewCore(JNIEnv* env); 310 bool RegisterContentViewCore(JNIEnv* env);
310 311
311 } // namespace content 312 } // namespace content
312 313
313 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 314 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698