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

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: Review comments 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
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_y,
214 float content_offset_y);
213 void ImeUpdateAdapter(int native_ime_adapter, int text_input_type, 215 void ImeUpdateAdapter(int native_ime_adapter, int text_input_type,
214 const std::string& text, 216 const std::string& text,
215 int selection_start, int selection_end, 217 int selection_start, int selection_end,
216 int composition_start, int composition_end, 218 int composition_start, int composition_end,
217 bool show_ime_if_needed); 219 bool show_ime_if_needed);
218 void SetTitle(const string16& title); 220 void SetTitle(const string16& title);
219 221
220 bool HasFocus(); 222 bool HasFocus();
221 void ConfirmTouchEvent(InputEventAckState ack_result); 223 void ConfirmTouchEvent(InputEventAckState ack_result);
222 void HasTouchEventHandlers(bool need_touch_events); 224 void HasTouchEventHandlers(bool need_touch_events);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 ui::WindowAndroid* window_android_; 306 ui::WindowAndroid* window_android_;
305 307
306 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 308 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
307 }; 309 };
308 310
309 bool RegisterContentViewCore(JNIEnv* env); 311 bool RegisterContentViewCore(JNIEnv* env);
310 312
311 } // namespace content 313 } // namespace content
312 314
313 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 315 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698