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

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: Allowed include of "third_party/WebKit/public/platform/WebDisplayMode.h" 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 void LoadStateChanged(const GURL& url, 459 void LoadStateChanged(const GURL& url,
460 const net::LoadStateWithParam& load_state, 460 const net::LoadStateWithParam& load_state,
461 uint64 upload_position, 461 uint64 upload_position,
462 uint64 upload_size) override; 462 uint64 upload_size) override;
463 void Activate() override; 463 void Activate() override;
464 void Deactivate() override; 464 void Deactivate() override;
465 void LostCapture() override; 465 void LostCapture() override;
466 void RunFileChooser(RenderViewHost* render_view_host, 466 void RunFileChooser(RenderViewHost* render_view_host,
467 const FileChooserParams& params) override; 467 const FileChooserParams& params) override;
468 bool IsFullscreenForCurrentTab() const override; 468 bool IsFullscreenForCurrentTab() const override;
469 blink::WebDisplayMode GetDisplayMode() const override;
469 void UpdatePreferredSize(const gfx::Size& pref_size) override; 470 void UpdatePreferredSize(const gfx::Size& pref_size) override;
470 void ResizeDueToAutoResize(const gfx::Size& new_size) override; 471 void ResizeDueToAutoResize(const gfx::Size& new_size) override;
471 void RequestToLockMouse(bool user_gesture, 472 void RequestToLockMouse(bool user_gesture,
472 bool last_unlocked_by_target) override; 473 bool last_unlocked_by_target) override;
473 void LostMouseLock() override; 474 void LostMouseLock() override;
474 void CreateNewWindow( 475 void CreateNewWindow(
475 int render_process_id, 476 int render_process_id,
476 int route_id, 477 int route_id,
477 int main_frame_route_id, 478 int main_frame_route_id,
478 const ViewHostMsg_CreateWindow_Params& params, 479 const ViewHostMsg_CreateWindow_Params& params,
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 // Adds/removes a callback called on creation of each new WebContents. 1282 // Adds/removes a callback called on creation of each new WebContents.
1282 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1283 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1283 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1284 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1284 1285
1285 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1286 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1286 }; 1287 };
1287 1288
1288 } // namespace content 1289 } // namespace content
1289 1290
1290 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1291 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698