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

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

Issue 964403003: Make it possible to set the display mode from Chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 void Deactivate() override; 448 void Deactivate() override;
449 void LostCapture() override; 449 void LostCapture() override;
450 void HandleMouseDown() override; 450 void HandleMouseDown() override;
451 void HandleMouseUp() override; 451 void HandleMouseUp() override;
452 void HandlePointerActivate() override; 452 void HandlePointerActivate() override;
453 void HandleGestureBegin() override; 453 void HandleGestureBegin() override;
454 void HandleGestureEnd() override; 454 void HandleGestureEnd() override;
455 void RunFileChooser(RenderViewHost* render_view_host, 455 void RunFileChooser(RenderViewHost* render_view_host,
456 const FileChooserParams& params) override; 456 const FileChooserParams& params) override;
457 bool IsFullscreenForCurrentTab() const override; 457 bool IsFullscreenForCurrentTab() const override;
458 blink::WebDisplayMode GetDisplayMode() const override;
458 void UpdatePreferredSize(const gfx::Size& pref_size) override; 459 void UpdatePreferredSize(const gfx::Size& pref_size) override;
459 void ResizeDueToAutoResize(const gfx::Size& new_size) override; 460 void ResizeDueToAutoResize(const gfx::Size& new_size) override;
460 void RequestToLockMouse(bool user_gesture, 461 void RequestToLockMouse(bool user_gesture,
461 bool last_unlocked_by_target) override; 462 bool last_unlocked_by_target) override;
462 void LostMouseLock() override; 463 void LostMouseLock() override;
463 void CreateNewWindow( 464 void CreateNewWindow(
464 int render_process_id, 465 int render_process_id,
465 int route_id, 466 int route_id,
466 int main_frame_route_id, 467 int main_frame_route_id,
467 const ViewHostMsg_CreateWindow_Params& params, 468 const ViewHostMsg_CreateWindow_Params& params,
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
1267 // Adds/removes a callback called on creation of each new WebContents. 1268 // Adds/removes a callback called on creation of each new WebContents.
1268 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1269 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1269 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1270 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1270 1271
1271 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1272 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1272 }; 1273 };
1273 1274
1274 } // namespace content 1275 } // namespace content
1275 1276
1276 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1277 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698