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

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

Issue 100303005: Ensure that reposting mouse events on Windows posts the message natively via the PostMessage API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years 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) 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_CHROME_VIEWS_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_
6 #define CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 18 matching lines...) Expand all
29 virtual void NotifyAccessibilityEvent( 29 virtual void NotifyAccessibilityEvent(
30 views::View* view, ui::AccessibilityTypes::Event event_type) OVERRIDE; 30 views::View* view, ui::AccessibilityTypes::Event event_type) OVERRIDE;
31 virtual void NotifyMenuItemFocused(const string16& menu_name, 31 virtual void NotifyMenuItemFocused(const string16& menu_name,
32 const string16& menu_item_name, 32 const string16& menu_item_name,
33 int item_index, 33 int item_index,
34 int item_count, 34 int item_count,
35 bool has_submenu) OVERRIDE; 35 bool has_submenu) OVERRIDE;
36 36
37 #if defined(OS_WIN) 37 #if defined(OS_WIN)
38 virtual HICON GetDefaultWindowIcon() const OVERRIDE; 38 virtual HICON GetDefaultWindowIcon() const OVERRIDE;
39 virtual bool IsWindowInMetro(gfx::NativeWindow window) const OVERRIDE;
39 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS) 40 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
40 virtual gfx::ImageSkia* GetDefaultWindowIcon() const OVERRIDE; 41 virtual gfx::ImageSkia* GetDefaultWindowIcon() const OVERRIDE;
41 #endif 42 #endif
42 virtual views::NonClientFrameView* CreateDefaultNonClientFrameView( 43 virtual views::NonClientFrameView* CreateDefaultNonClientFrameView(
43 views::Widget* widget) OVERRIDE; 44 views::Widget* widget) OVERRIDE;
44 virtual bool UseTransparentWindows() const OVERRIDE; 45 virtual bool UseTransparentWindows() const OVERRIDE;
45 virtual void AddRef() OVERRIDE; 46 virtual void AddRef() OVERRIDE;
46 virtual void ReleaseRef() OVERRIDE; 47 virtual void ReleaseRef() OVERRIDE;
47 virtual content::WebContents* CreateWebContents( 48 virtual content::WebContents* CreateWebContents(
48 content::BrowserContext* browser_context, 49 content::BrowserContext* browser_context,
49 content::SiteInstance* site_instance) OVERRIDE; 50 content::SiteInstance* site_instance) OVERRIDE;
50 virtual void OnBeforeWidgetInit( 51 virtual void OnBeforeWidgetInit(
51 views::Widget::InitParams* params, 52 views::Widget::InitParams* params,
52 views::internal::NativeWidgetDelegate* delegate) OVERRIDE; 53 views::internal::NativeWidgetDelegate* delegate) OVERRIDE;
53 virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() OVERRIDE; 54 virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() OVERRIDE;
54 55
55 private: 56 private:
56 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); 57 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate);
57 }; 58 };
58 59
59 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ 60 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/chrome_views_delegate.cc » ('j') | ui/views/event_utils_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698