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

Side by Side Diff: chrome/browser/notifications/balloon_host.h

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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
« no previous file with comments | « chrome/browser/memory_purger.cc ('k') | chrome/browser/notifications/balloon_host.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 CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void HandleMouseDown() OVERRIDE; 61 virtual void HandleMouseDown() OVERRIDE;
62 virtual void UpdatePreferredSize(content::WebContents* source, 62 virtual void UpdatePreferredSize(content::WebContents* source,
63 const gfx::Size& pref_size) OVERRIDE; 63 const gfx::Size& pref_size) OVERRIDE;
64 virtual void AddNewContents(content::WebContents* source, 64 virtual void AddNewContents(content::WebContents* source,
65 content::WebContents* new_contents, 65 content::WebContents* new_contents,
66 WindowOpenDisposition disposition, 66 WindowOpenDisposition disposition,
67 const gfx::Rect& initial_pos, 67 const gfx::Rect& initial_pos,
68 bool user_gesture) OVERRIDE; 68 bool user_gesture) OVERRIDE;
69 69
70 // content::WebContentsObserver implementation: 70 // content::WebContentsObserver implementation:
71 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 71 virtual void RenderViewCreated(
72 content::RenderViewHost* render_view_host) OVERRIDE;
72 virtual void RenderViewReady() OVERRIDE; 73 virtual void RenderViewReady() OVERRIDE;
73 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 74 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
74 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 75 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
75 76
76 // Message handlers 77 // Message handlers
77 void OnRequest(const ExtensionHostMsg_Request_Params& params); 78 void OnRequest(const ExtensionHostMsg_Request_Params& params);
78 79
79 // Called to send an event that the balloon has been disconnected from 80 // Called to send an event that the balloon has been disconnected from
80 // a renderer (if should_notify_on_disconnect_ is true). 81 // a renderer (if should_notify_on_disconnect_ is true).
81 void NotifyDisconnect(); 82 void NotifyDisconnect();
(...skipping 12 matching lines...) Expand all
94 // Site instance for the balloon/profile, to be used for opening new links. 95 // Site instance for the balloon/profile, to be used for opening new links.
95 scoped_refptr<content::SiteInstance> site_instance_; 96 scoped_refptr<content::SiteInstance> site_instance_;
96 97
97 // A flag to enable Web UI. 98 // A flag to enable Web UI.
98 bool enable_web_ui_; 99 bool enable_web_ui_;
99 100
100 ExtensionFunctionDispatcher extension_function_dispatcher_; 101 ExtensionFunctionDispatcher extension_function_dispatcher_;
101 }; 102 };
102 103
103 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ 104 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/memory_purger.cc ('k') | chrome/browser/notifications/balloon_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698