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

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: Added implementation for content shell Created 5 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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 void LoadStateChanged(const GURL& url, 455 void LoadStateChanged(const GURL& url,
456 const net::LoadStateWithParam& load_state, 456 const net::LoadStateWithParam& load_state,
457 uint64 upload_position, 457 uint64 upload_position,
458 uint64 upload_size) override; 458 uint64 upload_size) override;
459 void Activate() override; 459 void Activate() override;
460 void Deactivate() override; 460 void Deactivate() override;
461 void LostCapture() override; 461 void LostCapture() override;
462 void RunFileChooser(RenderViewHost* render_view_host, 462 void RunFileChooser(RenderViewHost* render_view_host,
463 const FileChooserParams& params) override; 463 const FileChooserParams& params) override;
464 bool IsFullscreenForCurrentTab() const override; 464 bool IsFullscreenForCurrentTab() const override;
465 blink::WebDisplayMode GetDisplayMode() const override;
465 void UpdatePreferredSize(const gfx::Size& pref_size) override; 466 void UpdatePreferredSize(const gfx::Size& pref_size) override;
466 void ResizeDueToAutoResize(const gfx::Size& new_size) override; 467 void ResizeDueToAutoResize(const gfx::Size& new_size) override;
467 void RequestToLockMouse(bool user_gesture, 468 void RequestToLockMouse(bool user_gesture,
468 bool last_unlocked_by_target) override; 469 bool last_unlocked_by_target) override;
469 void LostMouseLock() override; 470 void LostMouseLock() override;
470 void CreateNewWindow( 471 void CreateNewWindow(
471 int render_process_id, 472 int render_process_id,
472 int route_id, 473 int route_id,
473 int main_frame_route_id, 474 int main_frame_route_id,
474 const ViewHostMsg_CreateWindow_Params& params, 475 const ViewHostMsg_CreateWindow_Params& params,
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 // Adds/removes a callback called on creation of each new WebContents. 1278 // Adds/removes a callback called on creation of each new WebContents.
1278 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1279 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1279 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1280 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1280 1281
1281 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1282 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1282 }; 1283 };
1283 1284
1284 } // namespace content 1285 } // namespace content
1285 1286
1286 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1287 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698