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

Side by Side Diff: chrome/browser/tab_contents/background_contents.h

Issue 7537030: Make panel adjust bounds per preferred size change notification on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 int selected_item, 101 int selected_item,
102 const std::vector<WebMenuItem>& items, 102 const std::vector<WebMenuItem>& items,
103 bool right_aligned) {} 103 bool right_aligned) {}
104 virtual void StartDragging(const WebDropData& drop_data, 104 virtual void StartDragging(const WebDropData& drop_data,
105 WebKit::WebDragOperationsMask allowed_operations, 105 WebKit::WebDragOperationsMask allowed_operations,
106 const SkBitmap& image, 106 const SkBitmap& image,
107 const gfx::Point& image_offset) {} 107 const gfx::Point& image_offset) {}
108 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} 108 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {}
109 virtual void GotFocus() {} 109 virtual void GotFocus() {}
110 virtual void TakeFocus(bool reverse) {} 110 virtual void TakeFocus(bool reverse) {}
111 virtual void UpdatePreferredSize(const gfx::Size& new_size) {}
112 111
113 // NotificationObserver 112 // NotificationObserver
114 virtual void Observe(int type, 113 virtual void Observe(int type,
115 const NotificationSource& source, 114 const NotificationSource& source,
116 const NotificationDetails& details); 115 const NotificationDetails& details);
117 116
118 // Overridden from JavaScriptDialogDelegate: 117 // Overridden from JavaScriptDialogDelegate:
119 virtual void OnDialogClosed(IPC::Message* reply_msg, 118 virtual void OnDialogClosed(IPC::Message* reply_msg,
120 bool success, 119 bool success,
121 const string16& user_input) OVERRIDE; 120 const string16& user_input) OVERRIDE;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 BackgroundContents* contents; 155 BackgroundContents* contents;
157 156
158 // The name of the parent frame for these contents. 157 // The name of the parent frame for these contents.
159 const string16& frame_name; 158 const string16& frame_name;
160 159
161 // The ID of the parent application (if any). 160 // The ID of the parent application (if any).
162 const string16& application_id; 161 const string16& application_id;
163 }; 162 };
164 163
165 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 164 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/balloon_host.h ('k') | chrome/browser/tab_contents/tab_contents_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698