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

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

Issue 1303773002: Give the main frame a RenderWidget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix all the tests. Probably. Created 5 years, 2 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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 const FileChooserParams& params) override; 483 const FileChooserParams& params) override;
484 bool IsFullscreenForCurrentTab() const override; 484 bool IsFullscreenForCurrentTab() const override;
485 blink::WebDisplayMode GetDisplayMode() const override; 485 blink::WebDisplayMode GetDisplayMode() const override;
486 void UpdatePreferredSize(const gfx::Size& pref_size) override; 486 void UpdatePreferredSize(const gfx::Size& pref_size) override;
487 void ResizeDueToAutoResize(const gfx::Size& new_size) override; 487 void ResizeDueToAutoResize(const gfx::Size& new_size) override;
488 void RequestToLockMouse(bool user_gesture, 488 void RequestToLockMouse(bool user_gesture,
489 bool last_unlocked_by_target) override; 489 bool last_unlocked_by_target) override;
490 void LostMouseLock() override; 490 void LostMouseLock() override;
491 void CreateNewWindow( 491 void CreateNewWindow(
492 SiteInstance* source_site_instance, 492 SiteInstance* source_site_instance,
493 int route_id, 493 int32 route_id,
494 int main_frame_route_id, 494 int32 main_frame_route_id,
495 int32 main_frame_widget_route_id,
495 const ViewHostMsg_CreateWindow_Params& params, 496 const ViewHostMsg_CreateWindow_Params& params,
496 SessionStorageNamespace* session_storage_namespace) override; 497 SessionStorageNamespace* session_storage_namespace) override;
497 void CreateNewWidget(int32 render_process_id, 498 void CreateNewWidget(int32 render_process_id,
498 int32 route_id, 499 int32 route_id,
499 blink::WebPopupType popup_type) override; 500 blink::WebPopupType popup_type) override;
500 void CreateNewFullscreenWidget(int32 render_process_id, 501 void CreateNewFullscreenWidget(int32 render_process_id,
501 int32 route_id) override; 502 int32 route_id) override;
502 void ShowCreatedWindow(int route_id, 503 void ShowCreatedWindow(int route_id,
503 WindowOpenDisposition disposition, 504 WindowOpenDisposition disposition,
504 const gfx::Rect& initial_rect, 505 const gfx::Rect& initial_rect,
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 // Adds/removes a callback called on creation of each new WebContents. 1329 // Adds/removes a callback called on creation of each new WebContents.
1329 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1330 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1330 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1331 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1331 1332
1332 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1333 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1333 }; 1334 };
1334 1335
1335 } // namespace content 1336 } // namespace content
1336 1337
1337 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1338 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698