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

Side by Side Diff: content/browser/tab_contents/tab_contents.h

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed issues Created 8 years, 10 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
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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 virtual void Activate() OVERRIDE; 294 virtual void Activate() OVERRIDE;
295 virtual void Deactivate() OVERRIDE; 295 virtual void Deactivate() OVERRIDE;
296 virtual void LostCapture() OVERRIDE; 296 virtual void LostCapture() OVERRIDE;
297 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 297 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
298 bool* is_keyboard_shortcut) OVERRIDE; 298 bool* is_keyboard_shortcut) OVERRIDE;
299 virtual void HandleKeyboardEvent( 299 virtual void HandleKeyboardEvent(
300 const NativeWebKeyboardEvent& event) OVERRIDE; 300 const NativeWebKeyboardEvent& event) OVERRIDE;
301 virtual void HandleMouseDown() OVERRIDE; 301 virtual void HandleMouseDown() OVERRIDE;
302 virtual void HandleMouseUp() OVERRIDE; 302 virtual void HandleMouseUp() OVERRIDE;
303 virtual void HandleMouseActivate() OVERRIDE; 303 virtual void HandleMouseActivate() OVERRIDE;
304 virtual void OnOpenColorChooser(int color_chooser_id,
305 const SkColor& color);
306 virtual void OnEndColorChooser(int color_chooser_id);
307 virtual void OnSetSelectedColorInColorChooser(int color_chooser_id,
308 const SkColor& color);
304 virtual void RunFileChooser( 309 virtual void RunFileChooser(
305 RenderViewHost* render_view_host, 310 RenderViewHost* render_view_host,
306 const content::FileChooserParams& params) OVERRIDE; 311 const content::FileChooserParams& params) OVERRIDE;
307 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; 312 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE;
308 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; 313 virtual bool IsFullscreenForCurrentTab() const OVERRIDE;
309 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; 314 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE;
310 virtual void WebUISend(RenderViewHost* render_view_host, 315 virtual void WebUISend(RenderViewHost* render_view_host,
311 const GURL& source_url, 316 const GURL& source_url,
312 const std::string& name, 317 const std::string& name,
313 const base::ListValue& args) OVERRIDE; 318 const base::ListValue& args) OVERRIDE;
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 // (full-page plugins for now only) permissions. 649 // (full-page plugins for now only) permissions.
645 int content_restrictions_; 650 int content_restrictions_;
646 651
647 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. 652 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS.
648 content::ViewType view_type_; 653 content::ViewType view_type_;
649 654
650 DISALLOW_COPY_AND_ASSIGN(TabContents); 655 DISALLOW_COPY_AND_ASSIGN(TabContents);
651 }; 656 };
652 657
653 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 658 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698