596
596
+ EventConverterInProcess();
597
597
+ virtual ~EventConverterInProcess();
599
+ virtual void MotionNotify(float x, float y) OVERRIDE;
599
+ virtual void MotionNotify(float x, float y) override;
600
600
+ virtual void ButtonNotify(unsigned handle,
601
601
+ ui::EventType type,
602
602
+ ui::EventFlags flags,
605
605
+ virtual void AxisNotify(float x,
608
+ int yoffset) OVERRIDE;
609
+ virtual void PointerEnter(unsigned handle, float x, float y) OVERRIDE;
610
+ virtual void PointerLeave(unsigned handle, float x, float y) OVERRIDE;
608
+ int yoffset) override;
609
+ virtual void PointerEnter(unsigned handle, float x, float y) override;
610
+ virtual void PointerLeave(unsigned handle, float x, float y) override;
611
611
+ virtual void KeyNotify(ui::EventType type,
613
+ unsigned modifiers) OVERRIDE;
613
+ unsigned modifiers) override;
614
614
+ virtual void TouchNotify(ui::EventType type,
617
617
+ int32_t touch_id,
618
+ uint32_t time_stamp) OVERRIDE;
619
+ virtual void CloseWidget(unsigned handle) OVERRIDE;
618
+ uint32_t time_stamp) override;
619
+ virtual void CloseWidget(unsigned handle) override;
621
+ virtual void OutputSizeChanged(unsigned width, unsigned height) OVERRIDE;
621
+ virtual void OutputSizeChanged(unsigned width, unsigned height) override;
622
622
+ virtual void WindowResized(unsigned windowhandle,
623
623
+ unsigned width,
624
+ unsigned height) OVERRIDE;
624
+ unsigned height) override;
626
+ virtual void Commit(unsigned handle, const std::string& text) OVERRIDE;
626
+ virtual void Commit(unsigned handle, const std::string& text) override;
627
627
+ virtual void PreeditChanged(unsigned handle, const std::string& text,
628
+ const std::string& commit) OVERRIDE;
629
+ virtual void PreeditEnd() OVERRIDE;
630
+ virtual void PreeditStart() OVERRIDE;
628
+ const std::string& commit) override;
629
+ virtual void PreeditEnd() override;
630
+ virtual void PreeditStart() override;
632
632
+ virtual void SetWindowChangeObserver(
633
+ ui::WindowChangeObserver* observer) OVERRIDE;
633
+ ui::WindowChangeObserver* observer) override;
634
634
+ virtual void SetOutputChangeObserver(
635
+ ui::OutputChangeObserver* observer) OVERRIDE;
635
+ ui::OutputChangeObserver* observer) override;
638
638
+ static void NotifyMotion(EventConverterInProcess* data,
1639
1639
+ RemoteEventDispatcher();
1640
1640
+ virtual ~RemoteEventDispatcher();
1642
+ virtual void MotionNotify(float x, float y) OVERRIDE;
1642
+ virtual void MotionNotify(float x, float y) override;
1643
1643
+ virtual void ButtonNotify(unsigned handle,
1644
1644
+ ui::EventType type,
1645
1645
+ ui::EventFlags flags,
1647
+ float y) OVERRIDE;
1647
+ float y) override;
1648
1648
+ virtual void AxisNotify(float x,
1651
+ int yoffset) OVERRIDE;
1652
+ virtual void PointerEnter(unsigned handle, float x, float y) OVERRIDE;
1653
+ virtual void PointerLeave(unsigned handle, float x, float y) OVERRIDE;
1651
+ int yoffset) override;
1652
+ virtual void PointerEnter(unsigned handle, float x, float y) override;
1653
+ virtual void PointerLeave(unsigned handle, float x, float y) override;
1654
1654
+ virtual void KeyNotify(ui::EventType type,
1655
1655
+ unsigned code,
1656
+ unsigned modifiers) OVERRIDE;
1656
+ unsigned modifiers) override;
1657
1657
+ virtual void TouchNotify(ui::EventType type,
1660
1660
+ int32_t touch_id,
1661
+ uint32_t time_stamp) OVERRIDE;
1661
+ uint32_t time_stamp) override;
1663
+ virtual void OutputSizeChanged(unsigned width, unsigned height) OVERRIDE;
1663
+ virtual void OutputSizeChanged(unsigned width, unsigned height) override;
1664
1664
+ virtual void WindowResized(unsigned handle,
1665
1665
+ unsigned width,
1666
+ unsigned height) OVERRIDE;
1667
+ virtual void CloseWidget(unsigned handle) OVERRIDE;
1666
+ unsigned height) override;
1667
+ virtual void CloseWidget(unsigned handle) override;
1669
+ virtual void Commit(unsigned handle, const std::string& text) OVERRIDE;
1669
+ virtual void Commit(unsigned handle, const std::string& text) override;
1670
1670
+ virtual void PreeditChanged(unsigned handle,
1671
1671
+ const std::string& text,
1672
+ const std::string& commit) OVERRIDE;
1673
+ virtual void PreeditEnd() OVERRIDE;
1674
+ virtual void PreeditStart() OVERRIDE;
1672
+ const std::string& commit) override;
1673
+ virtual void PreeditEnd() override;
1674
+ virtual void PreeditStart() override;
1677
1677
+ static void SendMotionNotify(float x, float y);
2350
2350
+ virtual ~Display();
2352
2352
+ // gfx::OzoneDisplay
2353
+ //virtual HardwareState InitializeHardware() OVERRIDE;
2354
+ //virtual void ShutdownHardware() OVERRIDE;
2355
+ virtual intptr_t GetNativeDisplay() OVERRIDE;
2353
+ //virtual HardwareState InitializeHardware() override;
2354
+ //virtual void ShutdownHardware() override;
2355
+ virtual intptr_t GetNativeDisplay() override;
2357
+ //virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
2358
+ scoped_ptr<ui::SurfaceOzoneEGL> CreateEGLSurfaceForWidget(gfx::AcceleratedWidget w) OVERRIDE;
2359
+ virtual void LookAheadOutputGeometry() OVERRIDE;
2357
+ //virtual gfx::AcceleratedWidget GetAcceleratedWidget() override;
2358
+ scoped_ptr<ui::SurfaceOzoneEGL> CreateEGLSurfaceForWidget(gfx::AcceleratedWidget w) override;
2359
+ virtual void LookAheadOutputGeometry() override;
2361
2361
+ // ui::WindowStateChangeHandler
2362
+ virtual void SetWidgetState(unsigned widget, ui::WidgetState state, unsigned width = 0, unsigned height = 0) OVERRIDE;
2362
+ virtual void SetWidgetState(unsigned widget, ui::WidgetState state, unsigned width = 0, unsigned height = 0) override;
2363
2363
+ virtual void SetWidgetTitle(unsigned w,
2364
+ const base::string16& title) OVERRIDE;
2365
+ virtual void SetWidgetCursor(int cursor_type) OVERRIDE;
2364
+ const base::string16& title) override;
2365
+ virtual void SetWidgetCursor(int cursor_type) override;
2366
2366
+ virtual void SetWidgetAttributes(unsigned widget,
2367
2367
+ unsigned parent,
2370
+ ui::WidgetType type) OVERRIDE;
2370
+ ui::WidgetType type) override;
2372
2372
+ virtual bool LoadEGLGLES2Bindings(
2373
2373
+ ui::SurfaceFactoryOzone::AddGLLibraryCallback add_gl_library,
2374
2374
+ ui::SurfaceFactoryOzone::SetGLGetProcAddressProcCallback
2375
+ proc_address) OVERRIDE;
2375
+ proc_address) override;
2376
2376
+ virtual const int32* GetEGLSurfaceProperties(
2377
+ const int32* desired_list) OVERRIDE;
2377
+ const int32* desired_list) override;
2380
2380
+ void Terminate();
4082
4082
+ virtual ~DesktopScreenWayland();
4084
4084
+ // OutputChangeObserver overrides.
4085
+ virtual void OnOutputSizeChanged(unsigned width, unsigned height) OVERRIDE;
4085
+ virtual void OnOutputSizeChanged(unsigned width, unsigned height) override;
4088
4088
+ void SetGeometry(const gfx::Rect& geometry);
4089
4089
+ // Overridden from gfx::Screen:
4090
+ virtual bool IsDIPEnabled() OVERRIDE;
4091
+ virtual gfx::Point GetCursorScreenPoint() OVERRIDE;
4092
+ virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE;
4090
+ virtual bool IsDIPEnabled() override;
4091
+ virtual gfx::Point GetCursorScreenPoint() override;
4092
+ virtual gfx::NativeWindow GetWindowUnderCursor() override;
4093
4093
+ virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point)
4095
+ virtual int GetNumDisplays() const OVERRIDE;
4096
+ virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE;
4095
+ virtual int GetNumDisplays() const override;
4096
+ virtual std::vector<gfx::Display> GetAllDisplays() const override;
4097
4097
+ virtual gfx::Display GetDisplayNearestWindow(
4098
+ gfx::NativeView window) const OVERRIDE;
4098
+ gfx::NativeView window) const override;
4099
4099
+ virtual gfx::Display GetDisplayNearestPoint(
4100
+ const gfx::Point& point) const OVERRIDE;
4100
+ const gfx::Point& point) const override;
4101
4101
+ virtual gfx::Display GetDisplayMatching(
4102
+ const gfx::Rect& match_rect) const OVERRIDE;
4103
+ virtual gfx::Display GetPrimaryDisplay() const OVERRIDE;
4104
+ virtual void AddObserver(gfx::DisplayObserver* observer) OVERRIDE;
4105
+ virtual void RemoveObserver(gfx::DisplayObserver* observer) OVERRIDE;
4102
+ const gfx::Rect& match_rect) const override;
4103
+ virtual gfx::Display GetPrimaryDisplay() const override;
4104
+ virtual void AddObserver(gfx::DisplayObserver* observer) override;
4105
+ virtual void RemoveObserver(gfx::DisplayObserver* observer) override;
4107
4107
+ gfx::Rect rect_;
4108
4108
+ // The display objects we present to chrome.
5018
5018
+ // Overridden from DesktopWindowTreeHost:
5019
5019
+ virtual void Init(
5020
5020
+ aura::Window* content_window,
5021
+ const views::Widget::InitParams& params) OVERRIDE;
5021
+ const views::Widget::InitParams& params) override;
5022
5022
+ virtual void OnNativeWidgetCreated(
5023
+ const views::Widget::InitParams& params) OVERRIDE;
5024
+ virtual scoped_ptr<views::corewm::Tooltip> CreateTooltip() OVERRIDE;
5023
+ const views::Widget::InitParams& params) override;
5024
+ virtual scoped_ptr<views::corewm::Tooltip> CreateTooltip() override;
5025
5025
+ virtual scoped_ptr<aura::client::DragDropClient> CreateDragDropClient(
5026
+ views::DesktopNativeCursorManager* cursor_manager) OVERRIDE;
5027
+ virtual void Close() OVERRIDE;
5028
+ virtual void CloseNow() OVERRIDE;
5029
+ virtual aura::WindowTreeHost* AsWindowTreeHost() OVERRIDE;
5030
+ virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE;
5026
+ views::DesktopNativeCursorManager* cursor_manager) override;
5027
+ virtual void Close() override;
5028
+ virtual void CloseNow() override;
5029
+ virtual aura::WindowTreeHost* AsWindowTreeHost() override;
5030
+ virtual void ShowWindowWithState(ui::WindowShowState show_state) override;
5031
5031
+ virtual void ShowMaximizedWithBounds(
5032
+ const gfx::Rect& restored_bounds) OVERRIDE;
5033
+ virtual bool IsVisible() const OVERRIDE;
5034
+ virtual void SetSize(const gfx::Size& size) OVERRIDE;
5035
+ virtual void StackAtTop() OVERRIDE;
5036
+ virtual void CenterWindow(const gfx::Size& size) OVERRIDE;
5032
+ const gfx::Rect& restored_bounds) override;
5033
+ virtual bool IsVisible() const override;
5034
+ virtual void SetSize(const gfx::Size& size) override;
5035
+ virtual void StackAtTop() override;
5036
+ virtual void CenterWindow(const gfx::Size& size) override;
5037
5037
+ virtual void GetWindowPlacement(
5038
5038
+ gfx::Rect* bounds,
5039
+ ui::WindowShowState* show_state) const OVERRIDE;
5040
+ virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE;
5041
+ virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE;
5042
+ virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
5043
+ virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE;
5044
+ virtual void SetShape(gfx::NativeRegion native_region) OVERRIDE;
5045
+ virtual void Activate() OVERRIDE;
5046
+ virtual void Deactivate() OVERRIDE;
5047
+ virtual bool IsActive() const OVERRIDE;
5048
+ virtual void Maximize() OVERRIDE;
5049
+ virtual void Minimize() OVERRIDE;
5050
+ virtual void Restore() OVERRIDE;
5051
+ virtual bool IsMaximized() const OVERRIDE;
5052
+ virtual bool IsMinimized() const OVERRIDE;
5053
+ virtual bool HasCapture() const OVERRIDE;
5054
+ virtual bool IsAlwaysOnTop() const OVERRIDE;
5055
+ virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE;
5056
+ virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
5057
+ virtual bool SetWindowTitle(const base::string16& title) OVERRIDE;
5058
+ virtual void ClearNativeFocus() OVERRIDE;
5039
+ ui::WindowShowState* show_state) const override;
5040
+ virtual gfx::Rect GetWindowBoundsInScreen() const override;
5041
+ virtual gfx::Rect GetClientAreaBoundsInScreen() const override;
5042
+ virtual gfx::Rect GetRestoredBounds() const override;
5043
+ virtual gfx::Rect GetWorkAreaBoundsInScreen() const override;
5044
+ virtual void SetShape(gfx::NativeRegion native_region) override;
5045
+ virtual void Activate() override;
5046
+ virtual void Deactivate() override;
5047
+ virtual bool IsActive() const override;
5048
+ virtual void Maximize() override;
5049
+ virtual void Minimize() override;
5050
+ virtual void Restore() override;
5051
+ virtual bool IsMaximized() const override;
5052
+ virtual bool IsMinimized() const override;
5053
+ virtual bool HasCapture() const override;
5054
+ virtual bool IsAlwaysOnTop() const override;
5055
+ virtual void SetVisibleOnAllWorkspaces(bool always_visible) override;
5056
+ virtual void SetAlwaysOnTop(bool always_on_top) override;
5057
+ virtual bool SetWindowTitle(const base::string16& title) override;
5058
+ virtual void ClearNativeFocus() override;
5059
5059
+ virtual views::Widget::MoveLoopResult RunMoveLoop(
5060
5060
+ const gfx::Vector2d& drag_offset,
5061
5061
+ views::Widget::MoveLoopSource source,
5062
+ views::Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE;
5063
+ virtual void EndMoveLoop() OVERRIDE;
5064
+ //virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
5065
+ virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE;
5066
+ virtual bool ShouldUseNativeFrame() const OVERRIDE;
5067
+ virtual bool ShouldWindowContentsBeTransparent() const OVERRIDE;
5068
+ virtual void FrameTypeChanged() OVERRIDE;
5069
+ virtual void SetFullscreen(bool fullscreen) OVERRIDE;
5070
+ virtual bool IsFullscreen() const OVERRIDE;
5071
+ virtual void SetOpacity(unsigned char opacity) OVERRIDE;
5062
+ views::Widget::MoveLoopEscapeBehavior escape_behavior) override;
5063
+ virtual void EndMoveLoop() override;
5064
+ //virtual NonClientFrameView* CreateNonClientFrameView() override;
5065
+ virtual void SetVisibilityChangedAnimationsEnabled(bool value) override;
5066
+ virtual bool ShouldUseNativeFrame() const override;
5067
+ virtual bool ShouldWindowContentsBeTransparent() const override;
5068
+ virtual void FrameTypeChanged() override;
5069
+ virtual void SetFullscreen(bool fullscreen) override;
5070
+ virtual bool IsFullscreen() const override;
5071
+ virtual void SetOpacity(unsigned char opacity) override;
5072
5072
+ virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
5073
+ const gfx::ImageSkia& app_icon) OVERRIDE;
5074
+ virtual void InitModalType(ui::ModalType modal_type) OVERRIDE;
5075
+ virtual void FlashFrame(bool flash_frame) OVERRIDE;
5076
+ //virtual void OnRootViewLayout() const OVERRIDE;
5077
+ virtual void OnNativeWidgetFocus() OVERRIDE;
5078
+ virtual void OnNativeWidgetBlur() OVERRIDE;
5079
+ virtual bool IsAnimatingClosed() const OVERRIDE;
5073
+ const gfx::ImageSkia& app_icon) override;
5074
+ virtual void InitModalType(ui::ModalType modal_type) override;
5075
+ virtual void FlashFrame(bool flash_frame) override;
5076
+ //virtual void OnRootViewLayout() const override;
5077
+ virtual void OnNativeWidgetFocus() override;
5078
+ virtual void OnNativeWidgetBlur() override;
5079
+ virtual bool IsAnimatingClosed() const override;
5081
5081
+ // Overridden from aura::WindowTreeHost:
5082
+ virtual ui::EventSource* GetEventSource() OVERRIDE;
5083
+ virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
5084
+ virtual void Show() OVERRIDE;
5085
+ virtual void Hide() OVERRIDE;
5086
+ virtual gfx::Rect GetBounds() const OVERRIDE;
5087
+ virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
5088
+ virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
5089
+ virtual void SetCapture() OVERRIDE;
5090
+ virtual void ReleaseCapture() OVERRIDE;
5091
+ virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE;
5092
+ virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE;
5093
+ virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE;
5094
+ virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
5095
+ //virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
5096
+ virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE;
5082
+ virtual ui::EventSource* GetEventSource() override;
5083
+ virtual gfx::AcceleratedWidget GetAcceleratedWidget() override;
5084
+ virtual void Show() override;
5085
+ virtual void Hide() override;
5086
+ virtual gfx::Rect GetBounds() const override;
5087
+ virtual void SetBounds(const gfx::Rect& bounds) override;
5088
+ virtual gfx::Point GetLocationOnNativeScreen() const override;
5089
+ virtual void SetCapture() override;
5090
+ virtual void ReleaseCapture() override;
5091
+ virtual void SetCursorNative(gfx::NativeCursor cursor) override;
5092
+ virtual void OnCursorVisibilityChangedNative(bool show) override;
5093
+ virtual void MoveCursorToNative(const gfx::Point& location) override;
5094
+ virtual void PostNativeEvent(const base::NativeEvent& native_event) override;
5095
+ //virtual void OnDeviceScaleFactorChanged(float device_scale_factor) override;
5096
+ virtual bool IsTranslucentWindowOpacitySupported() const override;
5098
5098
+ void HandleNativeWidgetActivationChanged(bool active);
5099
5099
+ void HandleWindowResize(unsigned width, unsigned height);
5586
5586
+ const std::vector<aura::Window*>& GetAllOpenWindows();
5588
5588
+ // Overridden frm ui::EventSource
5589
+ virtual ui::EventProcessor* GetEventProcessor() OVERRIDE;
5589
+ virtual ui::EventProcessor* GetEventProcessor() override;
5591
5591
+ // ui::PlatformEventDispatcher:
5592
+ virtual bool CanDispatchEvent(const ui::PlatformEvent& event) OVERRIDE;
5593
+ virtual uint32_t DispatchEvent(const ui::PlatformEvent& event) OVERRIDE;
5592
+ virtual bool CanDispatchEvent(const ui::PlatformEvent& event) override;
5593
+ virtual uint32_t DispatchEvent(const ui::PlatformEvent& event) override;
5595
5595
+ // Window Change Observer.
5596
+ virtual void OnWindowFocused(unsigned handle) OVERRIDE;
5597
+ virtual void OnWindowEnter(unsigned handle) OVERRIDE;
5598
+ virtual void OnWindowLeave(unsigned handle) OVERRIDE;
5599
+ virtual void OnWindowClose(unsigned handle) OVERRIDE;
5596
+ virtual void OnWindowFocused(unsigned handle) override;
5597
+ virtual void OnWindowEnter(unsigned handle) override;
5598
+ virtual void OnWindowLeave(unsigned handle) override;
5599
+ virtual void OnWindowClose(unsigned handle) override;
5600
5600
+ virtual void OnWindowResized(unsigned windowhandle,
5601
5601
+ unsigned width,
5602
+ unsigned height) OVERRIDE;
5602
+ unsigned height) override;
5603
5603
+ virtual void OnPreeditChanged(unsigned handle,
5604
5604
+ const std::string& text,
5605
+ const std::string& commit) OVERRIDE;
5606
+ virtual void OnCommit(unsigned handle, const std::string& text) OVERRIDE;
5605
+ const std::string& commit) override;
5606
+ virtual void OnCommit(unsigned handle, const std::string& text) override;
5608
5608
+ // Dispatches a mouse event.
5609
5609
+ void DispatchMouseEvent(ui::MouseEvent* event);
7663
7663
+ void FlushDisplay();
7665
7665
+ // Ozone Display implementation:
7666
+ //virtual ui::SurfaceFactoryOzone::HardwareState InitializeHardware() OVERRIDE;
7667
+ //virtual void ShutdownHardware() OVERRIDE;
7668
+ virtual intptr_t GetNativeDisplay() OVERRIDE;
7666
+ //virtual ui::SurfaceFactoryOzone::HardwareState InitializeHardware() override;
7667
+ //virtual void ShutdownHardware() override;
7668
+ virtual intptr_t GetNativeDisplay() override;
7670
+ //virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
7670
+ //virtual gfx::AcceleratedWidget GetAcceleratedWidget() override;
7672
7672
+ // Ownership is passed to the caller.
7673
7673
+ virtual scoped_ptr<ui::SurfaceOzoneEGL> CreateEGLSurfaceForWidget(
7674
+ gfx::AcceleratedWidget widget) OVERRIDE;
7674
+ gfx::AcceleratedWidget widget) override;
7676
7676
+ virtual bool LoadEGLGLES2Bindings(
7677
7677
+ ui::SurfaceFactoryOzone::AddGLLibraryCallback add_gl_library,
7678
7678
+ ui::SurfaceFactoryOzone::SetGLGetProcAddressProcCallback
7679
+ proc_address) OVERRIDE;
7679
+ proc_address) override;
7680
7680
+ virtual const int32* GetEGLSurfaceProperties(
7681
+ const int32* desired_list) OVERRIDE;
7681
+ const int32* desired_list) override;
7683
7683
+ // WindowStateChangeHandler implementation:
7684
7684
+ virtual void SetWidgetState(unsigned widget,
7685
7685
+ ui::WidgetState state,
7686
7686
+ unsigned width = 0,
7687
+ unsigned height = 0) OVERRIDE;
7687
+ unsigned height = 0) override;
7688
7688
+ virtual void SetWidgetTitle(unsigned w,
7689
+ const base::string16& title) OVERRIDE;
7690
+ virtual void SetWidgetCursor(int cursor_type) OVERRIDE;
7689
+ const base::string16& title) override;
7690
+ virtual void SetWidgetCursor(int cursor_type) override;
7691
7691
+ virtual void SetWidgetAttributes(unsigned widget,
7692
7692
+ unsigned parent,
7695
+ ui::WidgetType type) OVERRIDE;
7695
+ ui::WidgetType type) override;
7698
7698
+ void InitializeDisplay();