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

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

Issue 331793005: Notify the change of brand color from renderer to Brower (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 6 years, 6 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
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 690
691 // Callback function when requesting permission to access the PPAPI broker. 691 // Callback function when requesting permission to access the PPAPI broker.
692 // |result| is true if permission was granted. 692 // |result| is true if permission was granted.
693 void OnPpapiBrokerPermissionResult(int routing_id, bool result); 693 void OnPpapiBrokerPermissionResult(int routing_id, bool result);
694 694
695 bool OnMessageReceived(RenderViewHost* render_view_host, 695 bool OnMessageReceived(RenderViewHost* render_view_host,
696 RenderFrameHost* render_frame_host, 696 RenderFrameHost* render_frame_host,
697 const IPC::Message& message); 697 const IPC::Message& message);
698 698
699 // IPC message handlers. 699 // IPC message handlers.
700 void OnBrandColorChanged(SkColor brand_color);
700 void OnDidLoadResourceFromMemoryCache(const GURL& url, 701 void OnDidLoadResourceFromMemoryCache(const GURL& url,
701 const std::string& security_info, 702 const std::string& security_info,
702 const std::string& http_request, 703 const std::string& http_request,
703 const std::string& mime_type, 704 const std::string& mime_type,
704 ResourceType::Type resource_type); 705 ResourceType::Type resource_type);
705 void OnDidDisplayInsecureContent(); 706 void OnDidDisplayInsecureContent();
706 void OnDidRunInsecureContent(const std::string& security_origin, 707 void OnDidRunInsecureContent(const std::string& security_origin,
707 const GURL& target_url); 708 const GURL& target_url);
708 void OnDocumentLoadedInFrame(); 709 void OnDocumentLoadedInFrame();
709 void OnDidFinishLoad(const GURL& url); 710 void OnDidFinishLoad(const GURL& url);
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
1137 1138
1138 scoped_ptr<ScreenOrientationDispatcherHost> 1139 scoped_ptr<ScreenOrientationDispatcherHost>
1139 screen_orientation_dispatcher_host_; 1140 screen_orientation_dispatcher_host_;
1140 1141
1141 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1142 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1142 }; 1143 };
1143 1144
1144 } // namespace content 1145 } // namespace content
1145 1146
1146 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1147 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698