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

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

Issue 10965048: [BrowserTag] Send dib info with NavigateGuest message, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments from Fady + remove commented code. Created 8 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 | Annotate | Revision Log
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 <string> 9 #include <string>
10 10
(...skipping 18 matching lines...) Expand all
29 #include "webkit/glue/resource_type.h" 29 #include "webkit/glue/resource_type.h"
30 30
31 #if defined(OS_WIN) 31 #if defined(OS_WIN)
32 #include "base/win/scoped_handle.h" 32 #include "base/win/scoped_handle.h"
33 #endif 33 #endif
34 34
35 class InterstitialPageImpl; 35 class InterstitialPageImpl;
36 class SavePackage; 36 class SavePackage;
37 class SessionStorageNamespaceImpl; 37 class SessionStorageNamespaceImpl;
38 class WebContentsImpl; 38 class WebContentsImpl;
39 struct BrowserPluginHostMsg_ResizeGuest_Params;
39 struct ViewMsg_PostMessage_Params; 40 struct ViewMsg_PostMessage_Params;
40 41
41 namespace content { 42 namespace content {
42 class BrowserPluginEmbedder; 43 class BrowserPluginEmbedder;
43 class BrowserPluginGuest; 44 class BrowserPluginGuest;
44 class ColorChooser; 45 class ColorChooser;
45 class DownloadItem; 46 class DownloadItem;
46 class JavaScriptDialogCreator; 47 class JavaScriptDialogCreator;
47 class RenderViewHost; 48 class RenderViewHost;
48 class RenderViewHostDelegateView; 49 class RenderViewHostDelegateView;
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); 560 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color);
560 void OnPepperPluginHung(int plugin_child_id, 561 void OnPepperPluginHung(int plugin_child_id,
561 const FilePath& path, 562 const FilePath& path,
562 bool is_hung); 563 bool is_hung);
563 void OnWebUISend(const GURL& source_url, 564 void OnWebUISend(const GURL& source_url,
564 const std::string& name, 565 const std::string& name,
565 const base::ListValue& args); 566 const base::ListValue& args);
566 void OnRequestPpapiBrokerPermission(int request_id, 567 void OnRequestPpapiBrokerPermission(int request_id,
567 const GURL& url, 568 const GURL& url,
568 const FilePath& plugin_path); 569 const FilePath& plugin_path);
569 void OnBrowserPluginNavigateGuest(int instance_id, 570 void OnBrowserPluginNavigateGuest(
570 int64 frame_id, 571 int instance_id,
571 const std::string& src, 572 int64 frame_id,
572 const gfx::Size& size); 573 const std::string& src,
574 const BrowserPluginHostMsg_ResizeGuest_Params& resize_params);
573 575
574 // Changes the IsLoading state and notifies delegate as needed 576 // Changes the IsLoading state and notifies delegate as needed
575 // |details| is used to provide details on the load that just finished 577 // |details| is used to provide details on the load that just finished
576 // (but can be null if not applicable). Can be overridden. 578 // (but can be null if not applicable). Can be overridden.
577 void SetIsLoading(bool is_loading, 579 void SetIsLoading(bool is_loading,
578 content::LoadNotificationDetails* details); 580 content::LoadNotificationDetails* details);
579 581
580 // Called by derived classes to indicate that we're no longer waiting for a 582 // Called by derived classes to indicate that we're no longer waiting for a
581 // response. This won't actually update the throbber, but it will get picked 583 // response. This won't actually update the throbber, but it will get picked
582 // up at the next animation step if the throbber is going. 584 // up at the next animation step if the throbber is going.
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 content::NotificationRegistrar registrar_; 858 content::NotificationRegistrar registrar_;
857 859
858 // Used during IPC message dispatching so that the handlers can get a pointer 860 // Used during IPC message dispatching so that the handlers can get a pointer
859 // to the RVH through which the message was received. 861 // to the RVH through which the message was received.
860 content::RenderViewHost* message_source_; 862 content::RenderViewHost* message_source_;
861 863
862 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 864 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
863 }; 865 };
864 866
865 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 867 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698