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

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

Issue 6878089: Add and use a base::i18n::StringWithDirection for carrying titles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: license Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual WebPreferences GetWebkitPrefs(); 49 virtual WebPreferences GetWebkitPrefs();
50 virtual SiteInstance* GetSiteInstance() const; 50 virtual SiteInstance* GetSiteInstance() const;
51 virtual Profile* GetProfile() const; 51 virtual Profile* GetProfile() const;
52 virtual const GURL& GetURL() const; 52 virtual const GURL& GetURL() const;
53 virtual void Close(RenderViewHost* render_view_host); 53 virtual void Close(RenderViewHost* render_view_host);
54 virtual void RenderViewCreated(RenderViewHost* render_view_host); 54 virtual void RenderViewCreated(RenderViewHost* render_view_host);
55 virtual void RenderViewReady(RenderViewHost* render_view_host); 55 virtual void RenderViewReady(RenderViewHost* render_view_host);
56 virtual void RenderViewGone(RenderViewHost* render_view_host, 56 virtual void RenderViewGone(RenderViewHost* render_view_host,
57 base::TerminationStatus status, 57 base::TerminationStatus status,
58 int error_code); 58 int error_code);
59 virtual void UpdateTitle(RenderViewHost* render_view_host, 59 virtual void UpdateTitle(
60 int32 page_id, 60 RenderViewHost* render_view_host,
61 const string16& title, 61 int32 page_id,
62 WebKit::WebTextDirection title_direction) OVERRIDE {} 62 const base::i18n::String16WithDirection& title) OVERRIDE {}
63 virtual int GetBrowserWindowID() const; 63 virtual int GetBrowserWindowID() const;
64 virtual ViewType::Type GetRenderViewType() const; 64 virtual ViewType::Type GetRenderViewType() const;
65 virtual RenderViewHostDelegate::View* GetViewDelegate(); 65 virtual RenderViewHostDelegate::View* GetViewDelegate();
66 virtual void ProcessWebUIMessage( 66 virtual void ProcessWebUIMessage(
67 const ExtensionHostMsg_DomMessage_Params& params); 67 const ExtensionHostMsg_DomMessage_Params& params);
68 68
69 // NotificationObserver override. 69 // NotificationObserver override.
70 virtual void Observe(NotificationType type, 70 virtual void Observe(NotificationType type,
71 const NotificationSource& source, 71 const NotificationSource& source,
72 const NotificationDetails& details); 72 const NotificationDetails& details);
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // rendering a page from an extension. 158 // rendering a page from an extension.
159 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 159 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
160 160
161 // A flag to enable Web UI. 161 // A flag to enable Web UI.
162 bool enable_web_ui_; 162 bool enable_web_ui_;
163 163
164 NotificationRegistrar registrar_; 164 NotificationRegistrar registrar_;
165 }; 165 };
166 166
167 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ 167 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698