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

Side by Side Diff: chrome/browser/views/frame/opaque_frame.h

Issue 28126: Hide the autocomplete popup when the browser window is moved (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/views/frame/browser_view.cc ('k') | chrome/browser/views/frame/opaque_frame.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_VIEWS_FRAME_OPAQUE_FRAME_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_FRAME_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_OPAQUE_FRAME_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_OPAQUE_FRAME_H_
7 7
8 #include "chrome/browser/views/frame/browser_frame.h" 8 #include "chrome/browser/views/frame/browser_frame.h"
9 #include "chrome/views/custom_frame_window.h" 9 #include "chrome/views/custom_frame_window.h"
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual const views::Window* GetWindow() const; 42 virtual const views::Window* GetWindow() const;
43 43
44 // Overridden from views::CustomFrameWindow: 44 // Overridden from views::CustomFrameWindow:
45 virtual void UpdateWindowIcon(); 45 virtual void UpdateWindowIcon();
46 virtual int GetShowState() const; 46 virtual int GetShowState() const;
47 virtual bool IsAppWindow() const { return true; } 47 virtual bool IsAppWindow() const { return true; }
48 48
49 // Overridden from views::WidgetWin: 49 // Overridden from views::WidgetWin:
50 virtual bool AcceleratorPressed(views::Accelerator* accelerator); 50 virtual bool AcceleratorPressed(views::Accelerator* accelerator);
51 virtual bool GetAccelerator(int cmd_id, views::Accelerator* accelerator); 51 virtual bool GetAccelerator(int cmd_id, views::Accelerator* accelerator);
52 virtual void OnEnterSizeMove();
52 virtual void OnEndSession(BOOL ending, UINT logoff); 53 virtual void OnEndSession(BOOL ending, UINT logoff);
53 virtual void OnInitMenuPopup(HMENU menu, UINT position, BOOL is_system_menu); 54 virtual void OnInitMenuPopup(HMENU menu, UINT position, BOOL is_system_menu);
54 virtual LRESULT OnMouseActivate(HWND window, 55 virtual LRESULT OnMouseActivate(HWND window,
55 UINT hittest_code, 56 UINT hittest_code,
56 UINT message); 57 UINT message);
57 virtual void OnMove(const CPoint& point); 58 virtual void OnMove(const CPoint& point);
58 virtual void OnMoving(UINT param, const RECT* new_bounds); 59 virtual void OnMoving(UINT param, const RECT* new_bounds);
59 virtual LRESULT OnNCActivate(BOOL active); 60 virtual LRESULT OnNCActivate(BOOL active);
60 virtual void OnSysCommand(UINT notification_code, CPoint click); 61 virtual void OnSysCommand(UINT notification_code, CPoint click);
61 62
62 private: 63 private:
63 // Return a pointer to the concrete type of our non-client view. 64 // Return a pointer to the concrete type of our non-client view.
64 OpaqueNonClientView* GetOpaqueNonClientView() const; 65 OpaqueNonClientView* GetOpaqueNonClientView() const;
65 66
66 // The BrowserView is our ClientView. This is a pointer to it. 67 // The BrowserView is our ClientView. This is a pointer to it.
67 BrowserView* browser_view_; 68 BrowserView* browser_view_;
68 69
69 DISALLOW_EVIL_CONSTRUCTORS(OpaqueFrame); 70 DISALLOW_EVIL_CONSTRUCTORS(OpaqueFrame);
70 }; 71 };
71 72
72 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_FRAME_H_ 73 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_FRAME_H_
73 74
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/frame/opaque_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698