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

Side by Side Diff: chrome/browser/ui/views/external_tab_container_win.h

Issue 10892014: Make HWNDMessageHandler subclass WindowImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/external_tab_container_win.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_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; 220 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE;
221 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; 221 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE;
222 222
223 // Overridden from BlockedContentTabHelperDelegate: 223 // Overridden from BlockedContentTabHelperDelegate:
224 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE; 224 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE;
225 225
226 protected: 226 protected:
227 virtual ~ExternalTabContainerWin(); 227 virtual ~ExternalTabContainerWin();
228 228
229 // Overridden from views::NativeWidgetWin: 229 // Overridden from views::NativeWidgetWin:
230 virtual LRESULT OnCreate(LPCREATESTRUCT create_struct); 230 virtual bool PreHandleMSG(UINT message,
231 virtual void OnDestroy(); 231 WPARAM w_param,
232 LPARAM l_param,
233 LRESULT* result) OVERRIDE;
234 virtual void PostHandleMSG(UINT message,
235 WPARAM w_param,
236 LPARAM l_param) OVERRIDE;
232 virtual void OnFinalMessage(HWND window); 237 virtual void OnFinalMessage(HWND window);
233 238
234 bool InitNavigationInfo(NavigationInfo* nav_info, 239 bool InitNavigationInfo(NavigationInfo* nav_info,
235 content::NavigationType nav_type, 240 content::NavigationType nav_type,
236 int relative_offset); 241 int relative_offset);
237 void Navigate(const GURL& url, const GURL& referrer); 242 void Navigate(const GURL& url, const GURL& referrer);
238 243
239 // Helper resource automation registration method, allowing registration of 244 // Helper resource automation registration method, allowing registration of
240 // pending RenderViewHosts. 245 // pending RenderViewHosts.
241 void RegisterRenderViewHostForAutomation( 246 void RegisterRenderViewHostForAutomation(
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 return false; 401 return false;
397 } 402 }
398 403
399 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, 404 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed,
400 bool* proceed_to_fire_unload) { 405 bool* proceed_to_fire_unload) {
401 NOTREACHED(); 406 NOTREACHED();
402 } 407 }
403 }; 408 };
404 409
405 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 410 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698