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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 14139013: Hide location bar on Javascript-initiated scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge after sync. 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
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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 virtual void HandleMouseDown() OVERRIDE; 385 virtual void HandleMouseDown() OVERRIDE;
386 virtual void HandleMouseUp() OVERRIDE; 386 virtual void HandleMouseUp() OVERRIDE;
387 virtual void HandlePointerActivate() OVERRIDE; 387 virtual void HandlePointerActivate() OVERRIDE;
388 virtual void HandleGestureBegin() OVERRIDE; 388 virtual void HandleGestureBegin() OVERRIDE;
389 virtual void HandleGestureEnd() OVERRIDE; 389 virtual void HandleGestureEnd() OVERRIDE;
390 virtual void RunFileChooser( 390 virtual void RunFileChooser(
391 RenderViewHost* render_view_host, 391 RenderViewHost* render_view_host,
392 const FileChooserParams& params) OVERRIDE; 392 const FileChooserParams& params) OVERRIDE;
393 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; 393 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE;
394 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; 394 virtual bool IsFullscreenForCurrentTab() const OVERRIDE;
395 virtual void DidProgrammaticallyScroll(const gfx::Point& scroll_point)
396 OVERRIDE;
395 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; 397 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE;
396 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE; 398 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE;
397 virtual void RequestToLockMouse(bool user_gesture, 399 virtual void RequestToLockMouse(bool user_gesture,
398 bool last_unlocked_by_target) OVERRIDE; 400 bool last_unlocked_by_target) OVERRIDE;
399 virtual void LostMouseLock() OVERRIDE; 401 virtual void LostMouseLock() OVERRIDE;
400 virtual void CreateNewWindow( 402 virtual void CreateNewWindow(
401 int route_id, 403 int route_id,
402 const ViewHostMsg_CreateWindow_Params& params, 404 const ViewHostMsg_CreateWindow_Params& params,
403 SessionStorageNamespace* session_storage_namespace) OVERRIDE; 405 SessionStorageNamespace* session_storage_namespace) OVERRIDE;
404 virtual void CreateNewWidget(int route_id, 406 virtual void CreateNewWidget(int route_id,
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 // Maps the ids of pending image downloads to their callbacks 876 // Maps the ids of pending image downloads to their callbacks
875 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; 877 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap;
876 ImageDownloadMap image_download_map_; 878 ImageDownloadMap image_download_map_;
877 879
878 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 880 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
879 }; 881 };
880 882
881 } // namespace content 883 } // namespace content
882 884
883 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 885 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698